diff options
author | Thomas Hellstrom <[email protected]> | 2017-08-10 17:10:47 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-08-17 07:39:42 +0200 |
commit | 16d1a0bcdbfa376232e552a3382ee2a8751743a5 (patch) | |
tree | d59be65c261182066c124092c12cb36dec8243b0 /src/loader/loader_dri3_helper.h | |
parent | 1e83baeb4b6b6d557ae8b9c219347b1b252b27c7 (diff) |
loader_dri3: Support GLX_SWAP_COPY_OML
Support the GLX_SWAP_COPY_OML method. When this method is requested, we use
the same swapbuffer code path as EGL_BUFFER_PRESERVED.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/loader/loader_dri3_helper.h')
-rw-r--r-- | src/loader/loader_dri3_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h index 165c3cc9e08..cd9e8286792 100644 --- a/src/loader/loader_dri3_helper.h +++ b/src/loader/loader_dri3_helper.h @@ -158,6 +158,8 @@ struct loader_dri3_drawable { struct loader_dri3_extensions *ext; const struct loader_dri3_vtable *vtable; + + unsigned int swap_method; }; void |