mesa/src
Brian Paul 4b73cdb864 draw: fix/improve dirty state validation
This patch does two things:

1. Constant buffer state changes were broken (but happened to work by
   dumb luck).  The problem is we weren't calling draw_do_flush() in
   draw_set_mapped_constant_buffer() when we changed that state.  All the
   other draw_set_foo() functions were calling draw_do_flush() already.

2. Use a simpler state validation step when we're changing light-weight
   parameter state such as constant buffers, viewport dims or clip planes.
   There's no need to revalidate the whole pipeline when changing state
   like that.  The new validation method is called bind_parameters()
   and is called instead of the prepare() method.  A new
   DRAW_FLUSH_PARAMETER_CHANGE flag is used to signal these light-weight
   state changes.  This results in a modest but measurable increase in
   FPS for many Mesa demos.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2012-12-08 06:58:10 -07:00
..
egl egl/wayland: Dispatch the event queue before get_buffers 2012-11-30 17:05:50 -05:00
gallium draw: fix/improve dirty state validation 2012-12-08 06:58:10 -07:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl mesa: Use the new hash table for the variable refcount visitor. 2012-12-07 14:46:18 -08:00
glx glx/dri2: set the __DRI2_FLUSH_DRAWABLE flag where it should be set 2012-12-07 14:19:28 +01:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi build: Fix GLES linkage without libglapi 2012-12-07 09:21:44 +01:00
mesa mesa/st: add ARB_uniform_buffer_object support (v2) 2012-12-08 13:32:38 +10:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00