[Mesa-users] Newbie questions on Gallium state trackers

Brian Paul brianp at vmware.com
Fri Aug 26 12:57:24 UTC 2016


On 08/26/2016 03:47 AM, Minkyu Lee wrote:
> Hello, I'm working on gallium style drivers.
>
> As you know, gallium architecture consists of 3 layers of 'State
> Trackers', 'Pipe Drivers', 'WinSys'.
>
> Today, my topic is on State Trackers.
>
> I think the meaning of 'state' in the word 'State Trackers' is the state
> of gpu which rendering API changes.
>
> So I guessed that everything in directory src/gallium/state_trackers/ is
> regarding rendering states.

Another way to think of state trackers is as "adapters" from one 
graphics API (such as OpenCL/vdpau/EGL/WGL/etc) to the gallium interface.


>
> But some things like dri, wgl outstand my guessing.
>
> They are regarding hardware context or windowing system rather than
> rendering states.
>
> So I guessed in other way that everything in directory
> src/gallium/state_trackers/ is something needs to access pipe drivers layer.
>
> In that way, the existence of dri, wgl at src/gallium/state_trackers/
> makes sense.
>
> Is my guessing correct?

Basically, yes.

BTW, there's a gallium wikipedia page with links to a bunch of resources 
that might be helpful.

-Brian


>
> Please someone let me know if my guessing is correct or not.
>
> Any help will be fully appreciated :)
> Best Regards,
> Minkyu Lee
>
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=CwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=AvBxPGRXgR7VIBFzwqZasZbANmIN9Rwkm4HJoibxyVM&s=XVwiSW3uMF1DMIlZ4jmFMsbFQ_j-_LFXvYsi7RxHU-I&e=
>



More information about the mesa-users mailing list