summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2013-09-14 23:06:36 -0700
committerKristian Høgsberg <[email protected]>2013-10-15 22:06:46 -0700
commite3d0a0eac7a742de9ef427b86d2ca0051a957bf7 (patch)
tree414e1a3b9f6de194b9ac05106de87d9df0ef4948 /VERSION
parente2620c1a745a02c75a45ebe0725c500f441f4ac4 (diff)
egl_dri2: Match X11 visuals using rgba masks instead of depth
Matching on visual depth to buffer size makes 8 bpc RGBA look similar to 10 bit RGB with 2 bit alphs - both have buffer size 32. Instead, build the rgba masks from the visual data and use that for finding matching DRI configs. We need to keep the special case that allows us to match 24 bit visuals to DRI configs with buffer size 32. We do that by creating an alpha mask of "all the non-rgb bits" for 24 bit visuals and matching a second time with that. Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions