Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Include api_exec.h in dlist.c. | Vinson Lee | 2010-05-02 | 1 | -0/+1 |
| | | | | Fixes _mesa_alloc_dispatch_table implicit declaration warning. | ||||
* | mesa: Include mfeatures.h before testing feature macros | Kristian Høgsberg | 2010-05-02 | 1 | -0/+2 |
| | |||||
* | mesa: Only compile ES files when ES1 or ES2 are selected | Kristian Høgsberg | 2010-05-02 | 1 | -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é Fonseca | 2010-05-02 | 2 | -3/+6 |
| | | | | Seems to get everything building again here. | ||||
* | Merge branch 'gles2-2' | Kristian Høgsberg | 2010-05-02 | 94 | -4246/+4835 |
|\ | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h | ||||
| * | Hook in install rules for es1 and es2 | Kristian Høgsberg | 2010-05-02 | 1 | -0/+6 |
| | | |||||
| * | Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2 | Kristian Høgsberg | 2010-05-02 | 1 | -6/+22 |
| | | |||||
| * | st/mesa: Create context for API_OPENGL as first priority | Kristian Høgsberg | 2010-05-02 | 1 | -4/+4 |
| | | |||||
| * | gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files | Kristian Høgsberg | 2010-04-28 | 1 | -0/+24 |
| | | |||||
| * | intel: Only register ES2 extensions for ES2 contexts | Kristian Høgsberg | 2010-04-28 | 7 | -2/+108 |
| | | |||||
| * | configure.ac: Add options to enable GLES1/2 API support | Kristian Høgsberg | 2010-04-28 | 2 | -0/+2 |
| | | |||||
| * | intel: Advertise GLES1/2 for i915+ when enabled | Kristian Høgsberg | 2010-04-28 | 1 | -0/+12 |
| | | |||||
| * | dri: Add DRI entrypoints to create a context for a given API | Kristian Høgsberg | 2010-04-28 | 8 | -13/+22 |
| | | |||||
| * | dri: Add DRI entrypoints to create a context for a given API | Kristian Høgsberg | 2010-04-28 | 26 | -31/+111 |
| | | |||||
| * | st/mesa: Move st_cb_drawtex.c to the mesa state tracker | Kristian Høgsberg | 2010-04-28 | 4 | -11/+2 |
| | | |||||
| * | es: Drop es specific enums.c | Kristian Høgsberg | 2010-04-28 | 2 | -22/+3 |
| | | |||||
| * | glapi: Regenerate enums.c for all APIs | Kristian Høgsberg | 2010-04-28 | 1 | -3147/+3449 |
| | | |||||
| * | glapi: Update gl_enum.py to generate enum tables for multiple APIs | Kristian Høgsberg | 2010-04-28 | 2 | -13/+19 |
| | | |||||
| * | mesa: Drop unused _mesa_init_drawtex_dispatch() | Kristian Høgsberg | 2010-04-28 | 2 | -23/+0 |
| | | |||||
| * | mesa: Move drawtex functionality to main/ | Kristian Høgsberg | 2010-04-28 | 4 | -2/+2 |
| | | |||||
| * | mesa: Move glQueryMatrixxOES() implementation to core mesa | Kristian Høgsberg | 2010-04-28 | 3 | -1/+1 |
| | | |||||
| * | mesa: Move GLES1 texgen functions to texgen.c | Kristian Høgsberg | 2010-04-28 | 4 | -74/+43 |
| | | |||||
| * | mesa: Move support for paletted textures to main/teximage.c | Kristian Høgsberg | 2010-04-28 | 7 | -49/+90 |
| | | |||||
| * | mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable() | Kristian Høgsberg | 2010-04-28 | 6 | -96/+37 |
| | | |||||
| * | mesa: Move get_es*.c to main/ | Kristian Høgsberg | 2010-04-27 | 5 | -12/+7 |
| | | |||||
| * | es: Prefix the get* functions with _es1/2 so they don't conflict | Kristian Høgsberg | 2010-04-27 | 5 | -19/+50 |
| | | |||||
| * | mesa: Move GL_RGB565 workaround into fbobject.c | Kristian Høgsberg | 2010-04-27 | 5 | -39/+23 |
| | | |||||
| * | mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.c | Kristian Høgsberg | 2010-04-27 | 4 | -110/+81 |
| | | | | | | | | This let's us drop stubs.c. | ||||
| * | mesa: Move GLES2 shader stubs to main/shaders.c | Kristian Høgsberg | 2010-04-27 | 3 | -23/+39 |
| | | |||||
| * | mesa: Move api_exec_es*.c into mesa/main | Kristian Høgsberg | 2010-04-27 | 12 | -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.c | Kristian Høgsberg | 2010-04-27 | 6 | -63/+100 |
| | | |||||
| * | mesa: Move struct _glapi_table allocation out of context.c | Kristian Høgsberg | 2010-04-22 | 6 | -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 API | Kristian Høgsberg | 2010-04-22 | 5 | -324/+113 |
| | | | | | | | | We can now stop special casing glGetString() and drop specials_es*.c. | ||||
| * | es2: Move over es2 code to compute extensions | Kristian Høgsberg | 2010-04-22 | 1 | -3/+106 |
| | | |||||
| * | main: Report GL_SHADING_LANGUAGE_VERSION according to API | Kristian Høgsberg | 2010-04-22 | 2 | -12/+27 |
| | | |||||
| * | mesa: Compute GL version according to API | Kristian Høgsberg | 2010-04-22 | 3 | -80/+107 |
| | | |||||
| * | mesa: Move API specific context intialization into context.c | Kristian Høgsberg | 2010-04-22 | 4 | -37/+25 |
| | | |||||
| * | st/mesa: Use API-aware context constructor | Kristian Høgsberg | 2010-04-22 | 1 | -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 context | Kristian Høgsberg | 2010-04-22 | 3 | -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 Lee | 2010-05-02 | 6 | -12/+12 |
| | | |||||
* | | glsl: s/sprintf/_mesa_snprintf/ | Vinson Lee | 2010-05-01 | 7 | -29/+29 |
| | | |||||
* | | glapi: s/strcpy/strncpy/ | Vinson Lee | 2010-05-01 | 1 | -1/+2 |
| | | |||||
* | | st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures | Brian Paul | 2010-04-30 | 7 | -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 x86 | Adam Jackson | 2010-04-30 | 1 | -0/+8 |
| | | |||||
* | | st/mesa: remove unused/disabled code | Brian Paul | 2010-04-29 | 2 | -48/+0 |
| | | |||||
* | | mesa: added _mesa_print_framebuffer() for debugging | Brian Paul | 2010-04-29 | 2 | -0/+44 |
| | | |||||
* | | i965: Reject shaders with uninlined function calls instead of hanging. | Eric Anholt | 2010-04-29 | 1 | -1/+33 |
| | | | | | | | | | | | | Most of the failure from using uninlined function calls ends up being just bad rendering, but nested function calls in the VS currently hang the GPU, so reject them and explain why. | ||||
* | | mesa: Don't overwrite a driver's shader infolog with generic failure message. | Eric Anholt | 2010-04-29 | 1 | -1/+4 |
| | | |||||
* | | i965: Fix cube map layouts on Ironlake. | Eric Anholt | 2010-04-29 | 4 | -68/+24 |
| | | | | | | | | | | | | | | | | | | We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap. | ||||
* | | i965: Implement VS MAX in a more obvious way. | Eric Anholt | 2010-04-29 | 1 | -3/+3 |
| | | | | | | | | | | This should be functionally equivalent, with the possible exception of NaN handling. |