Kristian Høgsberg
d3702fc3ea
mesa: Forgot to add .pc.in files for gles
...
Some day I'll grow up and remember to add new files when I commit.
2010-05-06 11:04:10 -04:00
Kristian Høgsberg
cdf9f4680f
mesa: Only initialize TNL for OpenGL
2010-05-03 21:32:05 -04:00
Kristian Høgsberg
0bb23b4b6f
mesa: Only initialize save dispatch table for OpenGL
2010-05-03 21:32:01 -04:00
Chia-I Wu
a2dcd67c39
mesa: Add OES_EGL_image to extension list.
2010-05-03 12:27:21 -04:00
Kristian Høgsberg
34e4091a44
Generate es glapi files when es1 or es2 is enabled
2010-05-03 12:22:30 -04:00
Xavier Chantry
ebb5228d18
Update dri state tracker to use new API aware context create
2010-05-03 12:22:29 -04:00
Kristian Høgsberg
df104eaa47
configure.ac: Fix test for whether to build src/gles
2010-05-03 12:22:29 -04:00
Kristian Høgsberg
ebf84d9a2c
mesa: Include mfeatures.h before testing feature macros
2010-05-03 12:22:29 -04:00
Kristian Høgsberg
2b1b51db7d
mesa: Only compile ES files when ES1 or ES2 are selected
...
This still requieres manual generation of the es1 and es2 glapis and is
disabled by default.
2010-05-03 12:22:28 -04:00
José Fonseca
a5fca974cf
mesa: #ifdef out more remap_table related code when disabled.
...
Seems to get everything building again here.
2010-05-03 12:22:28 -04:00
Kristian Høgsberg
269f416864
Hook in install rules for es1 and es2
2010-05-03 12:22:28 -04:00
Kristian Høgsberg
6434e18af2
Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2
2010-05-03 12:22:27 -04:00
Kristian Høgsberg
dbf423975c
st/mesa: Create context for API_OPENGL as first priority
2010-05-03 12:22:27 -04:00
Kristian Høgsberg
e53e7c9346
gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files
2010-05-03 12:22:27 -04:00
Kristian Høgsberg
144b103f7f
intel: Only register ES2 extensions for ES2 contexts
2010-05-03 12:22:27 -04:00
Kristian Høgsberg
09cd109d98
configure.ac: Add options to enable GLES1/2 API support
2010-05-03 12:22:26 -04:00
Kristian Høgsberg
136a938559
intel: Advertise GLES1/2 for i915+ when enabled
2010-05-03 12:22:26 -04:00
Kristian Høgsberg
159dc4deff
dri: Add DRI entrypoints to create a context for a given API
2010-05-03 12:22:26 -04:00
Kristian Høgsberg
2a366a296f
egl_dri2: Use new DRI API to create a GLES1/2 context when asked to
2010-05-03 12:22:25 -04:00
Kristian Høgsberg
6d54bba2d5
dri: Add DRI entrypoints to create a context for a given API
2010-05-03 12:22:25 -04:00
Kristian Høgsberg
74070e397f
st/mesa: Move st_cb_drawtex.c to the mesa state tracker
2010-05-03 12:22:19 -04:00
Kristian Høgsberg
95b25b642e
es: Drop es specific enums.c
2010-05-03 11:53:31 -04:00
Kristian Høgsberg
11d8caf376
glapi: Regenerate enums.c for all APIs
2010-05-03 11:53:31 -04:00
Kristian Høgsberg
5510842f97
glapi: Update gl_enum.py to generate enum tables for multiple APIs
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
56e993e946
mesa: Drop unused _mesa_init_drawtex_dispatch()
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
b5157a0885
mesa: Move drawtex functionality to main/
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
72c3667cb7
mesa: Move glQueryMatrixxOES() implementation to core mesa
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
a063e12754
mesa: Move GLES1 texgen functions to texgen.c
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
1f34dd5a7e
mesa: Move support for paletted textures to main/teximage.c
2010-05-03 11:50:27 -04:00
Kristian Høgsberg
623ff81931
mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()
2010-05-03 11:50:26 -04:00
Kristian Høgsberg
98227f3181
mesa: Move get_es*.c to main/
2010-05-03 11:50:26 -04:00
Kristian Høgsberg
381ccb50b9
es: Prefix the get* functions with _es1/2 so they don't conflict
2010-05-03 11:50:26 -04:00
Kristian Høgsberg
64386d0893
mesa: Move GL_RGB565 workaround into fbobject.c
2010-05-03 11:50:26 -04:00
Kristian Høgsberg
cd53b44af0
mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.c
...
This let's us drop stubs.c.
2010-05-03 11:50:26 -04:00
Kristian Høgsberg
fda7cbdc80
mesa: Move GLES2 shader stubs to main/shaders.c
2010-05-03 11:49:31 -04:00
Kristian Høgsberg
3f03f71caf
mesa: Move api_exec_es*.c into mesa/main
...
This requires renaming a few functions to have unique names so that
they can all live within the same driver.
2010-05-03 11:49:31 -04:00
Kristian Høgsberg
a6ba493d71
mesa: Move references to main/remap_helper.h to api_exec.c
2010-05-03 11:49:30 -04:00
Kristian Høgsberg
2180ba68f1
mesa: Move struct _glapi_table allocation out of context.c
...
We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
2010-05-03 11:49:30 -04:00
Kristian Høgsberg
2a2f8580b7
mesa: Compute extension string according to API
...
We can now stop special casing glGetString() and drop specials_es*.c.
2010-05-03 11:49:30 -04:00
Kristian Høgsberg
7fca3e5243
es2: Move over es2 code to compute extensions
2010-05-03 11:48:10 -04:00
Kristian Høgsberg
d233c5b75e
main: Report GL_SHADING_LANGUAGE_VERSION according to API
2010-05-03 11:48:10 -04:00
Kristian Høgsberg
df4d6bcbe8
mesa: Compute GL version according to API
2010-05-03 11:48:10 -04:00
Kristian Høgsberg
ba34fdb5b9
mesa: Move API specific context intialization into context.c
2010-05-03 11:48:10 -04:00
Kristian Høgsberg
2c9cc93f2a
st/mesa: Use API-aware context constructor
...
The mesa state tracker is currently the only place where we create a
context and expect it to implement GLES1/2. Use the API-aware constructor
to communicate this to core mesa.
2010-05-03 11:40:00 -04:00
Kristian Høgsberg
07f9b7cf82
mesa: Track the OpenGL API we're implementing in the context
...
This introduces a new way to create or initialize a context:
_mesa_create_context_for_api and
_mesa_initialize_context_for_api
which in addition to the current arguments take an api enum to indicate
which OpenGL API the context should implement. At this point the
API field in GLcontext isn't used anywhere, but later commits will
key certain functionality off of it.
The _mesa_create_context and _mesa_initialize_context functions are
kept in place as wrappers around the *_for_api versions, passing in
API_OPENGL to get the same behavior as before.
2010-05-03 11:40:00 -04:00
Michael Schmidt
d9793fc3ac
Initialize DRI2 swap interval to 0
...
https://bugs.freedesktop.org/show_bug.cgi?id=27628
2010-04-14 10:15:47 -04:00
Jesse Barnes
157bdd1446
DRI2: report swap events correctly in direct rendered case
...
In the direct rendered case, we need to convert DRI2 swap complete
events to GLX events for the client to consume. This path had what
looks like a stray "& 0x75" from some earlier debugging that prevented
clients from seeing the right event code.
2010-04-13 09:39:28 -07:00
Brian Paul
497b66094d
docs: update name, link for mesa-dev list
2010-04-12 18:45:10 -06:00
Vinson Lee
4a796264df
i915g: Fix assert.
2010-04-11 17:56:21 -07:00
Maciej Cencora
2657325c4a
r300: respect radeon common code fallbacks
...
Fixes progs/demos/shadowtex under KMS
2010-04-11 13:42:00 +02:00