summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/wayland
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-09-08 02:39:01 +0800
committerChia-I Wu <[email protected]>2011-09-08 11:16:12 +0800
commit41f5d2e8acbe3d6393f8012813609215534b5678 (patch)
treec6247ab9c3f15de35c4b18a3c8d3867cdbdb1adf /src/gallium/state_trackers/egl/wayland
parentf4c37d6ab256f860a755fe69dfea5fb8df217a2f (diff)
st/egl: overload NATIVE_PARAM_PREMULTIPLIED_ALPHA
EGL does not export this capability of a display server. But wayland makes use of EGL_VG_ALPHA_FORMAT to achieve it. So, when the native display returns true for the parameter, st/egl will set EGL_VG_ALPHA_FORMAT_PRE_BIT for all EGLConfig's with non-zero EGL_ALPHA_SIZE. EGL_VG_ALPHA_FORMAT attribute of a surface will affect how the surface is presented. Because st/vega does not support EGL_VG_ALPHA_FORMAT_PRE_BIT, EGL_OPENVG_BIT will be cleared.
Diffstat (limited to 'src/gallium/state_trackers/egl/wayland')
0 files changed, 0 insertions, 0 deletions