Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create() | Brian Paul | 2009-08-17 | 1 | -8/+2 |
| | | | | This fixes invalid values for CondStackTop, LoopStackTop, etc. | ||||
* | nv50: remove a few cases of directly casting struct pipe_context | Maarten Maathuis | 2009-08-17 | 2 | -3/+3 |
| | |||||
* | nv50: borrow some flushing code from the ddx | Maarten Maathuis | 2009-08-17 | 1 | -3/+11 |
| | | | | | - This fixes neverball corruption. - I'm unsure about what we're actually flushing here. | ||||
* | gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly. | Maarten Maathuis | 2009-08-17 | 1 | -3/+3 |
| | |||||
* | nv50: whitespace fixes and deobfuscation | Maarten Maathuis | 2009-08-17 | 9 | -69/+85 |
| | |||||
* | cell: fix incorrect pipe_transfer tests | Brian Paul | 2009-08-17 | 1 | -2/+4 |
| | | | | The value is an enum, not a bitmask. | ||||
* | nv50: fix stencil state | Christoph Bumiller | 2009-08-17 | 1 | -6/+6 |
| | | | | | | | It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated. | ||||
* | nv50: avoid a NULL-ptr dereference when the pipe context changes | Maarten Maathuis | 2009-08-15 | 1 | -1/+26 |
| | | | | - We cannot assume all state objects are present when the pipe context changes. | ||||
* | nv50: align registers used with TEX to 4 | Christoph Bumiller | 2009-08-15 | 1 | -1/+2 |
| | | | | | | | | The TEX instruction is passed the first index of a contiguous range of 4 TEMP registers that contain coordinates / LOD and, after execution, the texel values. It seems the first index is required to be a multiple of 4 on some (older ?) cards. | ||||
* | st/xlib: reduce the proliferation of GLX context types | Keith Whitwell | 2009-08-14 | 1 | -57/+37 |
| | | | | | | | | | | Now there is just a single, struct __GLXcontextRec, which is the GLXContext typedef has already been defined as a pointer to. I believe this is the intended usage, that GLX implementations should define that struct as they require. Merge the two previous structs into one and get rid of the no-longer-necessary type casts and sub-classing. | ||||
* | st/dri: remove unused dummyContext value | Keith Whitwell | 2009-08-14 | 2 | -14/+0 |
| | |||||
* | nv50: fix mipmap offsets and tiling | Christoph Bumiller | 2009-08-14 | 3 | -17/+34 |
| | | | | | | The hardware expects a texture's tile mode to change with the mipmap level. Also, only multiply by block size once to obtain size. | ||||
* | nv50: make sure we don't re-emit outdated scissor state | Christoph Bumiller | 2009-08-14 | 1 | -4/+4 |
| | | | | | Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes. | ||||
* | nv50: make use of the y-origin switch | Christoph Bumiller | 2009-08-14 | 2 | -25/+16 |
| | | | | | Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier. | ||||
* | st/vega: Add more symbols defined by mesa/st. | Chia-I Wu | 2009-08-14 | 2 | -3/+18 |
| | | | | Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | nv50: fix typo in REALLOC's 2nd argument in ctor_immd | Christoph Bumiller | 2009-08-14 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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) | ||||
| * | 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 |
| | | |||||
* | | 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. | ||||
* | | Merge branch 'new-frag-attribs' | Brian Paul | 2009-08-12 | 1 | -12/+36 |
|\ \ | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | draw: fix-ups for point coord attribute | Brian Paul | 2009-07-31 | 1 | -12/+36 |
| | | | | | | | | | | | | progs/glsl/pointcoord.c works again | ||||
* | | | st/xorg: Acquire/drop DRM master in order to work with multiple servers. | Michel Dänzer | 2009-08-12 | 1 | -0/+15 |
| | | | |||||
* | | | gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/ | Brian Paul | 2009-08-12 | 4 | -10/+9 |
| | | | |||||
* | | | gallium/glx/xlib: updated comments | Brian Paul | 2009-08-12 | 3 | -4/+2 |
| | | | |||||
* | | | gallium/glx/xlib: delete fakeglx.h | Brian Paul | 2009-08-12 | 1 | -41/+0 |
| | | | |||||
* | | | gallium/glx/xlib: rename fakeglx.c to glx_api.c | Brian Paul | 2009-08-12 | 3 | -2/+2 |
| | | | |||||
* | | | gallium/glx/xlib: delete glxapi.h | Brian Paul | 2009-08-12 | 1 | -36/+0 |
| | | | |||||
* | | | gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.c | Brian Paul | 2009-08-12 | 3 | -2/+2 |
| | | | |||||
* | | | gallium/glx/xlib: rename glxapi.c to glx_getproc.c | Brian Paul | 2009-08-12 | 3 | -2/+3 |
| | | | |||||
* | | | gallium/glx/xlib: don't include fakeglx.h | Brian Paul | 2009-08-12 | 1 | -1/+0 |
| | | | |||||
* | | | gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLX | Brian Paul | 2009-08-12 | 4 | -1574/+280 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib driver). The intention of that code was being able to switch on the fly between the real GLX library and the fake/Xlib-based emulation. That hasn't been used in a long time. Next up: some file renaming. | ||||
* | | | gallium/trace: remove stray semicolons | Brian Paul | 2009-08-11 | 1 | -2/+2 |
| | | | |||||
* | | | gallium/xlib: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | | | |||||
* | | | gallium/egl: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | | | |||||
* | | | gallium/xlib: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | | |