summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* driswrast: Fix more context creation breakageKristian Høgsberg2010-05-031-1/+2
| | | | Pointed out by Colin Harrison.
* nouveau: fix nouveau_create_context declerationDave Airlie2010-05-031-1/+2
|
* swrast: Correct include for mtypes.hJakob Bornecrantz2010-05-031-1/+1
|
* Update drisw state tracker to use new API aware context createXavier Chantry2010-05-022-2/+6
| | | | | | | | | Even though swrast defines its own __DriverAPIRec it still shares the driCreateNewContext() implementation from dri_util.c. So the CreateContext prototypes have to match in the two __DriverAPIRecs. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Xavier Chantry <[email protected]>
* mesa: Include api_exec.h in dlist.c.Vinson Lee2010-05-021-0/+1
| | | | Fixes _mesa_alloc_dispatch_table implicit declaration warning.
* mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg2010-05-021-0/+2
|
* mesa: Only compile ES files when ES1 or ES2 are selectedKristian Høgsberg2010-05-021-5/+10
| | | | | This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
* mesa: #ifdef out more remap_table related code when disabled.José Fonseca2010-05-022-3/+6
| | | | Seems to get everything building again here.
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-0294-4246/+4835
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * Hook in install rules for es1 and es2Kristian Høgsberg2010-05-021-0/+6
| |
| * Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2Kristian Høgsberg2010-05-021-6/+22
| |
| * st/mesa: Create context for API_OPENGL as first priorityKristian Høgsberg2010-05-021-4/+4
| |
| * gles: Build libGLESv1_CM.so and libGLESv2.so from glapi filesKristian Høgsberg2010-04-281-0/+24
| |
| * intel: Only register ES2 extensions for ES2 contextsKristian Høgsberg2010-04-287-2/+108
| |
| * configure.ac: Add options to enable GLES1/2 API supportKristian Høgsberg2010-04-282-0/+2
| |
| * intel: Advertise GLES1/2 for i915+ when enabledKristian Høgsberg2010-04-281-0/+12
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-288-13/+22
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-2826-31/+111
| |
| * st/mesa: Move st_cb_drawtex.c to the mesa state trackerKristian Høgsberg2010-04-284-11/+2
| |
| * es: Drop es specific enums.cKristian Høgsberg2010-04-282-22/+3
| |
| * glapi: Regenerate enums.c for all APIsKristian Høgsberg2010-04-281-3147/+3449
| |
| * glapi: Update gl_enum.py to generate enum tables for multiple APIsKristian Høgsberg2010-04-282-13/+19
| |
| * mesa: Drop unused _mesa_init_drawtex_dispatch()Kristian Høgsberg2010-04-282-23/+0
| |
| * mesa: Move drawtex functionality to main/Kristian Høgsberg2010-04-284-2/+2
| |
| * mesa: Move glQueryMatrixxOES() implementation to core mesaKristian Høgsberg2010-04-283-1/+1
| |
| * mesa: Move GLES1 texgen functions to texgen.cKristian Høgsberg2010-04-284-74/+43
| |
| * mesa: Move support for paletted textures to main/teximage.cKristian Høgsberg2010-04-287-49/+90
| |
| * mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()Kristian Høgsberg2010-04-286-96/+37
| |
| * mesa: Move get_es*.c to main/Kristian Høgsberg2010-04-275-12/+7
| |
| * es: Prefix the get* functions with _es1/2 so they don't conflictKristian Høgsberg2010-04-275-19/+50
| |
| * mesa: Move GL_RGB565 workaround into fbobject.cKristian Høgsberg2010-04-275-39/+23
| |
| * mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.cKristian Høgsberg2010-04-274-110/+81
| | | | | | | | This let's us drop stubs.c.
| * mesa: Move GLES2 shader stubs to main/shaders.cKristian Høgsberg2010-04-273-23/+39
| |
| * mesa: Move api_exec_es*.c into mesa/mainKristian Høgsberg2010-04-2712-32/+114
| | | | | | | | | | This requires renaming a few functions to have unique names so that they can all live within the same driver.
| * mesa: Move references to main/remap_helper.h to api_exec.cKristian Høgsberg2010-04-276-63/+100
| |
| * mesa: Move struct _glapi_table allocation out of context.cKristian Høgsberg2010-04-226-22/+48
| | | | | | | | | | | | 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.
| * mesa: Compute extension string according to APIKristian Høgsberg2010-04-225-324/+113
| | | | | | | | We can now stop special casing glGetString() and drop specials_es*.c.
| * es2: Move over es2 code to compute extensionsKristian Høgsberg2010-04-221-3/+106
| |
| * main: Report GL_SHADING_LANGUAGE_VERSION according to APIKristian Høgsberg2010-04-222-12/+27
| |
| * mesa: Compute GL version according to APIKristian Høgsberg2010-04-223-80/+107
| |
| * mesa: Move API specific context intialization into context.cKristian Høgsberg2010-04-224-37/+25
| |
| * st/mesa: Use API-aware context constructorKristian Høgsberg2010-04-221-1/+10
| | | | | | | | | | | | 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.
| * mesa: Track the OpenGL API we're implementing in the contextKristian Høgsberg2010-04-223-11/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | mesa: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-026-12/+12
| |
* | glsl: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-017-29/+29
| |
* | glapi: s/strcpy/strncpy/Vinson Lee2010-05-011-1/+2
| |
* | st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium texturesBrian Paul2010-04-307-81/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when we created a gallium texture for a corresponding Mesa texture we'd only allocate space for mipmap levels >= BaseLevel. This patch undoes that mechanism. This fixes a render-to-texture bug when rendering to level 0 when BaseLevel=1. Also, it makes sense to allocate the whole texture object memory when BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to progressively load/render mipmaps. Eventually, the app almost always fills in the level=0 mipmap image. Finally, the texture image code is bit easier to understand now.
* | x86-64: Make assembly routines .hidden like on x86Adam Jackson2010-04-301-0/+8
| |
* | st/mesa: remove unused/disabled codeBrian Paul2010-04-292-48/+0
| |
* | mesa: added _mesa_print_framebuffer() for debuggingBrian Paul2010-04-292-0/+44
| |