diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2013-06-06 20:44:17 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2013-06-06 20:44:17 +0400 |
commit | 22c1f144fd3bceae976d9a492cd6caddd902446a (patch) | |
tree | cad0ea447ce3b9e1898b8b2b0bb1b8d82aa9e6ee /include | |
parent | 188dabbfb286f4e3e5595aba6c5bf70e7554ca94 (diff) | |
download | emulator-yagl-22c1f144fd3bceae976d9a492cd6caddd902446a.tar.gz emulator-yagl-22c1f144fd3bceae976d9a492cd6caddd902446a.tar.bz2 emulator-yagl-22c1f144fd3bceae976d9a492cd6caddd902446a.zip |
YaGL: Notify kernel about dirty surfaces
Since kernel is handling dirty surfaces now
we need to tell it that certain surface is
GPU dirty, so that other processes call
update_vram before accessing its raw pixels
Change-Id: Iba3b00532df9d3619be27d21fcb8f59c502f8138
Diffstat (limited to 'include')
-rw-r--r-- | include/yagl_render.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/yagl_render.h b/include/yagl_render.h index e1f4068..79007c9 100644 --- a/include/yagl_render.h +++ b/include/yagl_render.h @@ -34,4 +34,13 @@ */ YAGL_API void yagl_render_invalidate(); + +/* + * This must be called when client API finished rendering part of + * the geometry and now it's guaranteed that by that point the rendering + * results will be visible to direct rendering clients and X.Org. Callers + * of this should probably include glFinish, eglWaitClient, eglWaitGL, etc. + */ +YAGL_API void yagl_render_finish(); + #endif |