summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove a line of dead codeBrian Paul2009-12-311-1/+0
|
* docs: 7.8 relnotes: GL_NV_conditional_render and GL_EXT_draw_buffers2Brian Paul2009-12-311-1/+2
|
* mesa: enable ColorMaskIndexed in display listsBrian Paul2009-12-311-3/+1
|
* progs/tests: added test for GL_EXT_draw_buffers2Brian Paul2009-12-313-0/+366
| | | | | | Render into two color buffers (render targets). Display half of each buffer in the window. Use different color masks for each render target. Only enable blending for the second render target.
* mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul2009-12-311-0/+1
|
* docs: update status for conditional renderingBrian Paul2009-12-311-1/+1
|
* progs/tests: added conditional rendering test programBrian Paul2009-12-313-0/+244
|
* mesa: turn on NV_conditional_render for software driversBrian Paul2009-12-311-0/+1
|
* swrast: add check for conditional renderingBrian Paul2009-12-315-0/+20
|
* tnl: add check for conditional renderingBrian Paul2009-12-311-0/+4
|
* mesa: plug in API functions for conditional renderingBrian Paul2009-12-311-0/+5
|
* mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul2009-12-3113-2994/+3158
|
* mesa: added FLUSH_VERTICES(), more commentsBrian Paul2009-12-311-6/+10
|
* mesa: add flag for GL_NV_conditional_render extensionBrian Paul2009-12-313-2/+4
|
* mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul2009-12-316-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 functionBrian Paul2009-12-312-16/+17
|
* nv50: fix TEXLOD sequence and use it only in FPsChristoph Bumiller2009-12-311-1/+8
|
* nv50: cannot kill branch if immediate is usedChristoph Bumiller2009-12-311-0/+3
| | | | The immediate's bits eat the condition bits.
* nv50: make assimilate_temp safeChristoph Bumiller2009-12-311-16/+28
| | | | | Cannot change hw reg assigned to a TGSI TEMP on the fly if we are in a loop, conditional, or can jump around wildly.
* nv50: handle TGSI_OPCODE_EXP,LOGChristoph Bumiller2009-12-311-0/+59
| | | | Not that they make much sense on nv50, but we also do LIT ...
* nv50: add support for subroutinesChristoph Bumiller2009-12-311-53/+78
|
* nv50: alloc_reg on reg_instanceChristoph Bumiller2009-12-311-14/+15
| | | | | | If we create multiple instances of an nv50_reg referencing them same resource, register allocation from alloc_reg has to be done with the original nv50_reg.
* nv50: multiply polygon offset units by 2Christoph Bumiller2009-12-311-1/+1
|
* nv50: neg and abs modifiers for flopsChristoph Bumiller2009-12-311-28/+55
| | | | Also fixes RSQ of negative sources.
* nv50: don't negate immediates in set_immdChristoph Bumiller2009-12-311-12/+5
| | | | | | | | | | | | This negation would only be triggered in situations where it's incorrect. The caller of set_immd should negate the immediate value in the instruction itself if desired, and will also know if it's a float or an int. ADD TEMP[0], CONST[0], -IMMD[0] would load the immediate into extra TEMP, negated, and set the negate flag in add as well - double negation.
* docs: added GL 3.x feature checklist to track what's done in MesaBrian Paul2009-12-301-0/+62
|
* mesa: implement _mesa_GetStringi() for GL3Brian Paul2009-12-302-0/+31
| | | | Note: not plugged into the dispatch table yet.
* mesa: _mesa_get_enabled_extension() functionBrian Paul2009-12-302-0/+23
|
* mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul2009-12-305-0/+46
|
* mesa: simplify some extension testing codeBrian Paul2009-12-301-9/+20
|
* mesa: display list support for glClearBuffer functionsBrian Paul2009-12-301-0/+154
| | | | Note: some code disabled until dispatch table supports GL3 entrypoints.
* mesa: implement GL3 glClearBuffer() functionsBrian Paul2009-12-302-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.
* mklib: use a wrapper for arBrian Paul2009-12-301-50/+48
|
* nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40Luca Barbieri2009-12-306-55/+74
| | | | | | | | | | | | | | | | | | Currently in nvXX_transfer_new a temporary as large as the surface is created. If the subrectangle is not the whole texture we would need to read back the whole texture, but we aren't. Thus, everything but the subrectangle specified is loaded as garbage. This can be seen in progs/demos/ray. This patch fixes the problem by creating a temporary that covers only the desired subrectangle. That makes us hit an alignment assert in nv04_surface_2d.c. Fix it using the point registers instead of manipulating the swizzled surface offset to account for the destination coordinates (which do not seem to have a 1024 limit). Signed-off-by: Francisco Jerez <[email protected]>
* mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul2009-12-291-7/+17
|
* mesa: finish-up indexed color mask code in _mesa_PopAttrib()Brian Paul2009-12-291-1/+1
|
* mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul2009-12-292-8/+14
|
* mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul2009-12-2911-1747/+2138
|
* glapi: extension info for GL_EXT_draw_buffers2Brian Paul2009-12-291-0/+49
|
* mesa: added infrastructure for GL_EXT_draw_buffers2Brian Paul2009-12-295-10/+25
|
* mesa: add dlist support for indexed colormask and indexed enables/disablesBrian Paul2009-12-291-0/+77
| | | | Not plugged into dispatch table yet...
* mesa: implement per-buffer color maskingBrian Paul2009-12-2944-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 functionsBrian Paul2009-12-293-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 flagsBrian Paul2009-12-299-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.
* glsl: added default case in _fetch_token() to silence warningsBrian Paul2009-12-291-0/+2
|
* 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.
* mesa: remove gratuitous stores I added in remove_instructions.Eric Anholt2009-12-281-1/+0
|