summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-11-17Add MESA_FORMAT_XRGB8888_REV.Michel Dänzer
2009-11-16Move 'static' to start of declaration to silence compiler warningIan Romanick
2009-11-16AL1616: Enable MESA_FORMAT_AL1616 for software pathsIan Romanick
2009-11-16AL1616: Add TexImage storage pathIan Romanick
2009-11-16AL1616: Add texel fetch / store routinesIan Romanick
2009-11-16AL1616: Add formats for GL_LUMINANCE16_ALPHA16 texturesIan Romanick
2009-11-16AL1616: Add macros to pack two GLushorts into a texelIan Romanick
2009-11-16mesa: remove unused vertex array driver hooksBrian Paul
2009-11-16mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()Brian Paul
2009-11-16mesa: use _mesa_get_current_tex_object()Brian Paul
2009-11-16mesa: added another check in check_gen_mipmap()Brian Paul
We don't need to call ctx->Driver.GenerateMipmap() if we're updating a texture level >= MAX_LEVEL.
2009-11-10mesa: fix some begin/end render-to-texture logicbrian
Before, we weren't aggressive enough in checking for the start or end of render-to-texture. In particular, if only the ctx->ReadBuffer had texture attachments, we were treating that as a render-to-texture case. This fixes a regression from commit 75bdbdd90b15c8704d87ca195a364ff6a42edbb1 "intel: Don't validate in a texture image used as a render target."
2009-11-10mesa: move check_begin/end_texture_render() callsbrian
2009-11-10mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()brian
2009-11-10mesa: rename vars in _mesa_BindFramebufferEXT()brian
2009-11-10mesa: added comment for check_begin_texture_render()brian
2009-11-06mesa: Attempt to pair up Driver.RenderTexture and FinishRenderTexture()Eric Anholt
This is probably not 100% complete (bind vs unbind may still not pair up exactly), but it should help out drivers which are relying on FinishRenderTexture to be called when we're done rendering to a particular texture level, not just when we're done rendering to the object at all. This is the case for the one consumer of FinishRenderTexture() so far: the gallium state tracker. Noticed when trying to make use of FRT() in the intel driver.
2009-11-06Merge branch 'mesa_7_6_branch'Ian Romanick
This should fix the memory leaks in the assembly parser without the regressions. The conflicts in program_lexer.l were related to changes in returning strings between the branches (always return IDENTIFIER vs. returing either IDENTIFIER or USED_IDENTIFIER). The conflicts in program_parse.y were related to two changes in master One change prints a variable name in an error message. The other change adds outputVarSize to the OUTPUT_statement rule. The cause the position of the IDENTIFIER to change from $2 to $3. Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.y
2009-11-05mesa: fix infinite loop bug in _mesa_drawbuffers()Brian Paul
Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
2009-11-04mesa: added cast to silence warningBrian Paul
2009-11-04Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/windows/gdi/mesa.def
2009-11-04mesa: fix broken pack_histogram() case for GLhalfBrian Paul
2009-11-04mesa: silence warning from gcc 4.4.1Brian Paul
2009-11-03mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul
Revised version of a patch from Karl Schultz.
2009-11-03mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03mesa: clean-up, remove some flushing in FBO functionsBrian Paul
Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
2009-11-03mesa: fix indentationBrian Paul
2009-11-03mesa: clean-up formattingBrian Paul
2009-11-03mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()Brian Paul
2009-11-03mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()Brian Paul
2009-11-03mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()Brian Paul
2009-11-03mesa: use ffs() to shorten loop in _mesa_drawbuffers()Brian Paul
2009-11-03mesa: added assertion, another commentBrian Paul
2009-11-02mesa: added commentBrian Paul
2009-11-02mesa: use _mesa_get_current_tex_object()Brian Paul
2009-11-02mesa: make _mesa_get_current_tex_objec() publicBrian Paul
2009-11-02mesa: fix incorrect approx bits/channel for fxt1 formatsBrian Paul
See bug 24806.
2009-10-30mesa: better error messageBrian Paul
2009-10-30mesa: fix inverted buffer object testBrian Paul
Fixes bug 24799.
2009-10-30mesa: fix incorrect format info for MESA_FORMAT_SL8Brian Paul
Fixes bugs 24798 and 24801.
2009-10-29mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888Brian Paul
If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout.
2009-10-29mesa: lift memcpy_get_tex_image() code from intel driver into core MesaBrian Paul
The code should work for any driver.
2009-10-29mesa: refactor _mesa_get_teximage() codeBrian Paul
Break different formats into different functions to make it easier to read.
2009-10-29mesa: Add MESA_FORMAT_Z24_X8.José Fonseca
2009-10-29mesa: consolidate some code in _mesa_GetCompressedTexImageARB()Brian Paul
2009-10-29mesa: move pixels==NULL check in glGetTexImage()Brian Paul
2009-10-29mesa: consolidate some code in _mesa_GetTexImage()Brian Paul
2009-10-29mesa: move, clean-up _mesa_print_texture()Brian Paul
2009-10-29mesa: fix some tests in subtexture_error_check2()Brian Paul
Don't use hard-coded compressed block sizes. Update comments and error strings.
2009-10-29mesa: remove unneedded is_srgb_teximage() functionBrian Paul
Use _mesa_get_format_color_encoding() function instead.