summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: remove unused varBrian Paul2010-02-121-3/+0
|
* intel: Remove unused variable.Vinson Lee2010-02-121-1/+0
|
* intel: Avoid dri_bo_flink() in intel_update_renderbuffers()Kristian Høgsberg2010-02-121-8/+2
| | | | | Now that we track the global name in struct intel_region, we can just look it up there.
* intel: Track named regions and make sure we only have one region per named boKristian Høgsberg2010-02-124-1/+41
|
* dri: Store the loader private passed in at dri context creationKristian Høgsberg2010-02-122-1/+7
| | | | We just threw it away before, but we haven't had a use for it yet.
* Merge branch 'gallium-dynamicstencilref'Roland Scheidegger2010-02-123-4/+17
|\
| * gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger2010-02-121-1/+1
| | | | | | | | | | | | | | saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
| * gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-111-0/+2
| | | | | | | | seems cleaner, and other dynamic state like viewport is handled that way too
| * gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-111-17/+2
| | | | | | | | makes life of state trackers easier
| * st/mesa: more fixes for stencil ref change.Roland Scheidegger2010-02-102-2/+20
| | | | | | | | | | compiles. Might need to do something to make it possible to save/restore stencil ref.
| * gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-091-1/+9
| | | | | | | | | | | | | | | | This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
* | Revert "r600c: substract vbo offset to vbo size"Jerome Glisse2010-02-121-1/+1
| | | | | | | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
* | r600c: substract vbo offset to vbo sizeJerome Glisse2010-02-121-1/+1
| | | | | | | | | | To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
* | r600: be more exact in vb size calculationAndre Maasikas2010-02-121-1/+2
| | | | | | | | | | to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
* | r600: support GL_SHORT attributesAndre Maasikas2010-02-121-5/+5
| | | | | | | | normalized seems to work with this setting.
* | main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵Karl Schultz2010-02-111-2/+2
| | | | | | | | | | | | just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines.
* | glapi: Avoid #including gl.hKristian Høgsberg2010-02-111-5/+3
| | | | | | | | | | It's only used for a couple of integer types and and might conflict with other client API header files.
* | i915: Remove always-true irq_active struct intel_screen fieldKristian Høgsberg2010-02-113-8/+0
| |
* | i915: Remove a few DRI1 era struct intel_screen fieldsKristian Høgsberg2010-02-112-9/+0
| |
* | i915: Drop intelScreenPrivate typedef and just call it struct intel_screenKristian Høgsberg2010-02-114-15/+9
| |
* | i915: Remove unused intelRegion structKristian Høgsberg2010-02-111-23/+0
| | | | | | | | Phew, sure is nice to only have one struct called intel region.
* | i915: Remove left-over drmUnmap()Kristian Høgsberg2010-02-112-7/+1
| |
* | mesa: additional constant/limit assertionsBrian Paul2010-02-111-0/+5
| |
* | st/mesa: fix gallium texture level selection for RTTBrian Paul2010-02-111-3/+11
| | | | | | | | | | | | | | | | Fixes invalid texture level when rendering to a texture where GL_BASE_LEVEL > 0. This will be cherry-picked to the 7.7 branch after additional testing.
* | st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c.Vinson Lee2010-02-101-1/+2
| |
* | swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2010-02-101-1/+1
| |
* | ffb: Fix build.Vinson Lee2010-02-101-1/+1
| |
* | dri: Fix one last copy-and-paste brain damage from a previous commitIan Romanick2010-02-101-1/+1
| |
* | scons: User friendly message for code generated filesJosé Fonseca2010-02-101-2/+2
| |
* | r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson2010-02-102-3/+14
| | | | | | | | Fixes fallout from 9a1bf52c.
* | dri: Fix copy-and-paste brain damage in previous commitIan Romanick2010-02-107-9/+9
| | | | | | | | | | | | | | | | | | | | A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <[email protected]>
* | 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-1015-19/+26
| | | | | | | | | | | | | | | | | | | | | | 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]>
* | Add new symbol to exports listunknown2010-02-101-0/+1
| |
* | Simplify GLSL extension mechanism.Michal Krol2010-02-101-2/+2
| | | | | | | | | | Since extension name and extension name string are the same, collapse them into one name.
* | 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.
* | r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA renameKristian Høgsberg2010-02-101-1/+1
| | | | | | | | Oops, I n00bed it.
* | 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
| |
* | dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-095-19/+19
| | | | | | | | | | | | 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.
* | 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-096-16/+126
|\ | | | | | | | | | | | | 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-041-1/+2
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).