aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Finish removing the fallback code for bug #16697.Eric Anholt2009-11-061-6/+2
| | | | I fixed it properly as of 7216679c1998b49ff5b08e6b43f8d5779415bf54.
* intel: Don't validate in a texture image used as a render target.Eric Anholt2009-11-063-11/+15
| | | | | Otherwise, we could lose track of rendering to that image, which could easily happen during mipmap generation.
* mesa: Attempt to pair up Driver.RenderTexture and FinishRenderTexture()Eric Anholt2009-11-061-0/+4
| | | | | | | | | | 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.
* intel: Clean up some extra struct indirection in finalize.Eric Anholt2009-11-061-2/+1
|
* intel: Use _mesa_get_current_tex_object() to clean up TFP path.Eric Anholt2009-11-061-4/+4
|
* intel: Remove duplicated arguments from intel_miptree_match_image().Eric Anholt2009-11-063-10/+7
|
* i965: Remove an XXX comment for testing some code that seems to work.Eric Anholt2009-11-061-1/+0
|
* intel: Remove obsolete comment about GEM in the spans code.Eric Anholt2009-11-061-1/+0
|
* intel: Use PIPE_CONTROL on gen4 hardware for doing pipeline flushing.Eric Anholt2009-11-067-51/+37
| | | | | | This should do all the things that MI_FLUSH did, but it can be pipelined so that further rendering isn't blocked on the flush completion unless necessary.
* Make a convenient int for what chipset generation we're on.Eric Anholt2009-11-065-9/+20
| | | | | | gen2/3/4 are easier to say than "8xx, 915-945/g33/pineview, 965/g45/misc", and compares on generation are often easier than stringing together a bunch of chipset checks.
* Merge branch 'mesa_7_6_branch'Ian Romanick2009-11-068-570/+508
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * ARB prog parser: Regenerate parser from previous commits.Ian Romanick2009-11-061-242/+268
| |
| * ARB prog parser: Release old program string in ↵Ian Romanick2009-11-062-4/+6
| | | | | | | | | | | | | | | | | | _mesa_parse_arb_{fragment,vertex}_program The program structure passed to _mesa_parse_arb_program is just a place holder. The stings that actually need to be released are only known to the functions calling _mesa_parse_arb_program, so they should be freed there.
| * ARB prog parser: Release strings returned from the lexer that don't need to ↵Ian Romanick2009-11-061-1/+27
| | | | | | | | be kept
| * Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface"Ian Romanick2009-11-065-337/+207
| | | | | | | | | | | | | | | | This reverts commit 93dae6761bc90bbd43b450d2673620ec189b2c7a. This change was completely broken when the parser uses multiple strings in a single production. It would be nice if bug fixes could initially land somewhere other than the stable branch.
| * xmesa: pass pixmap to clip_for_xgetimage()Brian Paul2009-11-051-4/+4
| | | | | | | | | | | | The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault.
| * mesa: added cast to silence warningBrian Paul2009-11-041-1/+1
| |
* | llvmpipe: Fix build with llvm 2.6.José Fonseca2009-11-062-5/+10
| | | | | | | | Fixes bug 24949.
* | intel: call intel_check_front_buffer_rendering() in intelClear()Brian Paul2009-11-061-0/+3
| | | | | | | | fixes bug 24953.
* | mesa: Export S3_s3tc as well.José Fonseca2009-11-061-0/+1
| | | | | | | | Used in Quake3.
* | mesa: Translate MAP_UNSYNCHRONIZED_BIT.José Fonseca2009-11-061-0/+3
| |
* | gallium: Add UNSYNCHRONIZED cpu access flag. Document others.José Fonseca2009-11-061-2/+57
| |
* | st/xorg: unify vertex buffer handlingZack Rusin2009-11-062-68/+66
| | | | | | | | first step on our way to batching
* | mesa: fix infinite loop bug in _mesa_drawbuffers()Brian Paul2009-11-051-1/+2
| | | | | | | | | | Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
* | softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca2009-11-051-2/+10
| | | | | | | | It is a valid and tested combination on D3D9.
* | g3dvl: remove a debug lineCooper Yuan2009-11-051-1/+0
| |
* | g3dvl: add scissor settingCooper Yuan2009-11-054-0/+13
| |
* | r300g: add polygon modeMarek Olšák2009-11-045-3/+67
| | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák2009-11-041-1/+1
| | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | r300g: set the correct offset in a colorbuffer surfaceMarek Olšák2009-11-041-8/+9
| | | | | | | | | | | | | | | | | | Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <[email protected]>
* | r300g: add color channel maskingMarek Olšák2009-11-044-5/+19
| | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-11-049-191/+191
|\| | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def
| * vbo: fix out-of-bounds array accessBrian Paul2009-11-043-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
| * mesa: fix broken pack_histogram() case for GLhalfBrian Paul2009-11-041-3/+4
| |
| * mesa: silence warning from gcc 4.4.1Brian Paul2009-11-041-2/+2
| |
| * Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
| * glslcompiler: Fix Mac OS build.Vinson Lee2009-11-041-1/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul2009-11-032-173/+173
| | | | | | | | Revised version of a patch from Karl Schultz.
| * windows: remove old entrypoints from mesa.def fileKarl Schultz2009-11-031-12/+0
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz2009-11-032-12/+12
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | ARB prog parser: include variable name in error textBrian Paul2009-11-043-468/+749
| |
* | st/xorg: these flushes shouldn't be necessaryZack Rusin2009-11-041-6/+0
| | | | | | | | performance optimization
* | r600: rework draw functionsAlex Deucher2009-11-041-64/+134
| | | | | | | | | | | | | | | | | | | | Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <[email protected]>
* | r600: fix count prediction for IB caseAlex Deucher2009-11-041-1/+1
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
* | Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
* | util: Remove homegrown Windows KM profiler.José Fonseca2009-11-043-332/+0
| | | | | | | | | | It's not sampling based so its results are biased towards functions called many times.
* | tgsi/ureg: Allow for multiple extended instruction tokens.Michal Krol2009-11-042-75/+94
| | | | | | | | | | For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling.
* | nv50: fix shader emit_tex for cube texturesChristoph Bumiller2009-11-041-14/+36
| |
* | nv50: add abs-modifier for emit_minmaxChristoph Bumiller2009-11-041-17/+31
| |
* | nv50: add 3d texture tiling and mip-mappingChristoph Bumiller2009-11-044-37/+114
| | | | | | | | | | | | | | | | | | Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5.