Re: [PATCH weston 08/11] SHM: Don't flush damage when there is none

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:42PM +1100, Daniel Stone wrote: > Every single frame, we were calling the flush_damage handler in the > renderer. For GLES2 with subimage, this wasn't too bad as we'd never > call glTexSubImage2D, but without it, we'd upload the entire frame > through glTexImage2D eve

[PATCH weston 08/11] SHM: Don't flush damage when there is none

2012-11-06 Thread Daniel Stone
Every single frame, we were calling the flush_damage handler in the renderer. For GLES2 with subimage, this wasn't too bad as we'd never call glTexSubImage2D, but without it, we'd upload the entire frame through glTexImage2D every time. Signed-off-by: Daniel Stone --- src/compositor.c |3 ++