GNOME Bugzilla – Bug 712563
Fixes for cogl journal usage when picking
Last modified: 2013-11-19 16:21:34 UTC
Together with the cogl fixes in bug #712562 , this patch set completely eliminates any glReadPixels calls in gnome-shell.
Created attachment 260077 [details] [review] stage: Fix indentation in pick methods
Created attachment 260078 [details] [review] stage: Remove the pick buffer caching Since the journal is flushed on context switches, trying to use a cached buffer means that we will use glReadPixels when picking, which isn't what we want. Instead, always use a clipped draw, and remove the logic for caching the pick buffer.
Attachment 260077 [details] pushed as 9082ccc - stage: Fix indentation in pick methods Attachment 260078 [details] pushed as a427c12 - stage: Remove the pick buffer caching