summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interfaceRoland Scheidegger2010-03-095-0/+23
| | | | somehow those got lost...
* st/mesa: fix mesa statetracker adaption to new vertex elements interfaceRoland Scheidegger2010-03-011-1/+2
|
* gallium: remove redundant nr_components field from pipe_vertex_elementRoland Scheidegger2010-02-172-4/+0
| | | | | This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead.
* vbo: fix broken glMultiDrawElements()Brian Paul2010-02-151-4/+5
| | | | | | Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633)
* mesa: Remove pointless comparison of unsigned integer with a negative constant.Vinson Lee2010-02-151-9/+4
|
* st/mesa: minor assorted clean-upsBrian Paul2010-02-141-8/+12
|
* st/mesa: change some function return typesBrian Paul2010-02-141-15/+15
|
* st/mesa: move per-fragment shader fields to local varsBrian Paul2010-02-142-20/+19
|
* st/mesa: use _mesa_clone_fragment_program()Brian Paul2010-02-141-1/+1
|
* r600: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* r300: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* glsl: use new program cloning functionsBrian Paul2010-02-141-2/+2
|
* mesa: added _mesa_clone_vertex/fragment_program()Brian Paul2010-02-141-0/+16
| | | | To reduce casting elsewhere...
* r600: Silence uninitialized variable warnings.Vinson Lee2010-02-141-0/+4
|
* mesa: Don't pass paramter to __builtin_clz which would hve undefined result.Pauli Nieminen2010-02-141-5/+11
| | | | | | | | | __builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case.
* mesa: Add missing include.José Fonseca2010-02-141-0/+1
|
* 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.