summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* intel: Set the region's tiling to none when attaching a PBO to a region.Eric Anholt2010-01-281-0/+1
| | | | | | | | Note that when detaching the PBO from the region and making a new BO for the region, we don't make it tiled even if the region originally was. Fixes piglit pbo-teximage-tiling.
* i915: Remove unused initial and current state, now that there's nothing else.Eric Anholt2010-01-286-22/+10
|
* intel: Remove long-disabled meta readpixels, and associated meta support.Eric Anholt2010-01-2811-1178/+20
|
* Merge commit 'origin/perrtblend'Roland Scheidegger2010-01-283-39/+94
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
| * mesa/st: code cleanups for new blend functionalityRoland Scheidegger2010-01-261-9/+23
| | | | | | | | minor code changes, style and comment fixes
| * st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasksRoland Scheidegger2010-01-252-31/+72
| | | | | | | | uses the new gallium per-rt blend functionality
| * gallium: prepare for per-rendertarget blend enables, writemasks, blend funcsRoland Scheidegger2010-01-202-23/+23
| | | | | | | | | | | | | | | | GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and write masks per render target, ARB_draw_buffers_blend (and other APIs) also allow independent blend functions. Things like dithering, logic ops however are not extended to be per rendertarget, that might be conceptually possible however it doesn't look like any API wants to expose this.
* | gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-281-1/+1
| |
* | radeon: Silence "format" compiler warnings.Vinson Lee2010-01-281-1/+1
| |
* | swrast: s/FIXED_TO_FLOAT/FixedToFloat/Brian Paul2010-01-271-2/+2
| |
* | mesa: fix int/uint comparison warningsBrian Paul2010-01-272-6/+8
| | | | | | | | Reported by Karl Schultz.
* | mesa: fix double->float assignment warnings, int/uint comparison warningsBrian Paul2010-01-276-14/+14
| | | | | | | | Reported by Karl Schultz.
* | mesa: fix double->float assignment warningsBrian Paul2010-01-271-3/+3
| | | | | | | | Reported by Karl Schultz.
* | mesa: fix int/uint comparison warningsBrian Paul2010-01-272-7/+7
| | | | | | | | Reported by Karl Schultz.
* | tnl: fix double->float and int/uint conversion warningsBrian Paul2010-01-273-3/+3
| | | | | | | | Reported by Karl Schultz.
* | swrast: silence double->float assignment warningsBrian Paul2010-01-2711-52/+53
| | | | | | | | Reported by Karl Schultz.
* | mesa: more info in glActiveTexture error msgBrian Paul2010-01-271-1/+2
| |
* | r600: fix warningAlex Deucher2010-01-271-2/+0
| |
* | r600: rv670 support 8 tex instructions just like other r6xxAlex Deucher2010-01-271-3/+5
| | | | | | | | also clarify some other const values.
* | r600: increase max texture units to 16Andre Maasikas2010-01-272-5/+3
| |
* | r600: fix XPD with writemaskAndre Maasikas2010-01-271-7/+8
| | | | | | | | | | same variable used for 2 different temp registers fixes e.g. glsl/bump
* | radeon/r200/r300: don't clean non-emitted state.Dave Airlie2010-01-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | So if we don't actually emit an atom to the hw because we don't need it in the current state (e.g. lighting related atoms when lighting is off) then don't mark it as clean, because when lighting gets switched on we won't emit it at all. This fixes funky gears colors. Signed-off-by: Dave Airlie <[email protected]>
* | radeon: remove unused fileDave Airlie2010-01-271-681/+0
| |
* | intel: Remove dead code from having to clip copyteximage source rect.Eric Anholt2010-01-261-5/+0
| | | | | | | | mesa core does it now. If only it did so for other entrypoints.
* | intel: Use a handy helper in glReadPixels source clipping.Eric Anholt2010-01-264-64/+19
| |
* | intel: Clean up stale comments about cliprects.Eric Anholt2010-01-263-42/+4
| |
* | intel: Remove the remaining cliprects code from DRI1.Eric Anholt2010-01-262-22/+0
| |
* | intel: Remove DRI1 junk from spans code.Eric Anholt2010-01-261-30/+11
| | | | | | | | This reduces the driver size by over 1%.
* | intel: Remove DRI1 junk from blit glBitmap.Eric Anholt2010-01-261-82/+53
| |
* | intel: Remove DRI1 junk from CopyPixels.Eric Anholt2010-01-261-87/+50
| |
* | intel: Remove DRI1 junk from glClear blit implementation.Eric Anholt2010-01-261-174/+123
| |
* | i965: Remove DRI1 leftovers from stipple offset handling.Eric Anholt2010-01-261-3/+3
| |
* | st/mesa: Silence uninitialized variable warning.Vinson Lee2010-01-261-0/+1
| |
* | intel: Fix PBO blit ReadPixels from an FBO.Eric Anholt2010-01-261-44/+37
| | | | | | | | Bug #25921 -- clutter PBO usage gave unreliable results.
* | i965: Add support for EXT_draw_buffers2.Eric Anholt2010-01-262-2/+4
| |
* | i965: Fix fp fragment.position handling and enable HW part of ARB_fcc.Eric Anholt2010-01-263-16/+35
| | | | | | | | | | | | | | | | | | As with swrast, this fixes the default pixel center behavior which was broken, and implements the previous behavior for integer. Fixes piglit fp-arb-fragment-coord-conventions-none. The extension won't be exposed until we get the GLSL part implemented. The DRI1 origin_x/y parts are dropped since they're no longer relevant.
* | swrast: Implement ARB_fragment_coord_conventions but don't enable.Eric Anholt2010-01-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | This brings swrast's support up to the state of gallium, and fixes the default center behavior of fragment.position.xy in piglit fp-arb-fragment-coord-conventions-none. The extension is not enabled currently because the GLSL part of the extension isn't supported, so piglit glsl-arb-fragment-coord-conventions-define fails as would any serious test of the GLSL part.
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-263-14/+33
|\ \ | | | | | | | | | Merging was easier than cherry picking in this instance.
| * | mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit supportErik Wien2010-01-261-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
| * | vbo: if 'end' is out of bounds, clamp itBrian Paul2010-01-261-0/+4
| | | | | | | | | | | | | | | If we determine that the 'end' parameter to glDrawElements() is out of bounds, clamp it to the max legal index value.
| * | vbo: clamp DrawElements start/end to max possible valuesBrian Paul2010-01-261-0/+10
| | | | | | | | | | | | | | | Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
| * | mesa: remove redundant _MaxElement computationBrian Paul2010-01-261-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | Eric added some new code to check if offset < obj_size before computing _MaxElement but my original code was still present afterward and it clobbered the _MaxElement value. Not sure if this came from a bad merge or what.
* | | intel: make sure we update the renderbuffers after a swapJesse Barnes2010-01-261-0/+2
| | | | | | | | | | | | | | | | | | Now that LOCK_HARDWARE is gone, we don't have a convenient place to update the renderbuffers everywhere we need them. So grab new buffers when we invalidate the old ones until we optimize things further.
* | | intel: Don't do client-side frame throttling with DRI2 SwapBuffers.Eric Anholt2010-01-253-1/+7
| | | | | | | | | | | | | | | | | | | | | The server side does the throttling on our behalf now by putting the client to sleep, so we don't need our previous hacks for limiting the number of outstanding frames. Same effect as 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3.
* | | Revert "intel: Use the new DRI2 flush invalidate entrypoint to signal frame ↵Eric Anholt2010-01-252-21/+20
| | | | | | | | | | | | | | | | | | | | | done." This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke throttling in the non-new-DRI2 case.
* | | i965: Remove unnecessary malloc/free in VS binding table setup.Eric Anholt2010-01-252-4/+3
| | |
* | | i965: Fix build after merge of mesa stable branch.Eric Anholt2010-01-251-0/+1
| | |
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-2585-184/+22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * | st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul2010-01-241-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on a patch by Xavier Chantry <[email protected]>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
| * | mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul2010-01-241-3/+3
| | | | | | | | | | | | Part of a patch from Xavier Chantry <[email protected]>