summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-10gallium: plumb winsys-drawable-handle through to state trackerKeith Whitwell
The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering.
2010-03-09i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt
Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173.
2010-03-09i965: Unalias all GLSL source regs from the destination regs used.Eric Anholt
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.
2010-03-09i965: Print the offsets for WHILE and BREAK in disasm.Eric Anholt
2010-03-09i965: Fix nested loops in the VS.Eric Anholt
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.
2010-03-09i965: Fix up VP constbuf leak on program delete.Eric Anholt
2010-03-09r300: don't crash if there's no colorbufferMaciej Cencora
2010-03-09radeon: mark framebuffer as incomplete if renderbuffer format isn't ↵Maciej Cencora
supported by hw
2010-03-09r300: add support for more rendering formatsMaciej Cencora
2010-03-09radeon/r200/r300/r600: add is_format_renderable functionMaciej Cencora
2010-03-09r300: enable HW accelerated gl(Read/Copy/Draw)PixelsMaciej Cencora
2010-03-09radeon: add hw accelerated glReadPixel support (not enabled yet)Maciej Cencora
2010-03-09glapi: Fix scons build -- list new file.José Fonseca
2010-03-09glapi: allow for any mangle prefixGeorge Sapountzis
2010-03-09glapi: split out arch-specific code for entrypointsGeorge Sapountzis
2010-03-09glapi: mv table functions to glapi_getproc.c and add local headerGeorge Sapountzis
2010-03-09drop stray XFree86Server, XGLServerGeorge Sapountzis
2010-03-09mesa/st: initialize velements state properlyRoland Scheidegger
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.
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
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
2010-03-09st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interfaceRoland Scheidegger
somehow those got lost...
2010-03-09mesa/st: Gallium quads, by spec, never change provoking vertex.Corbin Simpson
Fixes glean/clipFlat for r300g.
2010-03-08i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt
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.
2010-03-08Merge branch '7.8'Brian Paul
2010-03-08st/mesa: don't detach renderbuffer, surface in st_finish_render_texture()Brian Paul
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.
2010-03-08r600: enable GL_ARB_pixel_buffer_objectAlex Deucher
2010-03-08mesa: add additional missing z formats for render to textureBrian Paul
Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher
2010-03-08r600: recalculate point size, if point min/max size changesAlex Deucher
2010-03-08r600: no need to flush on context initAlex Deucher
2010-03-08r300: don't enable EXT_packed_depth_stencilMaciej Cencora
R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
2010-03-08radeon: no need to emit full state twice after flushMaciej Cencora
2010-03-08r300: allow src and dst BOs to be placed in GTT during blitMaciej Cencora
Fixes some relocation failures
2010-03-08r300: reset bos when validating buffers during blitMaciej Cencora
2010-03-08radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora
2010-03-08r300: VAP flush is needed only when vertex program or constants are changedMaciej Cencora
2010-03-08r300: recalculate point size, if point min/max size changesMaciej Cencora
Fixes two wine d3d9 unit tests
2010-03-08r300: no need to flush on context initMaciej Cencora
2010-03-08r300: remove unnecessary codeMaciej Cencora
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
2010-03-08mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul
2010-03-08mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul
MESA_FORMAT_Z16 has no stencil bits.
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher
2010-03-08r600: recalculate point size, if point min/max size changesAlex Deucher
2010-03-08r600: no need to flush on context initAlex Deucher
2010-03-07dri/nouveau: Split big client buffers in the indexed case too.Francisco Jerez
2010-03-07dri/nouveau: Fix nv[12]x color sum.Francisco Jerez
2010-03-07dri/nv04: GL_EXT_secondary_colorAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07dri/nouveau: Trivially add GL_NV_blend_squareAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07dri/nouveau: Check _ColorDrawBuffers[0] before emitting fb state.Francisco Jerez