aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
* | i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt2010-04-291-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 Anholt2010-04-291-1/+4
| |
* | i965: Fix cube map layouts on Ironlake.Eric Anholt2010-04-294-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 Anholt2010-04-291-3/+3
| | | | | | | | | | This should be functionally equivalent, with the possible exception of NaN handling.
* | i965: Use immediate float operands for some VS instructions.Eric Anholt2010-04-291-0/+86
| | | | | | | | | | We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
* | st/mesa: move/improve Mesa GPU program debuggingBrian Paul2010-04-281-10/+11
| | | | | | | | | | Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function.
* | st/mesa: add missing debug entry for DEBUG_CONSTANTSBrian Paul2010-04-281-0/+1
| |
* | Merge branch '7.8'Brian Paul2010-04-282-2/+7
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c
| * | st/mesa: fix incorrect RowStride computationBrian Paul2010-04-281-1/+4
| | | | | | | | | | | | Fixes incorrect stride when getting a compressed tex image.
| * | st/mesa: fill in stImage->level in st_generate_mipmap()Brian Paul2010-04-281-1/+3
| | | | | | | | | | | | | | | Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap.
* | | Merge branch '7.8'Brian Paul2010-04-281-0/+20
|\| | | | | | | | | | | | | | | | | | | | Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
| * | mesa: Disable scissor when begining meta operationsPierre Willenbrock2010-04-271-0/+1
| | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * | mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock2010-04-271-4/+8
| | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * | glapi: Fix loading of old DRI drivers.Chia-I Wu2010-04-271-0/+20
| | | | | | | | | | | | | | | | | | | | | The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built before the commit from loading. Add stub versions of the functions to make them load again.
* | | Disable scissor when begining meta operationsPierre Willenbrock2010-04-271-0/+1
| | | | | | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | | Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock2010-04-271-4/+8
| | | | | | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | | Fill the padding between entrys in the sampler keyPierre Willenbrock2010-04-271-1/+7
| | | | | | | | | | | | | | | | | | This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <[email protected]>
* | | i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt2010-04-271-0/+11
| | |
* | | i915: Provide counts in the error messages for program limits.Eric Anholt2010-04-272-10/+19
| | |
* | | radeon: fix warningsMarek Olšák2010-04-281-1/+3
| | |
* | | Add missing _ in extension category nameIan Romanick2010-04-271-1/+1
| | |
* | | mesa: move/rename is_depth_or_stencil_format()Brian Paul2010-04-273-22/+30
| | | | | | | | | | | | Put it with other, similar functions.
* | | st/mesa: rename var and update st_choose_format() commentsBrian Paul2010-04-271-47/+53
| | |
* | | st/mesa: call is_format_supported() for compressed formatsBrian Paul2010-04-271-4/+20
| | | | | | | | | | | | | | | | | | These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases.
* | | st/mesa: 80-column wrappingBrian Paul2010-04-271-14/+28
| | |
* | | st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul2010-04-271-2/+20
| | |
* | | st/mesa: fix strides in (de)compress_image() functionsBrian Paul2010-04-271-14/+2
| | | | | | | | | | | | Mipmap generation for compressed textures works now.
* | | dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz2010-04-271-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.