diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-05-14 15:02:52 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-08-06 14:27:42 +0100 |
commit | a945890de6f379d44ee376fcc3c4bb24d39eec8e (patch) | |
tree | fb5ab432ba86a34718fe87b658c69e10f3273862 /cogl/cogl-context.c | |
parent | b8e380edc30cb2f8fcc0cde36ff29585a499b1fe (diff) | |
download | cogl-a945890de6f379d44ee376fcc3c4bb24d39eec8e.tar.gz |
Workaround drisw bug where clipped redraws don't work
This detects when we are running on any of Mesa's software rasterizer
backends and disables use of glBlitFramebuffer and glXCopySubBuffer.
Both of these currently result in full-screen copies so there's little
point in using these to optimize how much of the screen we present.
To help ensure we re-evaluate this workaround periodically we have added
a comment marker of "ONGOING BUG" above the workaround and added a note
to our RELEASING document that says we should grep for this marker and
write a NEWS section about ongoing bug workarounds.
https://bugzilla.gnome.org/show_bug.cgi?id=674208
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 11f2f6ebb42398978ec8dd92b3c332ae8140a728)
Diffstat (limited to 'cogl/cogl-context.c')
-rw-r--r-- | cogl/cogl-context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c index bdfd8a5d..0d2a8f6d 100644 --- a/cogl/cogl-context.c +++ b/cogl/cogl-context.c @@ -244,8 +244,6 @@ cogl_context_new (CoglDisplay *display, return NULL; } - _cogl_gpu_info_init (context, &context->gpu); - context->attribute_name_states_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); context->attribute_name_index_map = NULL; |