summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_init.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-04 18:14:31 -0800
committerKenneth Graunke <[email protected]>2015-03-05 10:36:03 -0800
commitaa0705c06c03d2b882ac7b185ed123bc8a10d716 (patch)
treec5cf900b7eb0e45c40363f4f2cdbac3fca949f8e /src/glx/indirect_init.h
parent4ddd981e407f9e97fcbb862c241f1ce165616fd4 (diff)
i965: Split Gen4-5 BlitFramebuffer code; prefer BLT over Meta.
A while back I switched intel_blit_framebuffer to prefer Meta over the BLT. This meant that Gen8 platforms would start using the 3D engine for blits, just like we do on Gen6-7.5. However, I hadn't considered Gen4-5 when making that change. The BLT engine appears to be substantially faster on 965GM than using Meta to drive the 3D engine. This isn't too surprising: original Gen4 doesn't support tile offsets (that came on G45), and the level/layer fields don't work for cubemap rendering, so for inconvenient miplevel alignments, we end up blitting or copying data to/from temporaries in order to render to it. We may as well just use the blitter. I chose to use the BLT on Gen4-5 because they use the same ring for both 3D and BLT; Gen6+ splits it out. Fixes regressions on 965GM due to botched tile offset code (we should fix those properly as well, but they're longstanding bugs - for now, put things back to the status quo). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89430 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Cc: "10.5" <[email protected]>
Diffstat (limited to 'src/glx/indirect_init.h')
0 files changed, 0 insertions, 0 deletions