Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c | Brian Paul | 2009-08-13 | 5 | -224/+225 |
| | |||||
* | mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c | Brian Paul | 2009-08-13 | 5 | -242/+275 |
| | | | | All the glGetTexImage code is in one file now. | ||||
* | mesa: short-circuit no-change in _mesa_DepthRange() | Brian Paul | 2009-08-13 | 1 | -0/+4 |
| | |||||
* | st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering. | Michel Dänzer | 2009-08-13 | 3 | -0/+37 |
| | |||||
* | gallium/drm: Handle circular dependencies in the auxiliary libraries with make. | Michel Dänzer | 2009-08-13 | 1 | -1/+3 |
| | |||||
* | st/xorg: Fix DRI2 CopyRegion hook. | Michel Dänzer | 2009-08-13 | 1 | -29/+43 |
| | | | | | Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes. | ||||
* | tgsi: add simple facility for releasing and reusing temporaries | Keith Whitwell | 2009-08-13 | 2 | -4/+40 |
| | |||||
* | tgsi: rename ureg src/dest converters | Keith Whitwell | 2009-08-13 | 1 | -3/+3 |
| | | | | Also fix a typo in ureg_src(). | ||||
* | draw: Remove unused variable. | José Fonseca | 2009-08-13 | 1 | -1/+0 |
| | |||||
* | scons: Handle Circular dependencies in the libraries. | José Fonseca | 2009-08-13 | 1 | -0/+2 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Keith Whitwell | 2009-08-13 | 1 | -22/+55 |
|\ | |||||
| * | draw: cope with more primitives in draw_pipeline_run | Keith Whitwell | 2009-08-13 | 1 | -22/+55 |
| | | | | | | | | | | | | | | | | This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad) | ||||
| * | dri: Fix problems with unitialized values in dri screen object. | Pauli Nieminen | 2009-08-07 | 1 | -1/+1 |
| | | | | | | | | | | | | This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
| * | util: fix incorrect assertion | Brian Paul | 2009-08-06 | 1 | -1/+1 |
| | | | | | | | | Check that the dest surface/format is renderable. | ||||
| * | util: include u_surface.h, added comment | Brian Paul | 2009-08-06 | 1 | -0/+2 |
| | | |||||
| * | util: use util_same_surface() to compare surface pointers | Brian Paul | 2009-08-06 | 1 | -3/+3 |
| | | |||||
| * | util: added util_same_surface() helper function | Brian Paul | 2009-08-06 | 1 | -0/+17 |
| | | |||||
| * | Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled. | Alan Hourihane | 2009-08-06 | 1 | -0/+1 |
| | | |||||
* | | tgsi: turn off debugging | Keith Whitwell | 2009-08-13 | 1 | -1/+1 |
| | | |||||
* | | tgsi: use REALLOC for growing token pool | Keith Whitwell | 2009-08-13 | 1 | -11/+5 |
| | | |||||
* | | util: silence warnings for third REALLOC argument | Keith Whitwell | 2009-08-13 | 1 | -1/+7 |
| | | | | | | | | | | | | Our fallback realloc path requires an old_size argument, but the posix varient doesn't need this. Add some code to avoid gcc unused variable warnings for this extra argument. | ||||
* | | util: remove unneeded includes | Keith Whitwell | 2009-08-13 | 1 | -4/+0 |
| | | |||||
* | | util: convert u_simple_shaders to use tgsi_ureg | Keith Whitwell | 2009-08-13 | 1 | -258/+60 |
| | | | | | | | | Much nicer now. | ||||
* | | tgsi: add tgsi_ureg, a simplified tgsi shader builder | Keith Whitwell | 2009-08-13 | 5 | -0/+1381 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is modelled on the nice & easy-to-use facilities we had for building shaders in mesa, eg. in texenvprogram.c and friends. Key points include pass-by-value register structs that can be manipulated in a functional style, eg: negate(swizzle(reg, X,X,X,X)) and per-opcode instruction functions, eg: emit_MOV( p, writemask(dst, 0x1), negate(src)); and similar. Additionally, the interface allows mixed emit of instructions and decls, which are sorted out internally to obey TGSI ordering. Immediates may be emitted at any time and are scanned against existing immediates to try and reduce redundancy. Not all TGSI functionality is accessible through this interface, but most or all of what mesa uses should be. | ||||
* | | i965: fix cube map on IGDNG | Xiang, Haihao | 2009-08-13 | 1 | -5/+8 |
| | | |||||
* | | glsl: remove duplicate frag input entry | Brian Paul | 2009-08-12 | 1 | -1/+0 |
| | | |||||
* | | Merge branch 'new-frag-attribs' | Brian Paul | 2009-08-12 | 12 | -151/+107 |
|\ \ | | | | | | | | | | | | | | | | | | | This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | ||||
| * | | swrast: fix incorrect texcoord attribute test | Brian Paul | 2009-07-31 | 1 | -3/+3 |
| | | | |||||
| * | | draw: fix-ups for point coord attribute | Brian Paul | 2009-07-31 | 1 | -12/+36 |
| | | | | | | | | | | | | progs/glsl/pointcoord.c works again | ||||
| * | | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | 2009-07-29 | 11 | -138/+69 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | ||||
* | | | progs/glsl: change uniform_info::type field to use GLSL vector types | Brian Paul | 2009-08-12 | 11 | -130/+53 |
| | | | |||||
* | | | demos: call SetUniformValues() | Brian Paul | 2009-08-12 | 1 | -1/+1 |
| | | | |||||
* | | | mesa: const qualifiers | Brian Paul | 2009-08-12 | 1 | -2/+2 |
| | | | |||||
* | | | vbo: use _mesa_is_bufferobj() | Brian Paul | 2009-08-12 | 4 | -18/+21 |
| | | | |||||
* | | | demos: rename InitUniforms() to SetUniformValues() | Brian Paul | 2009-08-12 | 9 | -9/+16 |
| | | | | | | | | | | | | And call new PrintUniforms() in demos. | ||||
* | | | progs/util: added more shader utility functions | Brian Paul | 2009-08-12 | 2 | -19/+200 |
| | | | |||||
* | | | mesa: use _mesa_is_bufferobj() | Brian Paul | 2009-08-12 | 12 | -46/+49 |
| | | | |||||
* | | | mesa: use _mesa_is_bufferobj() | Brian Paul | 2009-08-12 | 1 | -17/+17 |
| | | | |||||
* | | | mesa: new _mesa_is_bufferobj() function | Brian Paul | 2009-08-12 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0. | ||||
* | | | i965: Make the cube mapping RCP use a writemask. | Eric Anholt | 2009-08-12 | 1 | -2/+2 |
| | | | | | | | | | | | | Fixes cube mapping since the scalar changes. | ||||
* | | | i965: Allocate destination registers for GLSL TEX instructions contiguously. | Eric Anholt | 2009-08-12 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | This matches brw_wm_pass*.c behavior, and fixes the norsetto shadow demo. Bug #19489 | ||||
* | | | i965: drop dead scalar handling in GLSL. | Eric Anholt | 2009-08-12 | 2 | -14/+0 |
| | | | |||||
* | | | i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY. | Eric Anholt | 2009-08-12 | 1 | -2/+2 |
| | | | |||||
* | | | i965: Drop GLSL ABS code, which is translated away in brw_wm_fp. | Eric Anholt | 2009-08-12 | 1 | -20/+0 |
| | | | |||||
* | | | i965: Drop code for emitting OPCODE_SUB, since brw_wm_fp.c makes it an ADD. | Eric Anholt | 2009-08-12 | 1 | -21/+0 |
| | | | |||||
* | | | i965: Store the dispatch width in the WM compile struct. | Eric Anholt | 2009-08-12 | 2 | -0/+3 |
| | | | | | | | | | | | | I'll be using this in merging brw_wm_emit.c and brw_wm_glsl.c | ||||
* | | | i965: Handle scalar result swizzling in shared GLSL/non-GLSL code. | Eric Anholt | 2009-08-12 | 5 | -69/+103 |
| | | | | | | | | | | | | | | | This is preparation for merging of brw_wm_glsl.c and brw_wm_emit.c, and glsl.c doesn't swizzle channel results around. | ||||
* | | | i965: Flag ARL-using programs as requiring brw_wm_glsl.c | Eric Anholt | 2009-08-12 | 1 | -0/+1 |
| | | | | | | | | | | | | This doesn't fix the glean testcase, but I guess it provides hope. | ||||
* | | | i965: Remove some unused WM opcode args. | Eric Anholt | 2009-08-12 | 1 | -6/+4 |
| | | | |||||
* | | | i965: Avoid re-uploading the index buffer when we don't need to. | Eric Anholt | 2009-08-12 | 5 | -16/+55 |
| | | | | | | | | | | | | No performance difference proven at 95% confidence with my GLSL demo (n=10). |