summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-06intel: Don't validate in a texture image used as a render target.Eric Anholt
Otherwise, we could lose track of rendering to that image, which could easily happen during mipmap generation.
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-06intel: Clean up some extra struct indirection in finalize.Eric Anholt
2009-11-06intel: Use _mesa_get_current_tex_object() to clean up TFP path.Eric Anholt
2009-11-06intel: Remove duplicated arguments from intel_miptree_match_image().Eric Anholt
2009-11-06i965: Remove an XXX comment for testing some code that seems to work.Eric Anholt
2009-11-06intel: Remove obsolete comment about GEM in the spans code.Eric Anholt
2009-11-06intel: Use PIPE_CONTROL on gen4 hardware for doing pipeline flushing.Eric Anholt
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.
2009-11-06Make a convenient int for what chipset generation we're on.Eric Anholt
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.
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-06i965g: Match pitch modification on get buffer as wellJakob Bornecrantz
This is a ugly hack in order to match what the intel X driver gives us. However putting this in the winsys where it fits better forces it reach more into the driver then it already does.
2009-11-06ARB prog parser: Regenerate parser from previous commits.Ian Romanick
2009-11-06ARB prog parser: Release old program string in ↵Ian Romanick
_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.
2009-11-06ARB prog parser: Release strings returned from the lexer that don't need to ↵Ian Romanick
be kept
2009-11-06Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface"Ian Romanick
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.
2009-11-06progs/trivial: IgnoresJakob Bornecrantz
2009-11-06i965g: First clear!Jakob Bornecrantz
2009-11-06i965g: get rid of cc key, simplify state uploadKeith Whitwell
Keep a valid reloc table active between uploads, avoid recalculating it every time.
2009-11-06i965g: trivial/clear can now send stuff to hardwareJakob Bornecrantz
Added a flag if we should send commands to hardware as what we send isn't all that correct.
2009-11-06i965g: Fix texture blanket functionJakob Bornecrantz
2009-11-06i965g: Add functions needed by the winsysJakob Bornecrantz
2009-11-06i965g: Winsys whitespaceJakob Bornecrantz
2009-11-06i965g: Build winsys againJakob Bornecrantz
2009-11-06i965g: Header whitespaceJakob Bornecrantz
2009-11-06i965g: get brw_state_debug.c buildingKeith Whitwell
2009-11-06llvmpipe: Fix build with llvm 2.6.José Fonseca
Fixes bug 24949.
2009-11-06intel: call intel_check_front_buffer_rendering() in intelClear()Brian Paul
fixes bug 24953.
2009-11-06i965g: propogate index size stateKeith Whitwell
2009-11-06i965g: remove references to brw_surface_bo()Keith Whitwell
2009-11-06i965g: plumb through fb_write target and eot dataKeith Whitwell
2009-11-06i965g: propogate nr_cbufs into wm prog keyKeith Whitwell
2009-11-06mesa: Export S3_s3tc as well.José Fonseca
Used in Quake3.
2009-11-06mesa: Translate MAP_UNSYNCHRONIZED_BIT.José Fonseca
2009-11-06gallium: Add UNSYNCHRONIZED cpu access flag. Document others.José Fonseca
2009-11-06i965g: init saturate field in fp dst_reg helperKeith Whitwell
2009-11-06i965g: add dumping for our new pass_fp outputKeith Whitwell
2009-11-06i965g: disassemble each instruction as generatedKeith Whitwell
2009-11-06i965g: hardwire linear interpolation for nowKeith Whitwell
seems to generate saner code, need to go back and fix perspective interpolation (and remove the hard-wire) once this is working.
2009-11-06i965g: fix some reloc countsKeith Whitwell
2009-11-06i965g: don't set up vs stack register for non-branching shadersKeith Whitwell
2009-11-06i965g: add DEBUG_MIN_URB flagKeith Whitwell
2009-11-06i965g: tgsi outputs cannot be used as source regsKeith Whitwell
2009-11-06i965g: use curr.vertex_element state directlyKeith Whitwell
2009-11-06trivial: add vbo-tri, an even simpler version of tri.cKeith Whitwell
2009-11-06i965g: don't emit line stipple packet if stipple disabledKeith Whitwell
2009-11-06i965g: populate brw_context chipset idKeith Whitwell
2009-11-06i965g: make sure blend color packet header is initializedKeith Whitwell
We will emit this packet at startup (dirty == ~0), even if we haven't had the state tracker call into brw_set_blend_color() yet. This way is a little more efficient also.
2009-11-06i965g: remove/disable inactive state atomsKeith Whitwell
2009-11-06i965g: populate wm reloc array earlierKeith Whitwell
Still have to calculate the reloc background in two places.
2009-11-06i965g: point_rast_rule comment no longer appliesKeith Whitwell
Not sure exactly what state we want here now, will need to experiment.