summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
diff options
context:
space:
mode:
authorGuy Zadikario <guy@graphtech.co.il>2011-06-13 09:51:26 +0300
committerGuy Zadickario <guy@graphtech.co.il>2011-06-25 16:56:08 +0300
commit0536060b40190ccd5484ec9761d1f3eb2957d39c (patch)
tree1117c3b1e0deede94735a01c3d4a6fe36f062cde /tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
parent4ef1f3474e12f1c78af44947c44a22c99d8c2557 (diff)
emulator opengl: guest/host rendering syncronization.
Added a return value for rcFlushWindowColorBuffer and rcUpdateColorBuffer in order to make those calls to block with a round-trip to the host. This is to make sure that the color buffer is up-to-date before the flinger use it for rendering. Also added a call to the native windows's lock function after EGL is attached and bound to render on the window. This call was missed before. This syncronization can be optimized by removing the round-trip and insert sync primitive to the stream at every draw command that reads from a color buffer to make the sync happen on the host before rendering the color buffer and remove the need for the guest to wait for that update. Change-Id: I1c2d8bc407b69663e992a68d5aa755f19bbe0ec3
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h')
0 files changed, 0 insertions, 0 deletions