i965: Implement threaded GL support

Graphics / Mesa 3D Graphics Library / Mesa - Kenneth Graunke [whitecape.org] - 5 March 2019 08:49 UTC

Now i965 supports mesa_glthread=true like Gallium drivers do.

According to Markus (degasus), the Citra emulator now runs ~30% faster. Emmanuel (linkmauve) also reported that the Dolphin emulator improved by 2.8x on one game. (Both of those still need to be added to drirc.)

An Intel Mesa CI run with mesa_glthread=true appears to be happy.

Bioshock Infinite's benchmark mode seems to be around 15-20% faster on my Skylake GT4 at 1920x1080.

dca36d5516d i965: Implement threaded GL support.
src/mesa/drivers/dri/i965/brw_context.c | 44 +++++++++++++++++++++++++++++
src/mesa/drivers/dri/i965/intel_screen.c | 4 +++
src/mesa/drivers/dri/i965/intel_tex_image.c | 3 ++
3 files changed, 51 insertions(+)

Upstream: cgit.freedesktop.org

  • Share