mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
Merge branch 'github/fork/emersion/pbo' into 'master'
Draft: render: asynchronous read_pixels See merge request wlroots/wlroots!2099
This commit is contained in:
commit
54769e21db
4 changed files with 189 additions and 5 deletions
|
|
@ -38,6 +38,11 @@ struct wlr_egl {
|
|||
PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT;
|
||||
PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT;
|
||||
PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT;
|
||||
PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR;
|
||||
PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR;
|
||||
PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID;
|
||||
PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR;
|
||||
PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR;
|
||||
} procs;
|
||||
|
||||
bool has_modifiers;
|
||||
|
|
@ -114,4 +119,12 @@ bool wlr_egl_unset_current(struct wlr_egl *egl);
|
|||
|
||||
bool wlr_egl_is_current(struct wlr_egl *egl);
|
||||
|
||||
EGLSyncKHR wlr_egl_create_sync(struct wlr_egl *egl, int fence_fd);
|
||||
|
||||
void wlr_egl_destroy_sync(struct wlr_egl *egl, EGLSyncKHR sync);
|
||||
|
||||
int wlr_egl_dup_fence_fd(struct wlr_egl *egl, EGLSyncKHR sync);
|
||||
|
||||
bool wlr_egl_wait_sync(struct wlr_egl *egl, EGLSyncKHR sync);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -48,6 +48,9 @@ struct wlr_gles2_renderer {
|
|||
bool EXT_texture_type_2_10_10_10_REV;
|
||||
bool OES_texture_half_float_linear;
|
||||
bool EXT_texture_norm16;
|
||||
bool NV_pixel_buffer_object;
|
||||
bool OES_mapbuffer;
|
||||
bool EXT_map_buffer_range;
|
||||
} exts;
|
||||
|
||||
struct {
|
||||
|
|
@ -57,6 +60,8 @@ struct wlr_gles2_renderer {
|
|||
PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR;
|
||||
PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR;
|
||||
PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES;
|
||||
PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT;
|
||||
PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES;
|
||||
} procs;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue