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

Ian Romanick idr at freedesktop.org
Wed Nov 22 21:18:11 UTC 2017


On 11/22/2017 11:02 AM, Nicolai Hähnle wrote:
> On 21.11.2017 19:01, Marek Olšák wrote:
>> 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
> 
> Can you explain where these failures come from?

Patch 4 explains the first, and, while I haven't gotten there yet, I'll
guess that patch 14 explains the second.

> Will look at the patches themselves later / tomorrow.
> 
> Cheers,
> Nicolai
> 
> 
>>
>> Please review.
>>
>> Thanks,
>> Marek
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list