[Mesa-dev] MESA and KOTOR

Brian Paul brianp at vmware.com
Fri Sep 29 16:05:07 UTC 2017


On 09/28/2017 11:25 AM, Federico Dossena wrote:
> Sorry if I insist on this again, but can someone who knows the internals
> of Mesa better than me please tell me which files implement pbuffers in
> gallium llvmpipe? Specifically, the parts that are involved in creating
> a pbuffer, its texture, framebuffer, and (I think) copying the screen to
> it.
> I found src/gallium/state_trackers/wgl/stw_framebuffer.c, but I'm sure
> there is more stuff involved and I want to play around with it a bit to
> see if it helps with KOTOR.

There's no gallium driver code specific to pbuffers.  pbuffers are a 
concept only in the GLX and WGL state trackers.  Those state trackers 
just allocate ordinary texture/render resources for pbuffer surfaces.

I haven't been following this thread so I'm not sure exactly what you're 
looking for.

-Brian



More information about the mesa-dev mailing list