summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-28swrast: fix RGB, RGBA texturing codeBrian Paul
Fix backward component ordering for RGB textures. Only optimize RGBA texture case if running little endian. This restriction could be lifted with a little work.
2009-10-28swrast: check for single texture unit in _swrast_choose_triangle()Brian Paul
2009-10-28swrast: clean up and remove dead code in triangle functionsBrian Paul
2009-10-28swrast: fix texel decoding in opt_sample_rgba_2d()Brian Paul
2009-10-28mesa: choose texture format in _mesa_get_fallback_texture()Brian Paul
2009-10-28Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-28mesa: Fix memory leak if we run out of memoryVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-28st/xorg: fix src coordinates in the video acceleration pathsZack Rusin
2009-10-28r600: add occlusion query supportAlex Deucher
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-28r300g: Use u_trim_pipe_prim to prevent lockups from incorrect vert counts.Corbin Simpson
Adapted from osiris' version on his tree.
2009-10-28r300g: Keep texture formats organized.Corbin Simpson
2009-10-28r300g: add some texture formatsMaciej Cencora
2009-10-28r300g: Clear up a bit of the buffer reference stuff.Corbin Simpson
Still need to actually get reference info from winsys somehow. Doing added buffers is easy, but knowing whether a flush has happened is a bit tricky.
2009-10-28r300g: Fix XXX.Corbin Simpson
Nothing strange here.
2009-10-28r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> DSA really needs its head examined someday. ~ C.
2009-10-28r300g: fix the WRAP_T mode when using 1D texturesMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-28r300g: fix blending and do some optimizationsMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-28mesa/st: fix crash in st_texture_image_copyMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-28intel: Fix memory leak in case of renderbuffer bad formatVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-28Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l
2009-10-28mesa: remove unneeded #includesBrian Paul
2009-10-28mesa: include imports.h to silence warningBrian Paul
2009-10-28intel: Fix memory leak in event of mip tree allocation failureVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-28llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build.José Fonseca
Basically mimic the llvm 2.6 way of linking execution engines and targets.
2009-10-28util: Drop return value from cpuid().José Fonseca
2009-10-28util: Fix cpuid on MSVC.José Fonseca
2009-10-28llvmpipe: Implement round() for MSVC.José Fonseca
2009-10-27mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functionsBrian Paul
2009-10-27mesa: consolidate CompressedTexSubImage1/2/3DARB() error checkingBrian Paul
2009-10-27mesa: simplify teximage code with get_current_tex_object()Brian Paul
2009-10-27mesa: code refactoring to eliminate a switch stmt in bind_buffer_object()Brian Paul
2009-10-27glsl: avoid redundant state changes in _mesa_use_program()Brian Paul
2009-10-27st/xorg: fix xvZack Rusin
2009-10-27ARB prog parser: Fix epic memory leak in lexer / parser interfaceIan Romanick
Anything that matched IDENTIFIER was strdup'ed and returned to the parser. However, almost every case of IDENTIFIER in the parser just dropped the returned string on the floor. Every swizzle string, every option string, every use of a variable, etc. leaked memory. Create a temporary buffer in the parser state (string_dumpster and dumpster_size). Return strings from the lexer to the parser in the buffer. Grow the buffer as needed. When the parser needs to keep a string (i.e., delcaring a new variable), let it make a copy then. The only leak that valgrind now detects is /occasionally/ the copy of the program string in gl_program::String is leaked. I'm not seeing how. :(
2009-10-27ARB prog parser: Don't leak program stringIan Romanick
The program string is kept in the program object. On the second call into glProgramStringARB the previous kept string would be leaked.
2009-10-27ARB prog parser: Don't leak symbol table header structuresIan Romanick
2009-10-27intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).Eric Anholt
Bug #24435 (cherry picked from commit d56125a298106d81e10674f1c4b3b43b51a5139d)
2009-10-27intel: added region draw_x/y offsets in x/y_tile_swizzle() funcsBrian Paul
This fixes the second part of bug 23552.
2009-10-27radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()Brian Paul
2009-10-27intel: silence warningBrian Paul
2009-10-27mesa: debug code for glBlitFramebuffer()Brian Paul
2009-10-27via: silence unused var warningsBrian Paul
2009-10-27intel: minor clean-up, commentsBrian Paul
2009-10-27intel: use _mesa_get_current_tex_unit() helperBrian Paul
2009-10-27mesa: s/Bilt/BlitBrian Paul
2009-10-27mesa: more texture debug code changes, improvementsBrian Paul
2009-10-27mesa: minor code clean-up in client_state()Brian Paul
2009-10-27mesa: avoid redundant state setting in glClientActiveTextureBrian Paul
Plus add code for verbose/debugging.
2009-10-27intel: fix comment, formattingBrian Paul