summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple
Commit message (Collapse)AuthorAgeFilesLines
* i965: add software fallback for conformant 3D textures and GL_CLAMPRobert Ellison2009-03-041-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änzer2009-03-043-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 textureJakob Bornecrantz2009-02-252-0/+31
|
* i915: Fix some warningsJakob Bornecrantz2009-02-251-2/+0
|
* i915: Clean up i915_winsys.h a bitJakob Bornecrantz2009-02-253-14/+20
|
* gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵Brian Paul2009-02-201-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 librariesJakob Bornecrantz2009-02-201-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änzer2009-02-185-76/+122
|\ | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * i915simple: Minimal fixup for introduction of struct pipe_transfer.Michel Dänzer2009-02-185-76/+122
| |
* | Merge commit 'origin/draw-vbuf-interface'Keith Whitwell2009-02-181-13/+44
|\ \
| * | i915: Use the new draw vbuf interfaceJakob Bornecrantz2009-02-131-13/+44
| |/
* / util: Move p_debug.h into util module.José Fonseca2009-02-182-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 Krol2009-02-101-1/+1
|
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-024-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 driversZack Rusin2009-01-311-0/+2
|
* gallium: make p_winsys internalZack Rusin2009-01-309-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-privateJosé Fonseca2009-01-303-21/+21
|\
| * i915: Fix surface operationsJakob Bornecrantz2009-01-303-21/+21
| |
* | gallium: give the screen priority when it comes to buffer allocationsZack Rusin2009-01-292-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 debugJakob Bornecrantz2009-01-292-7/+5
|
* i915: Don't dump batchbuffer on flush in contextJakob Bornecrantz2009-01-291-1/+0
|
* i915: Add verbose debugingJakob Bornecrantz2009-01-281-1/+2
| | | | | Only enabled while in development this commit will be reverted in the future.
* i915: Fix batchbuffer dumpingJakob Bornecrantz2009-01-281-3/+3
|
* i915: Flush on surface copy/clearJakob Bornecrantz2009-01-281-0/+2
|
* gallium: remove redundant size from the constant bufferZack Rusin2009-01-271-3/+3
| | | | reuse the size of the actual buffer
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize naming of masksZack Rusin2009-01-271-4/+4
|
* i915: queiten compiler warningsKeith Whitwell2009-01-271-1/+0
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-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é Fonseca2008-12-311-3/+1
|
* i915: Silence warningsJakob Bornecrantz2008-12-051-0/+2
|
* i915: Silence warningsJakob Bornecrantz2008-11-163-4/+8
|
* make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-062-4/+4
|
* i915: Add missing include.José Fonseca2008-09-041-0/+1
|
* i915: Use pipe_buffer_* inlines as much as possible.José Fonseca2008-09-043-25/+26
|
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-032-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 texturesJakob Bornecrantz2008-09-021-2/+2
|
* gallium: Add missing includes.Michal Krol2008-08-251-0/+1
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-2414-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 headerBrian Paul2008-08-221-0/+1
|
* gallium: replace align_int() with align()Brian Paul2008-08-221-4/+4
| | | | The two functions are identical. Removed align_int() from p_util.h
* check for winsys->destroy before callingAlan Hourihane2008-08-141-1/+1
|
* i915: Swap meanings of KIL and KILP.Michal Krol2008-08-131-12/+4
|
* gallium: Add destroy callback to all *_winsys interfaces.José Fonseca2008-08-083-0/+10
| | | | For consistency and to simplify these objects' destruction.
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-283-4/+4
|
* gallium: Finer grained is_format_supported.José Fonseca2008-07-191-11/+7
|
* i915: Ops should not have pushed thatJakob Bornecrantz2008-07-131-3/+3
| | | | This reverts commit 930a863c4f6f11d0fd5cf396ef76054d52c69b9f.
* i915: WIP swap reworkJakob Bornecrantz2008-07-131-3/+3
|
* i915: Added debug filling code of texture, not activeJakob Bornecrantz2008-07-041-2/+11
|
* psb: Fill all texture fields when creating texture blanket.José Fonseca2008-07-051-0/+2
|