[Mesa-dev] Using Gallium on an embedded system

Marcus Comstedt marcus at mc.pp.se
Tue Jul 19 02:42:05 PDT 2011

Hi folks.

I wonder if there is someone here who can help me wrap my brain around
the code flow for getting Mesa to render with Gallium.

I have an embedded system with a GPU supported by a gallium driver.
I'd like to have Mesa running with hardware acceleration (OSMesa with
software rendering already runs fine).  According to a presentation
from Tungsten, the architecture for Gallium3D looks like this:

                                                              _ drm
  App -> Mesa <-> State tracker -> Gallium HW Drv -> OS,Winsys
                                                              - DRI

Ok, great, so it looks like all I need to do is provide an "OS,Winsys"
for my system, and everything above it should work without

But what I don't get is how the App creates and binds a context in
this scenario.  Normally it would call something in mesa/drivers/XXX
to do that, but there is no mesa/drivers/gallium...


  // Marcus

More information about the mesa-dev mailing list