mesa/src
Kristian Høgsberg 05da4a7a5e i965: Only update renderbuffers on initial intelMakeCurrent
We call intel_prepare_render() in intelMakeCurrent() to make sure we have
renderbuffers before calling _mesa_make_current().  The only reason we
do this is so that we can have valid defaults for width and height.
If we already have buffers for the drawable we're making current, we
don't need this step.

In itself, this is a small optimization, but it also avoids a round trip
that could block on the display server in a unexpected place.

https://bugs.freedesktop.org/show_bug.cgi?id=72540
https://bugs.freedesktop.org/show_bug.cgi?id=72612

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-01-19 20:48:19 -08:00
..
egl egl_dri2: use loader util lib 2014-01-18 18:47:49 +00:00
gallium st/vdpau: check surface params before creating surfaces 2014-01-19 20:02:10 -05:00
gbm gbm: use the loader util lib 2014-01-18 18:47:48 +00:00
getopt
glsl glsl: Remove exec_list iterators now that nothing uses them. 2014-01-13 11:49:47 -08:00
glx glx: use the loader util lib 2014-01-18 18:47:48 +00:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: ifdef libdrm specific code and include 2014-01-19 15:17:00 +00:00
mapi glapi: Update dispatch XML files for ARB_shader_image_load_store. 2014-01-15 16:42:08 +01:00
mesa i965: Only update renderbuffers on initial intelMakeCurrent 2014-01-19 20:48:19 -08:00
Makefile.am loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00