summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Don't expose GLX_SWAP_EXCHANGE_OMLIan Romanick2010-02-101-2/+1
| | | | | | | | | We can't always guarantee that the swap will happen by exchange, so we can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the case where the swap *might be* by exchange. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Expose a minimal number of configs with accumulation bufferIan Romanick2010-02-101-0/+28
| | | | | | | | | | Expose one config per color depth that includes accumulation buffer. We could probably expose only one config with accumulation buffer, but that would require figuring out the actual color depth. This is easier and only exposes 2 useless configs. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* dri: Allow selective generation of accum. buffer configsIan Romanick2010-02-1016-22/+32
| | | | | | | | | | | Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* intel: Stop exposing useless 24 depth/0 stencil configsIan Romanick2010-02-101-7/+4
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2Ian Romanick2010-02-101-9/+0
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Update comment in intelInitScreen2 to noting DRI2 protocol issuesIan Romanick2010-02-101-3/+3
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesaunknown2010-02-103-1/+22
|\
| * glsl/pp: fix extension enable/disable optionsBrian Paul2010-02-103-1/+22
| | | | | | | | | | | | Now the #extension name: disable/enable flags do the right thing. Fixes glean/glsl1 "Preprocessor test (extension test 3)"
* | Add new symbol to exports listunknown2010-02-101-0/+1
|/
* Simplify GLSL extension mechanism.Michal Krol2010-02-106-18/+10
| | | | | Since extension name and extension name string are the same, collapse them into one name.
* glsl/pp: Fix ifdef directive for extension names.Michal Krol2010-02-101-42/+30
|
* glsl: GLSL extensions have the GL_ prefixBrian Paul2010-02-101-2/+2
| | | | | | | | | Both the #extension directive name and the preprocessor symbol start with the GL_ prefix. For example: ... New glean/glsl1 tests have been added to test the #extension feature.
* st/xorg: fix a silly offset bug in xvZack Rusin2010-02-101-2/+9
| | | | we were multiplying the difference in the wrong direction.
* r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA renameKristian Høgsberg2010-02-101-1/+1
| | | | Oops, I n00bed it.
* llvmpipe: Fix null pointer dereference when no depth buffer is bound.José Fonseca2010-02-101-0/+3
|
* llvmpipe: Leave depth buffer in swizzled format.José Fonseca2010-02-104-118/+78
| | | | This fixes several assertion failures due to only Z32 being supported.
* glu/sgi: Initialize member of class Uarray.Vinson Lee2010-02-101-0/+1
|
* llvmpipe: Remove unnecessary headers.Vinson Lee2010-02-102-3/+0
|
* egl_dri2: Only allocate config if we're going to keep itKristian Høgsberg2010-02-091-36/+31
| | | | Small optimization.
* egl_dri2: Initialize config attributes with visual id and class from XKristian Høgsberg2010-02-091-16/+58
|
* egl_dri2: Allow pbuffer and pixmap surfaces for all configsKristian Høgsberg2010-02-091-8/+7
|
* radeon: Fix printf formatings to match te values.Pauli Nieminen2010-02-102-2/+2
|
* radeon: Define EXT_framebuffer_object constants to match hw.Pauli Nieminen2010-02-104-0/+9
| | | | | | This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
* mesa: move all limit/constant assertions into check_context_limits()Brian Paul2010-02-091-30/+30
|
* Drop incorrectly revived files during the 'gallium-nopointsizeminmax' merge.Francisco Jerez2010-02-102-1173/+0
|
* r300g: One less assert.Corbin Simpson2010-02-091-1/+0
| | | | | This entire codepath needs to be cleaned to be more pliant towards shader failure.
* r300g: Don't write non-existent bit on non-r500.Corbin Simpson2010-02-091-4/+11
| | | | Might help with compiz being funky with MRTs.
* r300g: Correct colorbuffer measurements.Corbin Simpson2010-02-093-10/+36
| | | | Also clarify changes from pointminmax.
* r300g: Be ever-so-slightly more useful on bad shaders.Corbin Simpson2010-02-091-1/+3
|
* egl_dri2: Implement eglBindTexImage()Kristian Høgsberg2010-02-091-9/+76
|
* dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-096-20/+20
| | | | | | This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
* egl_dri2: Use a helper function for looking up and binding extensionsKristian Høgsberg2010-02-091-27/+52
|
* gallium/auxiliary: add -D__STDC_CONSTANT_MACROSBrian Paul2010-02-091-0/+3
| | | | Not sure why this is needed now, after the gallivm re-org.
* llvmpipe: remove .s rule (already in Makefile.template)Brian Paul2010-02-091-5/+0
|
* llvmpipe: lp_tile_surface.c isn't committed yetBrian Paul2010-02-091-1/+0
|
* radeon: Add some debug output for fbo supportPauli Nieminen2010-02-094-0/+80
|
* r200: Fix UMS notto emit stp.Pauli Nieminen2010-02-091-1/+4
| | | | | Polgon stipples are handled by kernel in UMS. Mark the state as never to be emited for UMS.
* Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger2010-02-0928-104/+1381
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
| * st/mesa: fix wrong initialization of MaxPointSizeRoland Scheidegger2010-02-081-0/+4
| |
| * gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-0410-6/+22
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
| * gallium: add point size clamp to implementation limits in vertex shaderRoland Scheidegger2010-02-045-1/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point size min/max registers (unused by mesa state tracker) were removed since most hardware couldn't do much with them. However, we don't want to have to rely on hw to do point size clamping correctly to implementation dependent limits, hence have to do that in the vertex shader. This should also solve a potential problem with (non-AA) points smaller than 1.0 which according to OGL still have size 1.0. Note that OGL point rendering is odd, in particular point sprites are rasterized differently to points. Some hardware might support those different modes, but in any case the different clamping values used for smooth/multisampled/sprite enabled points might help a bit for hw which rasterizes points the same as point sprites. Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in case of point attenuation.
| * docs: clean up TGSI_SEMANTIC_PSIZE descriptionRoland Scheidegger2010-02-031-4/+2
| | | | | | | | there was some confusion between point size state and point size output.
| * docs: fix point sprite documentationRoland Scheidegger2010-02-031-9/+10
| |
| * gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-0318-62/+64
| | | | | | | | | | | | | | | | | | | | Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
| * gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-1211-35/+11
| | | | | | | | | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* | gallium: Adding the %.s rule to generate asm codeChris Li2010-02-091-0/+3
| | | | | | | | Signed-off-by: José Fonseca <[email protected]>
* | gallium: Using the proper pattern rules for Makefile template.Chris Li2010-02-091-3/+3
| | | | | | | | | | | | The .o.c rule is consider obsolete. Signed-off-by: José Fonseca <[email protected]>
* | llvmpipe: Make llvm unit test depend on libllvmpipe.aChris Li2010-02-091-3/+2
| | | | | | | | Signed-off-by: José Fonseca <[email protected]>
* | vmware/core: Support drm interface version 1.0.0Jakob Bornecrantz2010-02-061-1/+1
| |
* | vmware/core: Use correct flags in scanout codeJakob Bornecrantz2010-02-061-4/+4
| |