2010/4/25 Chia-I Wu :
> 2010/4/25 Kristian Høgsberg :
>> On Sat, Apr 24, 2010 at 10:25 AM, Jakob Bornecrantz
>>> -PUBLIC const struct st_module st_module_OpenGL_ES1 = {
>>> - .api = ST_API_OPENGL_ES1,
>>> - .create_api = st_manager_create_api
>>> -};
>>> +PUBLIC struct st_api *
>>> +st_api_crea
2010/4/25 Kristian Høgsberg :
> On Sat, Apr 24, 2010 at 10:25 AM, Jakob Bornecrantz
>> -PUBLIC const struct st_module st_module_OpenGL_ES1 = {
>> - .api = ST_API_OPENGL_ES1,
>> - .create_api = st_manager_create_api
>> -};
>> +PUBLIC struct st_api *
>> +st_api_create_OpenGL_ES1()
>> +{
>> + re
On Sat, Apr 24, 2010 at 10:25 AM, Jakob Bornecrantz
wrote:
> The struct st_module isn't needed as it is the same thing as the st_api
> struct. That is they both represent the API. Instead just use a single
> function entry point to the the API.
> ---
> src/gallium/include/state_tracker/st_api.h
The struct st_module isn't needed as it is the same thing as the st_api
struct. That is they both represent the API. Instead just use a single
function entry point to the the API.
---
src/gallium/include/state_tracker/st_api.h | 35 +++-
src/gallium/state_trackers/dri/com