summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* draw: use instance divisor in draw_print_arrays()Brian Paul2010-08-031-0/+5
|
* draw: add assertion, rearrange debug codeBrian Paul2010-08-031-4/+10
|
* st/dri: fix crash when dri2_drawable_get_buffers failsMarek Olšák2010-08-041-1/+2
| | | | | | | | | | | | | | | | | It's easily reproducible with Compiz with its Resize window mode set to Normal (which is usually not the default mode). https://bugs.freedesktop.org/show_bug.cgi?id=28658 https://bugs.freedesktop.org/show_bug.cgi?id=29303 This is actually a workaround to prevent Compiz crashes. Instead, a completely white titlebar might show up during resizing transparent windows (a rare case). The underlying cause should be fixed by someone who has more knowledge about the code. (dri2_drawable_get_buffers should not return NULL) Acked-By: Jakob Bornecrantz <[email protected]>
* mesa: increase the relative address offset limit to 4096 in ARB_vp/fpMarek Olšák2010-08-042-4/+4
| | | | | | | | | | | | | | | | | | | Even though the spec says that the limits should be -64/+63, proprietary drivers support much larger relative offsets and some applications do depend on this non-standard behavior. Also program_parse.tab.c has been regenerated. This fixes the parser error: ARB_vp: error: relative address offset too large See also: https://bugs.freedesktop.org/show_bug.cgi?id=28628 4096 * sizeof(vec4) is the maximum size of the constant buffer on NV50. It is not supposed to be a definite hardware limit, it is for the parser not to get in the way and let the underlying driver decide whether it can run the shader or not.
* r600g: add polygon offset supportJerome Glisse2010-08-033-7/+62
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: flush and resubmit if we reach limitJerome Glisse2010-08-034-37/+13
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix color target maskJerome Glisse2010-08-031-2/+1
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* gallium/draw: forgot about PIPE_PRIM_LINE_STRIP_ADJACENCYZack Rusin2010-08-031-0/+1
|
* gallium/util: add extra primitives to the trimmerZack Rusin2010-08-031-0/+13
|
* r600g: fix stencilJerome Glisse2010-08-032-8/+7
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix LIT + fix multiple constant one ALU + fix ALU block splittingJerome Glisse2010-08-035-113/+207
| | | | | | | | | | | | | Make sure LIT fills all slot for instruction (can't do W instruction without having the Z slot filled with at least a NOP). ALU instruction can't access more than 4 constant, move constant to temporary reg if we reach the limit. Fix ALU block splitting, only split ALU after ALU with last instruction bit sets. Signed-off-by: Jerome Glisse <[email protected]>
* r300g: handle polygon offset correctlyMarek Olšák2010-08-031-5/+5
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=29372
* st/mesa: Add forward declarations in st_atom_constbuf.h.Vinson Lee2010-08-031-0/+3
|
* st/mesa: Include glheader.h in st_atom.h.Vinson Lee2010-08-031-0/+2
| | | | Include glheader.h for GLenum symbol.
* mesa: Clean up header file inclusion in m_xform.h.Vinson Lee2010-08-031-2/+2
| | | | | | Include compiler.h for CONST symbol. Remove config.h as m_xform.h uses no additional symbols from config.h.
* mesa: Reduce header file inclusion in m_translate.h.Vinson Lee2010-08-031-1/+2
| | | | m_translate.h does not use any additional symbols added by config.h.
* mesa: Include missing header in m_matrix.h.Vinson Lee2010-08-031-0/+2
|
* mesa: Reduce header file inclusion in texgen.h.Vinson Lee2010-08-031-1/+4
| | | | texgen.h doesn't use any symbols additionally added by mtypes.h.
* mesa: Reduce header file inclusion in texcompress_fxt1.h.Vinson Lee2010-08-031-1/+3
| | | | texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
* mesa: Reduce header file inclusion in syncobj.h.Vinson Lee2010-08-021-1/+4
| | | | syncobj.h doesn't use any additional symbols that is added by context.h.
* r600g: split alu block to conform to limit + RCP opcodeJerome Glisse2010-08-022-2/+4
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add autogenerated reg definition + debug print cleanupJerome Glisse2010-08-026-173/+194
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner2010-08-0213-10/+98
| | | | | | | | | | | | | | When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse2010-08-0210-77/+0
| | | | This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
* r300g: fix hardlock when using more than one stuffed sprite coordsMarek Olšák2010-08-022-19/+21
| | | | | | | If texture coordinates come from the vertex shader, there are always 4 components in the rasterizer input packet, but if the coordinates are stuffed (like for point sprites), there are only 2 or 3 components (based on GB_ENABLE) and if we rasterize more, it locks up.
* radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner2010-08-0210-0/+77
| | | | | | | | | | | | | | | | | When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* glx: Drop _Xglobal_lock while we create and initialize glx displayKristian Høgsberg2010-08-021-21/+39
|
* r600: fix sin,cos functions on r600Andre Maasikas2010-08-021-9/+133
| | | | | | | | | | | r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
* util: Fix unpacking of R8G8Bx_SNORM format.Michal Krol2010-08-021-3/+12
| | | | | Apparently, we must always use integers to perform calculations, otherwise the results won't match D3D's CxV8U8 definition.
* r600g: add stencil op/func translationDave Airlie2010-08-022-3/+66
|
* r600g: initial alpha test stateDave Airlie2010-08-021-5/+13
|
* r600g: add initial blend state.Dave Airlie2010-08-025-20/+262
| | | | migrates cb_cntl to be regenerated
* r600g: set correct tex coord type for rect textures.Dave Airlie2010-08-021-4/+6
|
* r600g: make r600_db_format static.Dave Airlie2010-08-021-1/+1
| | | | this isn't used anywhere else yet.
* draw: fix warning in sse code.Dave Airlie2010-08-021-0/+1
| | | | Not sure if this will actually fix the issue, but it fixes the warning.
* r300g: fix microtiling on RS6xxMarek Olšák2010-08-011-4/+18
| | | | | Getting tiling right has always been tricky. There are so many subtle details...
* mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee2010-07-3110-5/+16
| | | | | | | mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
* mesa: Remove unnecessary header from mm.h.Vinson Lee2010-07-311-3/+0
|
* mesa: Add headers containing sybmols used by mm.c.Vinson Lee2010-07-311-0/+5
|
* r600g: Remove unnecessary header.Vinson Lee2010-07-311-1/+0
|
* mesa: Reduce header file inclusion in get.h.Vinson Lee2010-07-311-1/+1
| | | | get.h only needs the GL headers.
* mesa: Include missing headers in vtxfmt.h.Vinson Lee2010-07-311-0/+3
| | | | | Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in shared.h.Vinson Lee2010-07-311-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in restart.h.Vinson Lee2010-07-311-0/+1
|
* mesa: Include missing headers in renderbuffer.h.Vinson Lee2010-07-311-0/+5
|
* mesa: Include missing header in remap.h.Vinson Lee2010-07-311-0/+1
| | | | Include compiler.h for INLINE symbol.
* r600g: Remove unnecessary header.Vinson Lee2010-07-311-1/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-07-316-6/+0
|
* swrast: Remove unnecessary headers.Vinson Lee2010-07-316-6/+0
|
* egl: Fix '_eglAddAtExitCall' implicit declaration warning.Vinson Lee2010-07-311-0/+1
|