summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r300: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* r600: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* glu/sgi: Initialize members of class Curvelist.Vinson Lee2010-02-131-0/+2
|
* llvmpipe: Silence uninitialized variable warning.Vinson Lee2010-02-131-0/+2
|
* softpipe: Silence uninitialized variable warnings.Vinson Lee2010-02-131-0/+3
|
* st/python: fix build error after gallium-screen-context mergeMarek Olšák2010-02-141-1/+1
|
* r300g: fix scons buildMarek Olšák2010-02-142-3/+3
|
* softpipe: fix broken cubemap / mipmap selection codeBrian Paul2010-02-131-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 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
|
* glsl/cl: implement parsing for layout qualifiersBrian Paul2010-02-131-4/+74
| | | | For GL_ARB_fragment_coord_conventions support.
* glsl/pp: fix incorrect extension enable flag for warn modeBrian Paul2010-02-131-1/+1
|
* mesa: Export GL_EXT_texture_cube_map.José Fonseca2010-02-131-0/+1
| | | | Still used by some applications.
* wgl: Implement wglSwapMultipleBuffers.José Fonseca2010-02-134-2/+31
|
* svga: Fix texture border color.José Fonseca2010-02-131-10/+6
| | | | Also opposite ordering.
* r300g: do not invalidate texture caches when only sampler state is changedMarek Olšák2010-02-131-2/+3
|
* r300g: cleanup the emission of RS block stateMarek Olšák2010-02-132-9/+13
| | | | Emit as few regs as possible.
* r300g: cleanup the emission of framebuffer stateMarek Olšák2010-02-132-11/+3
| | | | Some emits are not needed anymore.
* r300g: disable independent blend enablesMarek Olšák2010-02-132-7/+2
| | | | Not supported by r300.
* r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xxMarek Olšák2010-02-131-2/+1
|
* 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
|
* st/xlib: Remove unnecessary header.Vinson Lee2010-02-121-1/+0
|
* dri: Remove unnecessary headers.Vinson Lee2010-02-123-16/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-02-122-3/+0
|
* svga: Silence uninitialized variable warning.Vinson Lee2010-02-121-1/+1
|
* util: Properly init memory for blitter CSOs.Corbin Simpson2010-02-121-8/+5
| | | | Fixes misrender on r300g.
* 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)
* svga: A few more tweaks to blend color state emission.José Fonseca2010-02-122-10/+8
|
* svga: Clamp max cube texture levels to supported max 2d levels.José Fonseca2010-02-121-1/+6
|
* svga: Report the 2d/3d texture sizes supported by the host.José Fonseca2010-02-122-5/+23
|
* wgl: Go into dormant state when DLL is unloaded unclealy.José Fonseca2010-02-121-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 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
|
* cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul2010-02-121-0/+2
|
* 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.
* st/dri: don't expose visuals we'll have trouble supportingZack Rusin2010-02-121-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 depthZack Rusin2010-02-122-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 colorRoland Scheidegger2010-02-121-13/+1
|
* Merge branch 'gallium-dynamicstencilref'Roland Scheidegger2010-02-1266-195/+580
|\
| * cell: adjust structure paddingBrian Paul2010-02-121-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 varBrian Paul2010-02-121-1/+0
| |