Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | 2010-02-13 | 1 | -0/+2 |
| | |||||
* | llvmpipe: Silence uninitialized variable warning. | Vinson Lee | 2010-02-13 | 1 | -0/+2 |
| | |||||
* | softpipe: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-13 | 1 | -0/+3 |
| | |||||
* | st/python: fix build error after gallium-screen-context merge | Marek Olšák | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r300g: fix scons build | Marek Olšák | 2010-02-14 | 2 | -3/+3 |
| | |||||
* | softpipe: fix broken cubemap / mipmap selection code | Brian Paul | 2010-02-13 | 1 | -28/+71 |
| | | | | | | | | | | | | | | | | | | | This is a quick-fix for the time being... The per-face mipmap LOD computation was invalid at cube edges. In mip_filter_nearest/linear() we were trying to compute LOD using texcoords that were sometimes indexes into different cube faces. The subtraction used to compute the partial derivatives basically gave random values, so the LOD was unpredictable. This fix simply uses the same cube face for all four pixels in the quad. The per- face texcoords all reference the same cube face so the partial deriviates are computed properly. A more elaborate fix would involve computing the LOD at the same time as we choose the cube faces. But for now, this solution works well and allows the piglit/cubemap test to pass. (cherry picked from commit 1ff9cd5079b095d7050edb8dc6a7e5b8cad36e1e) | ||||
* | 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 |
| | |||||
* | glsl/cl: implement parsing for layout qualifiers | Brian Paul | 2010-02-13 | 1 | -4/+74 |
| | | | | For GL_ARB_fragment_coord_conventions support. | ||||
* | glsl/pp: fix incorrect extension enable flag for warn mode | Brian Paul | 2010-02-13 | 1 | -1/+1 |
| | |||||
* | mesa: Export GL_EXT_texture_cube_map. | José Fonseca | 2010-02-13 | 1 | -0/+1 |
| | | | | Still used by some applications. | ||||
* | wgl: Implement wglSwapMultipleBuffers. | José Fonseca | 2010-02-13 | 4 | -2/+31 |
| | |||||
* | svga: Fix texture border color. | José Fonseca | 2010-02-13 | 1 | -10/+6 |
| | | | | Also opposite ordering. | ||||
* | r300g: do not invalidate texture caches when only sampler state is changed | Marek Olšák | 2010-02-13 | 1 | -2/+3 |
| | |||||
* | r300g: cleanup the emission of RS block state | Marek Olšák | 2010-02-13 | 2 | -9/+13 |
| | | | | Emit as few regs as possible. | ||||
* | r300g: cleanup the emission of framebuffer state | Marek Olšák | 2010-02-13 | 2 | -11/+3 |
| | | | | Some emits are not needed anymore. | ||||
* | r300g: disable independent blend enables | Marek Olšák | 2010-02-13 | 2 | -7/+2 |
| | | | | Not supported by r300. | ||||
* | r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx | Marek Olšák | 2010-02-13 | 1 | -2/+1 |
| | |||||
* | 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 |
| | |||||
* | st/xlib: Remove unnecessary header. | Vinson Lee | 2010-02-12 | 1 | -1/+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 |
| | |||||
* | svga: Silence uninitialized variable warning. | Vinson Lee | 2010-02-12 | 1 | -1/+1 |
| | |||||
* | util: Properly init memory for blitter CSOs. | Corbin Simpson | 2010-02-12 | 1 | -8/+5 |
| | | | | Fixes misrender on r300g. | ||||
* | 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) | ||||
* | svga: A few more tweaks to blend color state emission. | José Fonseca | 2010-02-12 | 2 | -10/+8 |
| | |||||
* | svga: Clamp max cube texture levels to supported max 2d levels. | José Fonseca | 2010-02-12 | 1 | -1/+6 |
| | |||||
* | svga: Report the 2d/3d texture sizes supported by the host. | José Fonseca | 2010-02-12 | 2 | -5/+23 |
| | |||||
* | wgl: Go into dormant state when DLL is unloaded unclealy. | José Fonseca | 2010-02-12 | 1 | -0/+1 |
| | | | | | | When our DLL is unloaded, even if we leave the data structures in memory for sake of future calls, the MS CRT will destroy the heap. Instead we make all calls no-ops by setting stw_dev to NULL. | ||||
* | 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 |
| | |||||
* | cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query | Brian Paul | 2010-02-12 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | st/dri: don't expose visuals we'll have trouble supporting | Zack Rusin | 2010-02-12 | 1 | -9/+20 |
| | | | | | without getBuffersWithFormat some visuals will just cause headaches (crashes), so if we're running on an older system simply don't advertise them. | ||||
* | st/dri, st/xorg: fix buffers that have attachements of different depth | Zack Rusin | 2010-02-12 | 2 | -31/+77 |
| | | | | | | | | we actually need to specify the formats for different attachements, otherwise if the color buffer is 24bpp and the app asks for 16bpp depth buffer than we end up fetching the depth from the drawable which is 24bpp and end up creating the wrong depth buffer. use the new getBuffersWithFormat extension to pass the depth correctly. | ||||
* | svga: enable code to emit blend color | Roland Scheidegger | 2010-02-12 | 1 | -13/+1 |
| | |||||
* | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | 2010-02-12 | 66 | -195/+580 |
|\ | |||||
| * | cell: adjust structure padding | Brian Paul | 2010-02-12 | 1 | -1/+2 |
| | | | | | | | | | | | | The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes. | ||||
| * | cell: remove unused var | Brian Paul | 2010-02-12 | 1 | -1/+0 |
| | |