[Mesa-dev] [PATCHES] multi-api support in st/dri

nobled nobled at dreamwidth.org
Tue Sep 7 09:36:55 PDT 2010

The first patch fixes a current bug, the second naively integrates
support for ES 1 and ES 2 into Gallium DRI drivers:
1. st/dri: Make clear which API's are supported (aka just desktop GL)
2. st/dri: Add multi-api support (applies after the first patch)

One issue with patch 2, though, is implementing dri_get_current() --
it calls a vfunc on a struct st_api object, but the st_api object is
API-specific, and the dri_get_current function is called on a dri
screen--which could support multiple API's. So for now it has to guess
which API's implementation of get_current to use -- currently, all
three use the same implementation, so this isn't a real problem yet.
Should get_current() be moved out of struct st_api though?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-st-dri-Make-clear-which-API-s-are-supported.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100907/be9e4061/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-st-dri-Add-multi-api-support.patch
Type: text/x-patch
Size: 6736 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100907/be9e4061/attachment-0005.bin>

More information about the mesa-dev mailing list