summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-10st/mesa: set strb->format field in st_render_texture()Brian Paul
This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now.
2010-03-10st/mesa: add some comments in glReadPixels codeBrian Paul
2010-03-10st/mesa: consolidate duplicated texture allocation codeBrian Paul
2010-03-10Merge branch '7.8'Brian Paul
2010-03-10st/mesa: fix incorrect glCopyPixels between window/FBOBrian Paul
There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)
2010-03-10st/mesa: fix incorrect glDrawPixels into FBOBrian Paul
We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
2010-03-10Merge branch '7.8'Michel Dänzer
2010-03-10r200: add additional blit formatsAlex Deucher
2010-03-10r100: add additional blit formatsAlex Deucher
2010-03-10radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher
2010-03-10glapi: fix bug with tls and relocsGeorge Sapountzis
add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template.
2010-03-10glapi: these two should be ok for add_dispatch ...George Sapountzis
- a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ?
2010-03-10glapi: comments for _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: minor cosmetic for _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: add function set_entry_infoGeorge Sapountzis
2010-03-10glapi: parameter checking, failure paths, ... for add_function_nameGeorge Sapountzis
2010-03-10glapi: cosmetic for _glapi_add_dispatchGeorge Sapountzis
- static vs. extension - indent - s/new_offset/static_offset/ - ...
2010-03-10glapi: use get_extension_proc in _glapi_add_dispatchGeorge Sapountzis
2010-03-10glapi: cosmetic for functions for static tableGeorge Sapountzis
make similar to functions for extensions table
2010-03-10glapi: add function to find extension by nameGeorge Sapountzis
2010-03-10glapi: functions for extensions table similar to static tableGeorge Sapountzis
2010-03-10gallium: Do not mix winsys-drawable-handle and context-private.Chia-I Wu
update_buffer should be called with context-private, not winsys-drawable-handle.
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-08radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher
noticed by fredrikh on IRC.
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