Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add flag for GL_NV_conditional_render extension | Brian Paul | 2009-12-31 | 3 | -2/+4 |
| | |||||
* | mesa: _mesa_Begin/EndConditionalRender() functions | Brian Paul | 2009-12-31 | 6 | -0/+199 |
| | | | | | | | For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet. | ||||
* | mesa: make _mesa_lookup_query_object() an non-private inline function | Brian Paul | 2009-12-31 | 2 | -16/+17 |
| | |||||
* | mesa: implement _mesa_GetStringi() for GL3 | Brian Paul | 2009-12-30 | 2 | -0/+31 |
| | | | | Note: not plugged into the dispatch table yet. | ||||
* | mesa: _mesa_get_enabled_extension() function | Brian Paul | 2009-12-30 | 2 | -0/+23 |
| | |||||
* | mesa: implement GL3 GL_NUM_EXTENSIONS query | Brian Paul | 2009-12-30 | 5 | -0/+46 |
| | |||||
* | mesa: simplify some extension testing code | Brian Paul | 2009-12-30 | 1 | -9/+20 |
| | |||||
* | mesa: display list support for glClearBuffer functions | Brian Paul | 2009-12-30 | 1 | -0/+154 |
| | | | | Note: some code disabled until dispatch table supports GL3 entrypoints. | ||||
* | mesa: implement GL3 glClearBuffer() functions | Brian Paul | 2009-12-30 | 2 | -0/+357 |
| | | | | | | | | | | | | These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time. | ||||
* | mesa: fix-up blend enable/disable code in _mesa_PopAttrib() | Brian Paul | 2009-12-29 | 1 | -7/+17 |
| | |||||
* | mesa: finish-up indexed color mask code in _mesa_PopAttrib() | Brian Paul | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | mesa: plug in GL_EXT_draw_buffers2 functions | Brian Paul | 2009-12-29 | 2 | -8/+14 |
| | |||||
* | mesa: regenerate API files related to GL_EXT_draw_buffers2 | Brian Paul | 2009-12-29 | 11 | -1747/+2138 |
| | |||||
* | glapi: extension info for GL_EXT_draw_buffers2 | Brian Paul | 2009-12-29 | 1 | -0/+49 |
| | |||||
* | mesa: added infrastructure for GL_EXT_draw_buffers2 | Brian Paul | 2009-12-29 | 5 | -10/+25 |
| | |||||
* | mesa: add dlist support for indexed colormask and indexed enables/disables | Brian Paul | 2009-12-29 | 1 | -0/+77 |
| | | | | Not plugged into dispatch table yet... | ||||
* | mesa: implement per-buffer color masking | Brian Paul | 2009-12-29 | 44 | -230/+350 |
| | | | | | | | | | | | 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: implement indexed glGet functions | Brian Paul | 2009-12-29 | 3 | -20/+140 |
| | | | | | | | | The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time. | ||||
* | mesa: per-buffer blend enabled flags | Brian Paul | 2009-12-29 | 9 | -20/+126 |
| | | | | | | | | | | | | | | | 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 Anholt | 2009-12-28 | 1 | -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 Anholt | 2009-12-28 | 2 | -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 Anholt | 2009-12-28 | 1 | -1/+6 |
| | |||||
* | intel: Remove dead fthrottle_mode option. We only do IRQ waits. | Eric Anholt | 2009-12-28 | 2 | -5/+1 |
| | | | | Noticed by clang. | ||||
* | mesa: remove gratuitous stores I added in remove_instructions. | Eric Anholt | 2009-12-28 | 1 | -1/+0 |
| | |||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-27 | 3 | -9/+17 |
|\ | |||||
| * | st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM | Brian Paul | 2009-12-27 | 1 | -0/+2 |
| | | |||||
| * | gallium: only create pipe buffer when size is nonzero | Maarten Maathuis | 2009-12-23 | 1 | -6/+10 |
| | | | | | | | | | | | | - This fixes a crash upon starting spring (a rts engine/game). Signed-off-by: Maarten Maathuis <[email protected]> | ||||
| * | mesa: fix binary() function, printf format string | Brian Paul | 2009-12-22 | 1 | -3/+5 |
| | | | | | | | | | | Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug. | ||||
* | | i965: Extra asserts on flow control instructions to clarify for clang. | Eric Anholt | 2009-12-26 | 1 | -1/+3 |
| | | |||||
* | | i965: Clean up double initialization of dst_flags from a rebase resolve. | Eric Anholt | 2009-12-26 | 1 | -4/+0 |
| | | | | | | | | Caught by clang. | ||||
* | | i965: Fix setup of immediate types for gen4 disasm. | Eric Anholt | 2009-12-26 | 1 | -1/+1 |
| | | | | | | | | Caught by clang. | ||||
* | | gallium: add geometry shader support to gallium | Zack Rusin | 2009-12-25 | 1 | -1/+2 |
| | | |||||
* | | intel: Replace some gen3 IS_* checks with context structure usage. | Eric Anholt | 2009-12-22 | 6 | -9/+13 |
| | | | | | | | | Shaves 400 bytes or so from i915_dri.so. | ||||
* | | intel: Replace IS_965 checks with context structure usage. | Eric Anholt | 2009-12-22 | 8 | -16/+18 |
| | | | | | | | | Saves another 600 bytes or so of code. | ||||
* | | intel: Replace IS_G4X() across the driver with context structure usage. | Eric Anholt | 2009-12-22 | 16 | -59/+79 |
| | | | | | | | | Saves ~2KB of code. | ||||
* | | intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync. | Eric Anholt | 2009-12-22 | 24 | -62/+108 |
| | | | | | | | | Saves ~480 bytes of code. | ||||
* | | mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname); | Eric Anholt | 2009-12-22 | 1 | -3/+5 |
| | | | | | | | | Fixes piglit ati-fs-bad-delete. Caught by clang. | ||||
* | | mesa: remove unnecessary store. | Eric Anholt | 2009-12-22 | 1 | -3/+0 |
| | | |||||
* | | mesa: Remove an unnecessary store reported by clang. | Eric Anholt | 2009-12-22 | 1 | -2/+0 |
| | | | | | | | | | | This was a workaround for a compiler warning that was showing a real error. The real error was later fixed. | ||||
* | | intel: Fix leakage of active texture state in glBitmap fp metaops. | Eric Anholt | 2009-12-22 | 1 | -0/+1 |
| | | | | | | | | Noticed by clang. | ||||
* | | i915: Fix use of uninitialized variable in OPCODE_NOISE stub. | Eric Anholt | 2009-12-22 | 1 | -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 Anholt | 2009-12-22 | 4 | -12/+7 |
| | | | | | | | | | | The same code is generated, and readers and static analyzers are happier. | ||||
* | | intel: Remove unused stored values reported by clang. | Eric Anholt | 2009-12-22 | 5 | -18/+3 |
| | | |||||
* | | mesa: Remove _mesa_exit wrapper for exit(). | Eric Anholt | 2009-12-22 | 13 | -26/+12 |
| | | | | | | | | | | 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 Paul | 2009-12-22 | 3 | -9/+27 |
| | | | | | | | | This is a little more logical. Suggested in bug report 25654. | ||||
* | | mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction | Brian Paul | 2009-12-22 | 2 | -6/+20 |
| | | | | | | | | To be more consistant. | ||||
* | | mesa: added some assertions in BNGLOOP/ENDLOOP cases | Brian Paul | 2009-12-22 | 1 | -0/+4 |
| | | |||||
* | | Merge branch 'gallium-edgeflags' | Roland Scheidegger | 2009-12-22 | 7 | -112/+130 |
|\ \ | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c | ||||
| * | | gallium: don't use edgeflags if the app didn't supply them | Roland Scheidegger | 2009-12-19 | 3 | -4/+16 |
| | | | |||||
| * | | gallium: fix not generating new vp varient when polygon mode changes | Roland Scheidegger | 2009-12-19 | 1 | -1/+1 |
| | | |