Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: plumb winsys-drawable-handle through to state tracker | Keith Whitwell | 2010-03-10 | 2 | -3/+8 |
| | | | | | | | The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering. | ||||
* | i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT. | Eric Anholt | 2010-03-09 | 1 | -2/+4 |
| | | | | | Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. | ||||
* | i965: Unalias all GLSL source regs from the destination regs used. | Eric Anholt | 2010-03-09 | 1 | -113/+25 |
| | | | | | | | | | | | We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. | ||||
* | i965: Print the offsets for WHILE and BREAK in disasm. | Eric Anholt | 2010-03-09 | 1 | -2/+2 |
| | |||||
* | i965: Fix nested loops in the VS. | Eric Anholt | 2010-03-09 | 1 | -2/+4 |
| | | | | | | | We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. | ||||
* | i965: Fix up VP constbuf leak on program delete. | Eric Anholt | 2010-03-09 | 1 | -3/+11 |
| | |||||
* | r300: don't crash if there's no colorbuffer | Maciej Cencora | 2010-03-09 | 1 | -1/+6 |
| | |||||
* | radeon: mark framebuffer as incomplete if renderbuffer format isn't ↵ | Maciej Cencora | 2010-03-09 | 2 | -67/+62 |
| | | | | supported by hw | ||||
* | r300: add support for more rendering formats | Maciej Cencora | 2010-03-09 | 2 | -17/+79 |
| | |||||
* | radeon/r200/r300/r600: add is_format_renderable function | Maciej Cencora | 2010-03-09 | 9 | -0/+70 |
| | |||||
* | r300: enable HW accelerated gl(Read/Copy/Draw)Pixels | Maciej Cencora | 2010-03-09 | 1 | -2/+7 |
| | |||||
* | radeon: add hw accelerated glReadPixel support (not enabled yet) | Maciej Cencora | 2010-03-09 | 9 | -2/+203 |
| | |||||
* | glapi: Fix scons build -- list new file. | José Fonseca | 2010-03-09 | 1 | -0/+1 |
| | |||||
* | glapi: allow for any mangle prefix | George Sapountzis | 2010-03-09 | 1 | -2/+3 |
| | |||||
* | glapi: split out arch-specific code for entrypoints | George Sapountzis | 2010-03-09 | 4 | -295/+357 |
| | |||||
* | glapi: mv table functions to glapi_getproc.c and add local header | George Sapountzis | 2010-03-09 | 4 | -66/+98 |
| | |||||
* | drop stray XFree86Server, XGLServer | George Sapountzis | 2010-03-09 | 1 | -4/+4 |
| | |||||
* | mesa/st: initialize velements state properly | Roland Scheidegger | 2010-03-09 | 1 | -0/+1 |
| | | | | | | one variable is a bitfield where the rest is never written to, which caused valgrind to complain. Might have caused cso to not recognize an already stored state. Reported by Christoph Bumiller. | ||||
* | Merge branch 'gallium-vertexelementcso' | Roland Scheidegger | 2010-03-09 | 7 | -5/+26 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interface | Roland Scheidegger | 2010-03-09 | 5 | -0/+23 |
| | | | | | | | | somehow those got lost... | ||||
| * | st/mesa: fix mesa statetracker adaption to new vertex elements interface | Roland Scheidegger | 2010-03-01 | 1 | -1/+2 |
| | | |||||
| * | gallium: remove redundant nr_components field from pipe_vertex_element | Roland Scheidegger | 2010-02-17 | 2 | -4/+0 |
| | | | | | | | | | | This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead. | ||||
* | | mesa/st: Gallium quads, by spec, never change provoking vertex. | Corbin Simpson | 2010-03-09 | 1 | -0/+3 |
| | | | | | | | | Fixes glean/clipFlat for r300g. | ||||
* | | i965: Fix up the handling of point sprite coordinate replacement. | Eric Anholt | 2010-03-08 | 3 | -66/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. | ||||
* | | Merge branch '7.8' | Brian Paul | 2010-03-08 | 3 | -17/+86 |
|\ \ | |||||
| * | | st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() | Brian Paul | 2010-03-08 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932. | ||||
| * | | r600: enable GL_ARB_pixel_buffer_object | Alex Deucher | 2010-03-08 | 1 | -0/+1 |
| | | | |||||
| * | | mesa: add additional missing z formats for render to texture | Brian Paul | 2010-03-08 | 1 | -15/+83 |
| | | | | | | | | | | | | | | | Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc. | ||||
| * | | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | 2010-03-08 | 3 | -24/+6 |
| | | | |||||
| * | | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | 2010-03-08 | 3 | -0/+8 |
| | | | |||||
| * | | r600: recalculate point size, if point min/max size changes | Alex Deucher | 2010-03-08 | 1 | -0/+2 |
| | | | |||||
| * | | r600: no need to flush on context init | Alex Deucher | 2010-03-08 | 1 | -2/+0 |
| | | | |||||
| * | | r300: don't enable EXT_packed_depth_stencil | Maciej Cencora | 2010-03-08 | 1 | -1/+3 |
| | | | | | | | | | | | | R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats. | ||||
| * | | radeon: no need to emit full state twice after flush | Maciej Cencora | 2010-03-08 | 1 | -5/+0 |
| | | | |||||
| * | | r300: allow src and dst BOs to be placed in GTT during blit | Maciej Cencora | 2010-03-08 | 1 | -8/+2 |
| | | | | | | | | | | | | Fixes some relocation failures | ||||
| * | | r300: reset bos when validating buffers during blit | Maciej Cencora | 2010-03-08 | 1 | -0/+3 |
| | | | |||||
| * | | radeon: fallback to software in glCopyTexImage if blit isn't available | Maciej Cencora | 2010-03-08 | 1 | -0/+4 |
| | | | |||||
| * | | r300: VAP flush is needed only when vertex program or constants are changed | Maciej Cencora | 2010-03-08 | 4 | -25/+2 |
| | | | |||||
| * | | r300: recalculate point size, if point min/max size changes | Maciej Cencora | 2010-03-08 | 1 | -0/+2 |
| | | | | | | | | | | | | Fixes two wine d3d9 unit tests | ||||
| * | | r300: no need to flush on context init | Maciej Cencora | 2010-03-08 | 1 | -2/+0 |
| | | | |||||
| * | | r300: remove unnecessary code | Maciej Cencora | 2010-03-08 | 1 | -17/+0 |
| | | | | | | | | | | | | _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c | ||||
| * | | mesa: add render-to-texture case for MESA_FORMAT_S8_Z24 | Brian Paul | 2010-03-08 | 1 | -0/+5 |
| | | | |||||
| * | | mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer | Brian Paul | 2010-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | MESA_FORMAT_Z16 has no stencil bits. | ||||
* | | | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | 2010-03-08 | 3 | -24/+6 |
| | | | |||||
* | | | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | 2010-03-08 | 3 | -0/+8 |
| | | | |||||
* | | | r600: recalculate point size, if point min/max size changes | Alex Deucher | 2010-03-08 | 1 | -0/+2 |
| | | | |||||
* | | | r600: no need to flush on context init | Alex Deucher | 2010-03-08 | 1 | -2/+0 |
| | | | |||||
* | | | dri/nouveau: Split big client buffers in the indexed case too. | Francisco Jerez | 2010-03-07 | 1 | -4/+3 |
| | | | |||||
* | | | dri/nouveau: Fix nv[12]x color sum. | Francisco Jerez | 2010-03-07 | 3 | -3/+6 |
| | | | |||||
* | | | dri/nv04: GL_EXT_secondary_color | Andrew Randrianasulu | 2010-03-07 | 2 | -4/+14 |
| | | | | | | | | | | | | Signed-off-by: Francisco Jerez <[email protected]> |