mesa/src
Eric Anholt e56095dc2e i965: Implement color clears using a simple shader in blorp.
The upside is less CPU overhead in fiddling with GL error handling, the
ability to use the constant color write message in most cases, and no GLSL
clear shaders appearing in MESA_GLSL=dump output.  The downside is more
batch flushing and a total recompute of GL state at the end of blorp.
However, if we're ever going to use the fast color clear feature of CMS
surfaces, we'll need this anyway since it requires very special state
setup.

This increases the fail rate of some the GLES3conform ARB_sync tests,
because of the initial flush at the start of blorp.  The tests already
intermittently failed (because it's just a bad testing procedure), and we
can return it to its previous fail rate by fixing the initial flush.

Improves GLB2.7 performance 0.37% +/- 0.11% (n=71/70, outlier removed).

v2: Rename the key member, use the core helper for sRGB, and use
    BRW_MASK_* enums, fix comment and indentation (review by Paul).
v3: Rewrite a comment, drop a silly temporary variable (review by Ken)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-04-30 11:59:23 -07:00
..
egl egl/dri2: Fix min/max swap interval of configs 2013-04-24 08:05:13 +02:00
gallium r600g/sb: remove unused code 2013-04-30 21:50:48 +04:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Teach basic block analysis about break/continue/discard. 2013-04-24 09:57:37 -07:00
glx mesa: Restore 78-column wrapping of license text in C-style comments. 2013-04-23 22:07:09 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi Mapi: Use mmap on Haiku for executable memory vs malloc 2013-04-29 23:22:35 -05:00
mesa i965: Implement color clears using a simple shader in blorp. 2013-04-30 11:59:23 -07:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00