diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-04-16 20:49:44 -0400 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-04-20 17:55:30 +0900 |
commit | 8093990ef4a65c4ba69c79263a508df0ddbecae6 (patch) | |
tree | 74491224c1362d417c4ec6d8c04f711cc8bf86eb /docs | |
parent | 4463f38766061bd058dc668e0ac2820a4cba79e7 (diff) | |
download | external_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 'docs')
0 files changed, 0 insertions, 0 deletions