summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: plumb winsys-drawable-handle through to state trackerKeith Whitwell2010-03-102-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 Anholt2010-03-091-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 Anholt2010-03-091-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 Anholt2010-03-091-2/+2
|
* i965: Fix nested loops in the VS.Eric Anholt2010-03-091-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 Anholt2010-03-091-3/+11
|
* r300: don't crash if there's no colorbufferMaciej Cencora2010-03-091-1/+6
|
* radeon: mark framebuffer as incomplete if renderbuffer format isn't ↵Maciej Cencora2010-03-092-67/+62
| | | | supported by hw
* r300: add support for more rendering formatsMaciej Cencora2010-03-092-17/+79
|
* radeon/r200/r300/r600: add is_format_renderable functionMaciej Cencora2010-03-099-0/+70
|
* r300: enable HW accelerated gl(Read/Copy/Draw)PixelsMaciej Cencora2010-03-091-2/+7
|
* radeon: add hw accelerated glReadPixel support (not enabled yet)Maciej Cencora2010-03-099-2/+203
|
* glapi: Fix scons build -- list new file.José Fonseca2010-03-091-0/+1
|
* glapi: allow for any mangle prefixGeorge Sapountzis2010-03-091-2/+3
|
* glapi: split out arch-specific code for entrypointsGeorge Sapountzis2010-03-094-295/+357
|
* glapi: mv table functions to glapi_getproc.c and add local headerGeorge Sapountzis2010-03-094-66/+98
|
* drop stray XFree86Server, XGLServerGeorge Sapountzis2010-03-091-4/+4
|
* mesa/st: initialize velements state properlyRoland Scheidegger2010-03-091-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 Scheidegger2010-03-097-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 interfaceRoland Scheidegger2010-03-095-0/+23
| | | | | | | | somehow those got lost...
| * st/mesa: fix mesa statetracker adaption to new vertex elements interfaceRoland Scheidegger2010-03-011-1/+2
| |
| * gallium: remove redundant nr_components field from pipe_vertex_elementRoland Scheidegger2010-02-172-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 Simpson2010-03-091-0/+3
| | | | | | | | Fixes glean/clipFlat for r300g.
* | i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt2010-03-083-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 Paul2010-03-083-17/+86
|\ \
| * | st/mesa: don't detach renderbuffer, surface in st_finish_render_texture()Brian Paul2010-03-081-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_objectAlex Deucher2010-03-081-0/+1
| | |
| * | mesa: add additional missing z formats for render to textureBrian Paul2010-03-081-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 blitAlex Deucher2010-03-083-24/+6
| | |
| * | radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher2010-03-083-0/+8
| | |
| * | r600: recalculate point size, if point min/max size changesAlex Deucher2010-03-081-0/+2
| | |
| * | r600: no need to flush on context initAlex Deucher2010-03-081-2/+0
| | |
| * | r300: don't enable EXT_packed_depth_stencilMaciej Cencora2010-03-081-1/+3
| | | | | | | | | | | | R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
| * | radeon: no need to emit full state twice after flushMaciej Cencora2010-03-081-5/+0
| | |
| * | r300: allow src and dst BOs to be placed in GTT during blitMaciej Cencora2010-03-081-8/+2
| | | | | | | | | | | | Fixes some relocation failures
| * | r300: reset bos when validating buffers during blitMaciej Cencora2010-03-081-0/+3
| | |
| * | radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora2010-03-081-0/+4
| | |
| * | r300: VAP flush is needed only when vertex program or constants are changedMaciej Cencora2010-03-084-25/+2
| | |
| * | r300: recalculate point size, if point min/max size changesMaciej Cencora2010-03-081-0/+2
| | | | | | | | | | | | Fixes two wine d3d9 unit tests
| * | r300: no need to flush on context initMaciej Cencora2010-03-081-2/+0
| | |
| * | r300: remove unnecessary codeMaciej Cencora2010-03-081-17/+0
| | | | | | | | | | | | _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
| * | mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul2010-03-081-0/+5
| | |
| * | mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul2010-03-081-1/+1
| | | | | | | | | | | | MESA_FORMAT_Z16 has no stencil bits.
* | | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher2010-03-083-24/+6
| | |
* | | radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher2010-03-083-0/+8
| | |
* | | r600: recalculate point size, if point min/max size changesAlex Deucher2010-03-081-0/+2
| | |
* | | r600: no need to flush on context initAlex Deucher2010-03-081-2/+0
| | |
* | | dri/nouveau: Split big client buffers in the indexed case too.Francisco Jerez2010-03-071-4/+3
| | |
* | | dri/nouveau: Fix nv[12]x color sum.Francisco Jerez2010-03-073-3/+6
| | |
* | | dri/nv04: GL_EXT_secondary_colorAndrew Randrianasulu2010-03-072-4/+14
| | | | | | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>