summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu2009-11-051-0/+30
| | | | | | | | When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu2009-11-051-0/+30
| | | | | | | | When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Allow normal entry points to be skipped.Chia-I Wu2009-11-053-215/+274
| | | | | | | | | | | Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <[email protected]>
* mesa: fix infinite loop bug in _mesa_drawbuffers()Brian Paul2009-11-051-1/+2
| | | | | Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
* softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca2009-11-051-2/+10
| | | | It is a valid and tested combination on D3D9.
* g3dvl: remove a debug lineCooper Yuan2009-11-051-1/+0
|
* g3dvl: add scissor settingCooper Yuan2009-11-054-0/+13
|
* r300g: add polygon modeMarek Olšák2009-11-045-3/+67
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák2009-11-041-1/+1
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: set the correct offset in a colorbuffer surfaceMarek Olšák2009-11-041-8/+9
| | | | | | | | | Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <[email protected]>
* r300g: add color channel maskingMarek Olšák2009-11-044-5/+19
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* Merge branch 'mesa_7_6_branch'Brian Paul2009-11-049-191/+191
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def
| * vbo: fix out-of-bounds array accessBrian Paul2009-11-043-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
| * mesa: fix broken pack_histogram() case for GLhalfBrian Paul2009-11-041-3/+4
| |
| * mesa: silence warning from gcc 4.4.1Brian Paul2009-11-041-2/+2
| |
| * Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
| * glslcompiler: Fix Mac OS build.Vinson Lee2009-11-041-1/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul2009-11-032-173/+173
| | | | | | | | Revised version of a patch from Karl Schultz.
| * windows: remove old entrypoints from mesa.def fileKarl Schultz2009-11-031-12/+0
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz2009-11-032-12/+12
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | ARB prog parser: include variable name in error textBrian Paul2009-11-043-468/+749
| |
* | st/xorg: these flushes shouldn't be necessaryZack Rusin2009-11-041-6/+0
| | | | | | | | performance optimization
* | r600: rework draw functionsAlex Deucher2009-11-041-64/+134
| | | | | | | | | | | | | | | | | | | | Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <[email protected]>
* | r600: fix count prediction for IB caseAlex Deucher2009-11-041-1/+1
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
* | Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
* | util: Remove homegrown Windows KM profiler.José Fonseca2009-11-043-332/+0
| | | | | | | | | | It's not sampling based so its results are biased towards functions called many times.
* | tgsi/ureg: Allow for multiple extended instruction tokens.Michal Krol2009-11-042-75/+94
| | | | | | | | | | For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling.
* | nv50: fix shader emit_tex for cube texturesChristoph Bumiller2009-11-041-14/+36
| |
* | nv50: add abs-modifier for emit_minmaxChristoph Bumiller2009-11-041-17/+31
| |
* | nv50: add 3d texture tiling and mip-mappingChristoph Bumiller2009-11-044-37/+114
| | | | | | | | | | | | | | | | | | Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5.
* | llvmpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-031-24/+10
| | | | | | | | | | | | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. Based on Michal's softpipe commit eb699d64ec7057032139baccedcb0694ca41d706.
* | llvmpipe: remove old prim_setup draw stageKeith Whitwell2009-11-0310-386/+59
| | | | | | | | | | | | | | Everything now goes through the draw_vbuf handler, the same as regular drivers. Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4.
* | llvmpipe: Respect gl_rasterization_rules in primitive setup.José Fonseca2009-11-031-18/+30
| | | | | | | | | | Based on Michal's identical commit for softpipe (ca9c413647bf9efb5ed770e3a655bc758075aec7).
* | python/retrace: Cope with null constant buffers.José Fonseca2009-11-031-1/+1
| |
* | python/retrace: Add missing colon.José Fonseca2009-11-031-1/+1
| |
* | tgsi: Up tgsi_exec's control flow nesting to 32.Michal Krol2009-11-031-3/+3
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-11-034-14/+26
|\|
| * st/mesa: clip pixels in draw_stencil_pixels to avoid crashMarek Olšák2009-11-031-5/+15
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencilBrian Paul2009-11-031-0/+2
| | | | | | | | | | | | | | | | util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT).
| * st/mesa: fix tests for depth and depth/stencil texture formatsBrian Paul2009-11-031-7/+5
| |
| * glx: Fix memory leak if XF86DRICreateDrawable() failsVinson Lee2009-11-021-1/+3
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * Add --with-dri-searchpath argumentChow Loong Jin2009-10-301-1/+1
| | | | | | | | | | | | | | * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <[email protected]>
* | mesa: clean-up, remove some flushing in FBO functionsBrian Paul2009-11-031-7/+11
| | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
* | mesa: fix indentationBrian Paul2009-11-031-2/+1
| |
* | mesa: clean-up formattingBrian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()Brian Paul2009-11-031-7/+10
| |
* | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()Brian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()Brian Paul2009-11-031-9/+29
| |
* | mesa: use ffs() to shorten loop in _mesa_drawbuffers()Brian Paul2009-11-031-6/+10
| |
* | mesa: added assertion, another commentBrian Paul2009-11-031-1/+3
| |