Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interface | Roland Scheidegger | 2010-03-09 | 5 | -0/+23 |
| | | | | somehow those got lost... | ||||
* | st/mesa: fix mesa statetracker adaption to new vertex elements interface | Roland Scheidegger | 2010-03-01 | 1 | -1/+2 |
| | |||||
* | gallium: remove redundant nr_components field from pipe_vertex_element | Roland Scheidegger | 2010-02-17 | 2 | -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 Paul | 2010-02-15 | 1 | -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 Lee | 2010-02-15 | 1 | -9/+4 |
| | |||||
* | st/mesa: minor assorted clean-ups | Brian Paul | 2010-02-14 | 1 | -8/+12 |
| | |||||
* | st/mesa: change some function return types | Brian Paul | 2010-02-14 | 1 | -15/+15 |
| | |||||
* | st/mesa: move per-fragment shader fields to local vars | Brian Paul | 2010-02-14 | 2 | -20/+19 |
| | |||||
* | st/mesa: use _mesa_clone_fragment_program() | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r600: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r300: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | glsl: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | mesa: added _mesa_clone_vertex/fragment_program() | Brian Paul | 2010-02-14 | 1 | -0/+16 |
| | | | | To reduce casting elsewhere... | ||||
* | r600: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-14 | 1 | -0/+4 |
| | |||||
* | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | 2010-02-14 | 1 | -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é Fonseca | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | mesa: Use util_format_name(). | José Fonseca | 2010-02-14 | 2 | -2/+2 |
| | |||||
* | r300: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r600: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 16 | -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 drivers | Brian Paul | 2010-02-13 | 1 | -2/+2 |
| | | | | | This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable. | ||||
* | glsl: implement layout qualifiers | Brian Paul | 2010-02-13 | 1 | -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 func | Brian Paul | 2010-02-13 | 2 | -2/+45 |
| | | | | | Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling. | ||||
* | mesa: copy frag coord layout fields too | Brian Paul | 2010-02-13 | 1 | -0/+2 |
| | |||||
* | mesa: Export GL_EXT_texture_cube_map. | José Fonseca | 2010-02-13 | 1 | -0/+1 |
| | | | | Still used by some applications. | ||||
* | mesa: s/abort/sys.exit/ | Vinson Lee | 2010-02-13 | 1 | -1/+2 |
| | | | | Python does not have the function abort. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-02-12 | 2 | -2/+0 |
| | |||||
* | i965: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 1 | -8/+0 |
| | |||||
* | dri: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 3 | -16/+0 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 2 | -3/+0 |
| | |||||
* | st/mesa: restore draw rasterization stage after rasterpos | Brian Paul | 2010-02-12 | 1 | -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 code | Brian Paul | 2010-02-12 | 1 | -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 comments | Brian Paul | 2010-02-12 | 6 | -22/+24 |
| | |||||
* | st/mesa: remove unused var | Brian Paul | 2010-02-12 | 1 | -3/+0 |
| | |||||
* | intel: Remove unused variable. | Vinson Lee | 2010-02-12 | 1 | -1/+0 |
| | |||||
* | intel: Avoid dri_bo_flink() in intel_update_renderbuffers() | Kristian Høgsberg | 2010-02-12 | 1 | -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 bo | Kristian Høgsberg | 2010-02-12 | 4 | -1/+41 |
| | |||||
* | dri: Store the loader private passed in at dri context creation | Kristian Høgsberg | 2010-02-12 | 2 | -1/+7 |
| | | | | We just threw it away before, but we haven't had a use for it yet. | ||||
* | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | 2010-02-12 | 3 | -4/+17 |
|\ | |||||
| * | gallium: make max_anisotropy a unsigned bitfield member | Roland Scheidegger | 2010-02-12 | 1 | -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 functions | Roland Scheidegger | 2010-02-11 | 1 | -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_alpha | Roland Scheidegger | 2010-02-11 | 1 | -17/+2 |
| | | | | | | | | makes life of state trackers easier | ||||
| * | st/mesa: more fixes for stencil ref change. | Roland Scheidegger | 2010-02-10 | 2 | -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_state | Roland Scheidegger | 2010-02-09 | 1 | -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 Glisse | 2010-02-12 | 1 | -1/+1 |
| | | | | | | | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things | ||||
* | | r600c: substract vbo offset to vbo size | Jerome Glisse | 2010-02-12 | 1 | -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 calculation | Andre Maasikas | 2010-02-12 | 1 | -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 attributes | Andre Maasikas | 2010-02-12 | 1 | -5/+5 |
| | | | | | | | | normalized seems to work with this setting. | ||||
* | | main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵ | Karl Schultz | 2010-02-11 | 1 | -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.h | Kristian Høgsberg | 2010-02-11 | 1 | -5/+3 |
| | | | | | | | | | | It's only used for a couple of integer types and and might conflict with other client API header files. |