summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functionsBrian Paul2009-03-121-4/+4
|
* i965: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-123-0/+9
|
* regenerate glapiRoland Scheidegger2009-03-1210-3823/+4113
|
* mesa: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-1224-24/+906
| | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
* mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()Keith Whitwell2009-03-121-0/+1
|
* i965: fix polygon face orientation when rendering to FBORobert Ellison2009-03-112-3/+17
| | | | | | | | | | | | | | In the i965, the FBO coordinate system is inverted from the standard OpenGL/Mesa coordinate system; that means that the viewport and the polygon face orientation have to be inverted if rendering to a FBO. The viewport was already being handled correctly; but polygon face was not. This caused a conform failure when rendering to texture with two-sided lighting enabled. This fixes the problem in the i965 driver, and adds to the comment about the gl_framebuffer "Name" field so that this isn't a surprise to other driver writers.
* mesa: remove some last remnants of GL_MESA_program_debugBrian Paul2009-03-115-21/+6
|
* mesa: minor commentsBrian Paul2009-03-111-3/+3
|
* mesa: remove gl_texture_object::_Function field and associated codeBrian Paul2009-03-113-37/+3
| | | | It was only used in one place in swrast.
* intel: include main/viewport.hBrian Paul2009-03-111-0/+1
|
* i965: fix lock-ups when GLSL program wrote to gl_FragDepthBrian Paul2009-03-111-1/+27
| | | | | | | It seems the code that set up the FB_WRITE message was incomplete in this case. The number of payload registers was wrong and that caused a hang. It would be good to have a second set of eyes take a look at this...
* i965: more code clean-ups, commentsBrian Paul2009-03-101-4/+11
|
* i965: minor code clean-ups, commentsBrian Paul2009-03-101-10/+12
|
* i965: use new cast wrappersBrian Paul2009-03-103-9/+16
|
* i965: added cast wrappers, commentsBrian Paul2009-03-101-3/+29
|
* i965: asst. code clean-ups, commentsBrian Paul2009-03-101-17/+19
|
* i965: fix typos in commentsBrian Paul2009-03-101-2/+2
|
* glsl: remove _slang_attach_storage() functionBrian Paul2009-03-101-52/+21
| | | | | | | | | This was used to handle both variable declarations and references to variables. Instead, just do storage allocation and assignment for declarations and references, respectively. This is a step toward better var/uniform allocation (only allocate storage for vars/uniforms that are actually referenced by the code).
* glsl: some clean-ups, remove old assertions, add new assertionsBrian Paul2009-03-101-7/+6
|
* glsl: remove stray/unneeded totalSize assignmentBrian Paul2009-03-101-1/+1
|
* mesa: fix dumb sizeof() vs. strlen() mix-upBrian Paul2009-03-101-1/+1
|
* glsl: fix typo: s/vec4_tex1d_proj/vec4_tex_1d_proj/Brian Paul2009-03-102-24/+24
| | | | This regression came from commit c0b59420eec5ffdf22a5919d38851c3620b97c09.
* xmesa: set back-buffer's drawable fieldBrian Paul2009-03-091-0/+1
| | | | Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
* i965: fix cube map lock-up / corruptionBrian Paul2009-03-091-9/+13
| | | | | | If we're using anything but GL_NEAREST sampling of a cube map, we need to use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode. Before this, the GPU would either lock up or subsequent texture filtering would be corrupted.
* st: silence warningBrian Paul2009-03-091-0/+2
|
* st: remove unused DrawPixels codeBrian Paul2009-03-091-124/+4
|
* st: use pointer_to_offset() cast wrapper to convert pointers to uintBrian Paul2009-03-093-4/+19
| | | | Silences warnings with 64-bit builds. See comments for details.
* mesa: reorder register file enumsBrian Paul2009-03-091-3/+3
|
* st: also check for a8 texture support in bitmap codeKeith Whitwell2009-03-091-0/+4
|
* fix typo in fragment pipe alu define, should fix dot3_rgb tex combineRoland Scheidegger2009-03-091-1/+1
|
* vbo: yet tighter still usage of FLUSH_NEED_CURRENTKeith Whitwell2009-03-091-3/+3
| | | | | | | | Previous change broke redbook/polys and probably others. I'm fairly sure that drivers like r300 don't need to touch ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm not confident about removing it from there. Hopefully this gets things working again.
* vbo: stricter checks on Driver.NeedFlushKeith Whitwell2009-03-091-4/+6
| | | | | | | | This variable is being used in the r300 driver to trigger a flush under circumstances unrelated to the use in the vbo module. Tighten up the checks in vbo so as to avoid conflict with r300. Reported by Maciej Cencora <[email protected]>
* mesa: s/int/GLsizeiptr/ to silence warning with 64-bit buildBrian Paul2009-03-071-1/+1
|
* gallium: use unsigned long to silence warnings with 64-bit buildBrian Paul2009-03-071-1/+1
|
* r300: remove assignment to removed StringPos fieldBrian Paul2009-03-071-1/+0
|
* mesa: move shared context state functions to new shared.c fileBrian Paul2009-03-075-366/+410
|
* vbo: make bind_array_obj() code a little more conciseBrian Paul2009-03-071-12/+13
|
* mesa: use @ to silence some Makefile outputBrian Paul2009-03-071-1/+1
|
* mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul2009-03-0714-176/+245
| | | | A bit of refactoring with an eye toward ES2 and GL 3.1
* swrast: remove old commentBrian Paul2009-03-071-2/+0
|
* swrast: rename s_buffers.c -> s_clear.cBrian Paul2009-03-072-1/+1
|
* mesa: gl_register_file enum typedefBrian Paul2009-03-0715-64/+64
|
* mesa: remove GL_MESA_program_debug extensionBrian Paul2009-03-0722-515/+0
| | | | This was never fully fleshed out and hasn't been used.
* mesa: silence warningBrian Paul2009-03-071-2/+2
|
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-0721-38/+19
|
* r300: shut up valgrindMaciej Cencora2009-03-072-2/+2
| | | | | | It complained about uninitialized values Signed-off-by: Nicolai Haehnle <[email protected]>
* Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith2009-03-061-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* glsl: call the program optimizerBrian Paul2009-03-061-0/+5
| | | | This still needs more testing bug glean and Mesa GLSL tests seem OK.
* i965: check if we run out of GRF/temp registersBrian Paul2009-03-061-1/+25
| | | | | | | Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery.
* mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul2009-03-061-0/+51
| | | | Useful for debugging to override an application's shader.