Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: add software fallback for conformant 3D textures and GL_CLAMP | Robert Ellison | 2009-03-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier commit forced a software fallback if strict conformance was required (i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and 2D textures were used, but it was somewhat flawed - it could trigger the software fallback even if 2D textures weren't enabled, as long as one texture unit was enabled. This fixes that, and adds software fallback for GL_CLAMP behavior with 1D and 3D textures. It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE environment variable, which forces software fallbacks to be taken *all* the time. This is helpful with debugging. The value is: export INTEL_STRICT_CONFORMANCE=2 | ||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 3 | -59/+31 |
| | | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | ||||
* | i915: Enable winsys to get buffer from texture | Jakob Bornecrantz | 2009-02-25 | 2 | -0/+31 |
| | |||||
* | i915: Fix some warnings | Jakob Bornecrantz | 2009-02-25 | 1 | -2/+0 |
| | |||||
* | i915: Clean up i915_winsys.h a bit | Jakob Bornecrantz | 2009-02-25 | 3 | -14/+20 |
| | |||||
* | gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵ | Brian Paul | 2009-02-20 | 1 | -0/+11 |
| | | | | | | | | instructions These texture types were defined but never put to use. For the time being though, the Mesa->TGSI translater isn't emitting these targets. See the XXX comment in map_texture_target(). | ||||
* | gallium: Improve makefiles for libraries | Jakob Bornecrantz | 2009-02-20 | 1 | -3/+0 |
| | | | | | | | | The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles. | ||||
* | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 5 | -76/+122 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * | i915simple: Minimal fixup for introduction of struct pipe_transfer. | Michel Dänzer | 2009-02-18 | 5 | -76/+122 |
| | | |||||
* | | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | 2009-02-18 | 1 | -13/+44 |
|\ \ | |||||
| * | | i915: Use the new draw vbuf interface | Jakob Bornecrantz | 2009-02-13 | 1 | -13/+44 |
| |/ | |||||
* / | util: Move p_debug.h into util module. | José Fonseca | 2009-02-18 | 2 | -2/+2 |
|/ | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | i915: Fix build -- rename Size to NrTokens. | Michal Krol | 2009-02-10 | 1 | -1/+1 |
| | |||||
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 4 | -14/+25 |
| | | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures. | ||||
* | gallium: initialize simple screen in drivers | Zack Rusin | 2009-01-31 | 1 | -0/+2 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 9 | -14/+14 |
| | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | Merge branch 'gallium-0.2' into gallium-winsys-private | José Fonseca | 2009-01-30 | 3 | -21/+21 |
|\ | |||||
| * | i915: Fix surface operations | Jakob Bornecrantz | 2009-01-30 | 3 | -21/+21 |
| | | |||||
* | | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | 2009-01-29 | 2 | -8/+8 |
|/ | | | | | | allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen | ||||
* | i915: Don't take a context as argument for debug | Jakob Bornecrantz | 2009-01-29 | 2 | -7/+5 |
| | |||||
* | i915: Don't dump batchbuffer on flush in context | Jakob Bornecrantz | 2009-01-29 | 1 | -1/+0 |
| | |||||
* | i915: Add verbose debuging | Jakob Bornecrantz | 2009-01-28 | 1 | -1/+2 |
| | | | | | Only enabled while in development this commit will be reverted in the future. | ||||
* | i915: Fix batchbuffer dumping | Jakob Bornecrantz | 2009-01-28 | 1 | -3/+3 |
| | |||||
* | i915: Flush on surface copy/clear | Jakob Bornecrantz | 2009-01-28 | 1 | -0/+2 |
| | |||||
* | gallium: remove redundant size from the constant buffer | Zack Rusin | 2009-01-27 | 1 | -3/+3 |
| | | | | reuse the size of the actual buffer | ||||
* | gallium: it's a reference value, not a reference number | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | gallium: standardize naming of masks | Zack Rusin | 2009-01-27 | 1 | -4/+4 |
| | |||||
* | i915: queiten compiler warnings | Keith Whitwell | 2009-01-27 | 1 | -1/+0 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers. | ||||
* | i915: Avoid ptr->int conversion. | José Fonseca | 2008-12-31 | 1 | -3/+1 |
| | |||||
* | i915: Silence warnings | Jakob Bornecrantz | 2008-12-05 | 1 | -0/+2 |
| | |||||
* | i915: Silence warnings | Jakob Bornecrantz | 2008-11-16 | 3 | -4/+8 |
| | |||||
* | make draw's vertex_info struct smaller/quicker to compare with memcmp() | Keith Whitwell | 2008-10-06 | 2 | -4/+4 |
| | |||||
* | i915: Add missing include. | José Fonseca | 2008-09-04 | 1 | -0/+1 |
| | |||||
* | i915: Use pipe_buffer_* inlines as much as possible. | José Fonseca | 2008-09-04 | 3 | -25/+26 |
| | |||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 2 | -5/+5 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | i915: Small fixes for tiled textures | Jakob Bornecrantz | 2008-09-02 | 1 | -2/+2 |
| | |||||
* | gallium: Add missing includes. | Michal Krol | 2008-08-25 | 1 | -0/+1 |
| | |||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 14 | -14/+21 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header | Brian Paul | 2008-08-22 | 1 | -0/+1 |
| | |||||
* | gallium: replace align_int() with align() | Brian Paul | 2008-08-22 | 1 | -4/+4 |
| | | | | The two functions are identical. Removed align_int() from p_util.h | ||||
* | check for winsys->destroy before calling | Alan Hourihane | 2008-08-14 | 1 | -1/+1 |
| | |||||
* | i915: Swap meanings of KIL and KILP. | Michal Krol | 2008-08-13 | 1 | -12/+4 |
| | |||||
* | gallium: Add destroy callback to all *_winsys interfaces. | José Fonseca | 2008-08-08 | 3 | -0/+10 |
| | | | | For consistency and to simplify these objects' destruction. | ||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 3 | -4/+4 |
| | |||||
* | gallium: Finer grained is_format_supported. | José Fonseca | 2008-07-19 | 1 | -11/+7 |
| | |||||
* | i915: Ops should not have pushed that | Jakob Bornecrantz | 2008-07-13 | 1 | -3/+3 |
| | | | | This reverts commit 930a863c4f6f11d0fd5cf396ef76054d52c69b9f. | ||||
* | i915: WIP swap rework | Jakob Bornecrantz | 2008-07-13 | 1 | -3/+3 |
| | |||||
* | i915: Added debug filling code of texture, not active | Jakob Bornecrantz | 2008-07-04 | 1 | -2/+11 |
| | |||||
* | psb: Fill all texture fields when creating texture blanket. | José Fonseca | 2008-07-05 | 1 | -0/+2 |
| |