[Mesa-dev] [PATCH 00/20] Mesa: Reducing sizes of gl_context etc.

Marek Olšák maraeo at gmail.com
Tue Nov 21 18:01:42 UTC 2017


Hi,

This series reduces sizes of many driver structures. For example:

gl_context: 152488 -> 72944 bytes
vbo_context: 22696 -> 20008 bytes
st_context: 10120 ->  3704 bytes

The idea is to decrease CPU cache usage on smaller CPUs. I have not
noticed a performance difference with microbenchmarks. It might be
a different story with complex apps.

There are some good cleanups as well as some controversial changes,
so some piglit regressions are to be expected, but we can change
piglit not to test those silly cases if we all agree that this is
the right thing to do. Feel free to discuss them on the commit
threads.

Branch for testing:
    git://people.freedesktop.org/~mareko/mesa context-reduce-size

Expected piglit failures where piglit might need changes:
- spec/!openg 1.3/texunits
- spec/arb_viewport_array/viewport-indices

Please review.

Thanks,
Marek


More information about the mesa-dev mailing list