summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-12-29mesa: implement per-buffer color maskingBrian Paul
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().
2009-12-29mesa: per-buffer blend enabled flagsBrian Paul
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.
2009-12-28intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt
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.
2009-12-28intel: Allow binding a stencil but not a depth buffer.Eric Anholt
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.
2009-12-28intel: Improve INTEL_DEBUG=fbo output.Eric Anholt
2009-12-28intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt
Noticed by clang.
2009-12-26i965: Extra asserts on flow control instructions to clarify for clang.Eric Anholt
2009-12-26i965: Clean up double initialization of dst_flags from a rebase resolve.Eric Anholt
Caught by clang.
2009-12-26i965: Fix setup of immediate types for gen4 disasm.Eric Anholt
Caught by clang.
2009-12-22intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt
Shaves 400 bytes or so from i915_dri.so.
2009-12-22intel: Replace IS_965 checks with context structure usage.Eric Anholt
Saves another 600 bytes or so of code.
2009-12-22intel: Replace IS_G4X() across the driver with context structure usage.Eric Anholt
Saves ~2KB of code.
2009-12-22intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.Eric Anholt
Saves ~480 bytes of code.
2009-12-22intel: Fix leakage of active texture state in glBitmap fp metaops.Eric Anholt
Noticed by clang.
2009-12-22i915: Fix use of uninitialized variable in OPCODE_NOISE stub.Eric Anholt
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.
2009-12-22mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.Eric Anholt
The same code is generated, and readers and static analyzers are happier.
2009-12-22intel: Remove unused stored values reported by clang.Eric Anholt
2009-12-22mesa: Remove _mesa_exit wrapper for exit().Eric Anholt
It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
2009-12-22mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.Brian Paul
This is a little more logical. Suggested in bug report 25654.
2009-12-21intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"Ian Romanick
2009-12-21Merge branch 'mesa_7_7_branch'Ian Romanick
Conflicts: src/mesa/main/version.h
2009-12-21intel: Bump driver date to reflect status as final Q4 driver RCIan Romanick
2009-12-21osmesa: Fix a copy/paste error in building libOSMesaJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-21Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
2009-12-21Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
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
2009-12-22radeon/r600: use new libdrm_radeon apiDave Airlie
2009-12-22radeon: drop assert accessing cref which is meant to be hiddenDave Airlie
2009-12-22radeon: drop unused members of radeon_state.Dave Airlie
2009-12-22r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie
these really shouldn't be exposed here
2009-12-22radeon/r600: use new libdrm_radeon apiDave Airlie
2009-12-22radeon: drop assert accessing cref which is meant to be hiddenDave Airlie
2009-12-22radeon: drop unused members of radeon_state.Dave Airlie
2009-12-22r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie
these really shouldn't be exposed here
2009-12-21osmesa: added new GLSL libsBrian Paul
2009-12-21r600: fix glFrontFace(GL_CW)Dave Airlie
fd.o bug #25290 Suggested fix from Rafael Monica
2009-12-21r600: support more of arb_point_sprite and also sprite_coord_originAndre Maasikas
2009-12-21r600: disallow negative offsets for relative addressing for nowAndre Maasikas
otherwise for example const[ADDR-3] gets us 253 - ALU_SRC_LITERAL which expects immediate floats to follow and hangs
2009-12-21r600: fix glFrontFace(GL_CW)Dave Airlie
fd.o bug #25290 Suggested fix from Rafael Monica
2009-12-21radeon/r600: use new libdrm_radeon apiDave Airlie
2009-12-19r300: minor blit reworkMaciej Cencora
Use vert/tex coords instead of byte offsets for specyfing src/dst image offsets. This will allow for blitting between tiled/untiled buffers.
2009-12-19r300: better fix for glCopyTexSubImageMaciej Cencora
2009-12-18radeon: protect fbo allocation message with debugAlex Deucher
fixes fdo bug 25708 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-18r600 : enable gl2, set R600_ENABLE_GLSL_TEST by default.Richard Li
2009-12-18radeon: fix frontbuffer read/drawpixelsDave Airlie
Bug 25699 The main problem was the optimising flush wasn't doing the front rendering checks properly.
2009-12-17radeon: drop assert accessing cref which is meant to be hiddenDave Airlie
2009-12-17radeon: drop unused members of radeon_state.Dave Airlie
2009-12-17r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie
these really shouldn't be exposed here
2009-12-16r600: Invert front face winding when rendering to FBOAlex Deucher
fixes fdo bug 25679 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-16r600 : clean a bit to prepare to enable gl2.Richard Li
2009-12-15unichrome: Silence compiler warnings.Vinson Lee