~linaro-graphics-wg/compiz-core/oneiric-gles2-11.12

Viewing all changes in revision 2893.

  • Committer: Ricardo Salveti de Araujo
  • Author(s): Travis Watkins
  • Date: 2011-12-16 03:23:54 UTC
  • Revision ID: ricardo.salveti@linaro.org-20111216032354-jw9skzxz6dsch2a5
fix initial paint and fullscreen->region paint switch

When we go from doing fullscreen paints to doing region paints there is no
data in the framebuffer for EGL_post_sub_buffer to draw on so we get a black
screen. This change makes us do a fullscreen paint but go through the region
paint code path so further paints will have something to draw on. On desktop
GL this change makes the first frame with the unityshell plugin draw correctly.
Thanks for Frederic Plourde for almost all of this change.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: