[Mesa-dev] [PATCH] mesa/mtypes: repack gl_texture_object.

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 5 16:52:47 UTC 2017


On 5 September 2017 at 16:50, Brian Paul <brianp at vmware.com> wrote:

>
>
> There's lots of opportunities along these lines in gl_texture_image. And
> since we often have many gl_texture_images per gl_texture_object, and we
> often have many textures, it'll probably have considerable impact.  I've
> suggested this in the past but never got around to working on it.
>
> I recall Eric Anholt mentioning a memory profiling tool that was helpful for
> finding wasted space in structures, etc.  I don't recall the name right now.
> Eric?
>
There's pahole (suspecting that Dave used that for the series) and
PVS-Studio (a proprietary tool).
Seemingly the latter has a "free" version [1] or one could request
their project to be scanned [2].

-Emil

[1] https://www.viva64.com/en/b/0457/
[2] https://www.viva64.com/en/b/0473/


More information about the mesa-dev mailing list