summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-04-16 20:49:44 -0400
committerMichel Dänzer <michel@daenzer.net>2016-04-20 17:55:30 +0900
commit8093990ef4a65c4ba69c79263a508df0ddbecae6 (patch)
tree74491224c1362d417c4ec6d8c04f711cc8bf86eb /include/GL
parent4463f38766061bd058dc668e0ac2820a4cba79e7 (diff)
downloadexternal_mesa3d-8093990ef4a65c4ba69c79263a508df0ddbecae6.zip
external_mesa3d-8093990ef4a65c4ba69c79263a508df0ddbecae6.tar.gz
external_mesa3d-8093990ef4a65c4ba69c79263a508df0ddbecae6.tar.bz2
st/dri: Fix RGB565 EGLImage creation
When creating egl images we do a bytes to pixel conversion by deviding by 4 regardless of the pixel format. This does not work for RGB565. In this patch, we avoid useless conversion and use proper API when the conversion cannot be avoided. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'include/GL')
0 files changed, 0 insertions, 0 deletions