summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorMario Kleiner <[email protected]>2017-12-15 23:04:53 +0100
committerMarek Olšák <[email protected]>2018-01-03 22:57:56 +0100
commit9e63cbacb6bc10b4426fc2af4989fbdc86ec4167 (patch)
tree327f5f9fc10714d69b554cb43b13039d71108b6d /scons
parent87faa8b1e844cab92c6e9c83233bb156c02f734f (diff)
i965/screen: Add basic support for rendering 10 bpc/depth 30 framebuffers. (v3)
Expose formats which are supported at least back to Gen 5 Ironlake, possibly further. Allow creation of 10 bpc winsys buffers for drawables. glxinfo now lists new RGBA 10 10 10 2/0 formats. v2: Move the BGRA/BGRX1010102 formats before the RGBA/RGBX8888 32 bit formats, as the code comments require. Thanks Emil! Update num_formats from 3 to 5, to keep the special Android handling intact. v3: Use num_formats = ARRAY_SIZE(formats) - 2 as suggested by Tapani, to only exclude the last 2 Android formats, add Tapani's r-b. Signed-off-by: Mario Kleiner <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions