summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
authorMario Kleiner <[email protected]>2017-12-15 23:04:49 +0100
committerMarek Olšák <[email protected]>2018-01-03 22:57:56 +0100
commit26c4d804ffe6e5f04c47feef72e718c5ebf3ebe6 (patch)
tree12c737c7eb3cad5776c1e4144ee9fc2e62542821 /include/GL
parent6945f313c4647d60b914dec7d201b807f2ebf271 (diff)
i965: Support accelerated blit for depth 30 formats. (v2)
Extend intel_miptree_blit() to handle at least ARGB2101010 -> XRGB2101010, ARGB2101010 -> ARGB2101010, and XRGB2101010 -> XRGB2101010 via the BLT engine, but not XRGB2101010 -> ARGB2101010 yet. This works as tested under Compiz, KDE-5, Gnome-Shell. v2: Restrict BLT fast path to exclude XRGB2101010 -> ARGB2101010, as intel_miptree_set_alpha_to_one() isn't ready to set 2 bit alpha channels to 1.0 yet. However, couldn't find a test case where this specific blit would be needed, so maybe not much of a point to improve here. 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 'include/GL')
0 files changed, 0 insertions, 0 deletions