summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Use util_format_name().José Fonseca2010-02-142-2/+2
|
* r300: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* r600: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* mesa: Fix compiler warningsKarl Schultz2010-02-1316-43/+43
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* mesa: enable GL_ARB_fragment_coord_conventions for sw driversBrian Paul2010-02-131-2/+2
| | | | | This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable.
* glsl: implement layout qualifiersBrian Paul2010-02-131-19/+110
| | | | | | | | | | | | | For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time.
* glsl: added type layout field and new type compare funcBrian Paul2010-02-132-2/+45
| | | | | Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling.
* mesa: copy frag coord layout fields tooBrian Paul2010-02-131-0/+2
|
* mesa: Export GL_EXT_texture_cube_map.José Fonseca2010-02-131-0/+1
| | | | Still used by some applications.
* mesa: s/abort/sys.exit/Vinson Lee2010-02-131-1/+2
| | | | Python does not have the function abort.
* mesa: Remove unnecessary header.Vinson Lee2010-02-122-2/+0
|
* i965: Remove unnecessary headers.Vinson Lee2010-02-121-8/+0
|
* dri: Remove unnecessary headers.Vinson Lee2010-02-123-16/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-02-122-3/+0
|
* st/mesa: restore draw rasterization stage after rasterposBrian Paul2010-02-121-0/+8
| | | | | | | This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
* st/mesa: improved draw_range_elements codeBrian Paul2010-02-121-9/+7
| | | | | | | | Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1.
* st/mesa: rename state -> tgsi, updated commentsBrian Paul2010-02-126-22/+24
|
* 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]>