aboutsummaryrefslogtreecommitdiff
path: root/render/allocator/shm.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2022-04-30 22:43:49 -0400
committerSimon Ser <contact@emersion.fr>2022-05-07 16:25:38 +0000
commit7ad67e0f1db486bf0994128f9750115722eef6d5 (patch)
tree08aeea2f5ea1aa581322af5164be327a38cfdc56 /render/allocator/shm.c
parentcb012c5cb53a937037717ac79c125922e37193da (diff)
render/gles: add support for some 16-bpc unsigned shm formats
These formats require EXT_texture_norm16, which in turn needs OpenGL ES 3.1. The EXT_texture_norm16 extension does not support passing gl_internalformat = GL_RGBA to glTexImage2D, as can be done for formats available in OpenGL ES 2.0, so this commit adds a field to wlr_gles2_pixel_format to provide a more specific internalformat parameter to glTexImage2D.
Diffstat (limited to 'render/allocator/shm.c')
0 files changed, 0 insertions, 0 deletions