summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-01scons: Expose convienience libraries to the host environment.José Fonseca4-218/+203
This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.
2010-01-01glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca1-6/+3
There are two ways to silent this: put inline keyword, or reimplement the hack as a #define. inline keyword actually varies slightly with compiler so I've opted by the latter.
2009-12-31nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller1-1/+1
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul84-429/+844
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
2009-12-31mesa: remove a line of dead codeBrian Paul1-1/+0
2009-12-31docs: 7.8 relnotes: GL_NV_conditional_render and GL_EXT_draw_buffers2Brian Paul1-1/+2
2009-12-31mesa: enable ColorMaskIndexed in display listsBrian Paul1-3/+1
2009-12-31progs/tests: added test for GL_EXT_draw_buffers2Brian Paul3-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.
2009-12-31mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul1-0/+1
2009-12-31docs: update status for conditional renderingBrian Paul1-1/+1
2009-12-31progs/tests: added conditional rendering test programBrian Paul3-0/+244
2009-12-31mesa: turn on NV_conditional_render for software driversBrian Paul1-0/+1
2009-12-31swrast: add check for conditional renderingBrian Paul5-0/+20
2009-12-31tnl: add check for conditional renderingBrian Paul1-0/+4
2009-12-31mesa: plug in API functions for conditional renderingBrian Paul1-0/+5
2009-12-31mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul13-2994/+3158
2009-12-31mesa: added FLUSH_VERTICES(), more commentsBrian Paul1-6/+10
2009-12-31mesa: add flag for GL_NV_conditional_render extensionBrian Paul3-2/+4
2009-12-31mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul6-0/+199
For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
2009-12-31mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul2-16/+17
2009-12-31swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul1-7/+3
When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
2009-12-31nv50: fix TEXLOD sequence and use it only in FPsChristoph Bumiller1-1/+8
2009-12-31nv50: cannot kill branch if immediate is usedChristoph Bumiller1-0/+3
The immediate's bits eat the condition bits.
2009-12-31nv50: make assimilate_temp safeChristoph Bumiller1-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.
2009-12-31nv50: handle TGSI_OPCODE_EXP,LOGChristoph Bumiller1-0/+59
Not that they make much sense on nv50, but we also do LIT ...
2009-12-31nv50: add support for subroutinesChristoph Bumiller1-53/+78
2009-12-31nv50: alloc_reg on reg_instanceChristoph Bumiller1-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.
2009-12-31nv50: multiply polygon offset units by 2Christoph Bumiller1-1/+1
2009-12-31nv50: neg and abs modifiers for flopsChristoph Bumiller1-28/+55
Also fixes RSQ of negative sources.
2009-12-31nv50: don't negate immediates in set_immdChristoph Bumiller1-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.
2009-12-31mesa: Silence unused variable warning.Vinson Lee1-0/+1
2009-12-30progs/glsl: Provide a better fix for fgets warning.Vinson Lee1-5/+2
2009-12-30docs: added GL 3.x feature checklist to track what's done in MesaBrian Paul1-0/+62
2009-12-30mesa: implement _mesa_GetStringi() for GL3Brian Paul2-0/+31
Note: not plugged into the dispatch table yet.
2009-12-30mesa: _mesa_get_enabled_extension() functionBrian Paul2-0/+23
2009-12-30mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul5-0/+46
2009-12-30mesa: simplify some extension testing codeBrian Paul1-9/+20
2009-12-30mesa: display list support for glClearBuffer functionsBrian Paul1-0/+154
Note: some code disabled until dispatch table supports GL3 entrypoints.
2009-12-30mesa: implement GL3 glClearBuffer() functionsBrian Paul2-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.
2009-12-30mklib: use a wrapper for arBrian Paul1-50/+48
2009-12-30nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40Luca Barbieri6-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 <currojerez@riseup.net>
2009-12-29st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul1-1/+2
Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
2009-12-29glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee1-1/+1
2009-12-29mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul1-7/+17
2009-12-29mesa: finish-up indexed color mask code in _mesa_PopAttrib()Brian Paul1-1/+1
2009-12-29mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul2-8/+14
2009-12-29mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul11-1747/+2138
2009-12-29glapi: extension info for GL_EXT_draw_buffers2Brian Paul1-0/+49
2009-12-29tdfx: Silence uninitialized variable warning.Vinson Lee1-1/+1
2009-12-29progs/glsl: Silence compiler warnings.Vinson Lee2-10/+3