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 /EGL/yagl_onscreen_surface.h | |
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 'EGL/yagl_onscreen_surface.h')
-rw-r--r-- | EGL/yagl_onscreen_surface.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/EGL/yagl_onscreen_surface.h b/EGL/yagl_onscreen_surface.h index b1db59d..7d92587 100644 --- a/EGL/yagl_onscreen_surface.h +++ b/EGL/yagl_onscreen_surface.h @@ -5,6 +5,7 @@ #include "yagl_types.h" #include "yagl_surface.h" #include "yagl_dri2.h" +#include "yagl_onscreen_display.h" struct yagl_onscreen_surface { @@ -23,17 +24,7 @@ struct yagl_onscreen_surface * TODO: For window surfaces we also need to support * DRI2BufferFrontLeft. */ - yagl_DRI2Buffer *buffer; - - /* - * 'buffer' dimensions. - * @{ - */ - uint32_t width; - uint32_t height; - /* - * @} - */ + struct yagl_onscreen_buffer *buffer; /* * This gets incremented in DRI2 invalidate handler, compare it to |