summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3112-16/+18
|\ | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
| |
| * intel: Silence compiler warnings.Vinson Lee2009-12-289-14/+16
| |
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-275-3/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| | * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| | |
| | * intel: Silence implicit function declaration warning.Vinson Lee2009-12-251-0/+1
| | |
| | * i965: Fix assert.Vinson Lee2009-12-241-1/+1
| | |
| | * i965: Add missing va_end.Vinson Lee2009-12-241-0/+1
| | |
| | * ffb: Silence compiler warnings.Vinson Lee2009-12-221-1/+1
| | |
* | | mesa: implement per-buffer color maskingBrian Paul2009-12-2927-121/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* | | mesa: per-buffer blend enabled flagsBrian Paul2009-12-291-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
* | | intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt2009-12-281-7/+14
| | | | | | | | | | | | | | | | | | | | | The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
* | | intel: Allow binding a stencil but not a depth buffer.Eric Anholt2009-12-282-1/+7
| | | | | | | | | | | | | | | | | | Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
* | | intel: Improve INTEL_DEBUG=fbo output.Eric Anholt2009-12-281-1/+6
| | |
* | | intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt2009-12-282-5/+1
| | | | | | | | | | | | Noticed by clang.
* | | i965: Extra asserts on flow control instructions to clarify for clang.Eric Anholt2009-12-261-1/+3
| | |
* | | i965: Clean up double initialization of dst_flags from a rebase resolve.Eric Anholt2009-12-261-4/+0
| | | | | | | | | | | | Caught by clang.
* | | i965: Fix setup of immediate types for gen4 disasm.Eric Anholt2009-12-261-1/+1
| | | | | | | | | | | | Caught by clang.
* | | intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt2009-12-226-9/+13
| | | | | | | | | | | | Shaves 400 bytes or so from i915_dri.so.
* | | intel: Replace IS_965 checks with context structure usage.Eric Anholt2009-12-228-16/+18
| | | | | | | | | | | | Saves another 600 bytes or so of code.
* | | intel: Replace IS_G4X() across the driver with context structure usage.Eric Anholt2009-12-2216-59/+79
| | | | | | | | | | | | Saves ~2KB of code.
* | | intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.Eric Anholt2009-12-2224-62/+108
| | | | | | | | | | | | Saves ~480 bytes of code.
* | | intel: Fix leakage of active texture state in glBitmap fp metaops.Eric Anholt2009-12-221-0/+1
| | | | | | | | | | | | Noticed by clang.
* | | i915: Fix use of uninitialized variable in OPCODE_NOISE stub.Eric Anholt2009-12-221-1/+1
| | | | | | | | | | | | | | | | | | We don't actually care which register is used since we're just swizzling (0,0,0,0), but it should be a valid variable number. Detected by clang.
* | | mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.Eric Anholt2009-12-223-6/+7
| | | | | | | | | | | | | | | The same code is generated, and readers and static analyzers are happier.
* | | intel: Remove unused stored values reported by clang.Eric Anholt2009-12-225-18/+3
| | |
* | | mesa: Remove _mesa_exit wrapper for exit().Eric Anholt2009-12-226-6/+6
| | | | | | | | | | | | | | | It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
* | | mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.Brian Paul2009-12-221-2/+2
| | | | | | | | | | | | This is a little more logical. Suggested in bug report 25654.
* | | intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"Ian Romanick2009-12-211-1/+1
| | |
* | | Merge branch 'mesa_7_7_branch'Ian Romanick2009-12-211-1/+1
|\| | | | | | | | | | | | | | Conflicts: src/mesa/main/version.h
| * | intel: Bump driver date to reflect status as final Q4 driver RCIan Romanick2009-12-211-1/+1
| | |
* | | osmesa: Fix a copy/paste error in building libOSMesaJeremy Huddleston2009-12-211-1/+1
| | | | | | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* | | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-2121-34/+77
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-211-7/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
| | * radeon/r600: use new libdrm_radeon apiDave Airlie2009-12-2228-534/+645
| | |
| | * radeon: drop assert accessing cref which is meant to be hiddenDave Airlie2009-12-221-1/+0
| | |
| | * radeon: drop unused members of radeon_state.Dave Airlie2009-12-221-3/+0
| | |
| | * r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie2009-12-222-16/+15
| | | | | | | | | | | | these really shouldn't be exposed here
| | * r600: fix glFrontFace(GL_CW)Dave Airlie2009-12-211-7/+2
| | | | | | | | | | | | | | | | | | fd.o bug #25290 Suggested fix from Rafael Monica
| | * r600: Invert front face winding when rendering to FBOAlex Deucher2009-12-161-0/+4
| | | | | | | | | | | | | | | | | | fixes fdo bug 25679 Signed-off-by: Alex Deucher <[email protected]>
| * | radeon/r600: use new libdrm_radeon apiDave Airlie2009-12-2228-546/+644
| | |
| * | radeon: drop assert accessing cref which is meant to be hiddenDave Airlie2009-12-221-1/+0
| | |
| * | radeon: drop unused members of radeon_state.Dave Airlie2009-12-221-3/+0
| | |
| * | r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie2009-12-222-16/+15
| | | | | | | | | | | | these really shouldn't be exposed here
| * | i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).Eric Anholt2009-12-181-1/+6
| | |
| * | i915: Clean up some unnecessary x/y miptree code.Eric Anholt2009-12-181-10/+1
| | | | | | | | | | | | | | | | | | The base of the texture is always the base of the miptree. If it wasn't, we'd have issues with this code due to miptrees not walking the same direction for all LODs.
| * | i965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt()Eric Anholt2009-12-181-0/+14
| | | | | | | | | | | | Bug #25628. Fixes piglit case glsl-vs-sqrt-zero.
| * | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-168-7/+11
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/unichrome/via_ioctl.c src/mesa/drivers/dri/unichrome/via_screen.c src/mesa/main/version.h src/mesa/state_tracker/st_atom.c
| | * unichrome: Silence compiler warnings.Vinson Lee2009-12-153-4/+4
| | |
| | * sis: Silence compiler warnings.Vinson Lee2009-12-152-2/+2
| | |