summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple
AgeCommit message (Collapse)Author
2009-09-04i915g: Fix warnings in scons build by using byte pointersJakob Bornecrantz
scons build complained about void pointer math
2009-09-03i915g: Don't send flush flags to HWJakob Bornecrantz
2009-09-01i915g: Switch from pipe_winsys to intel_winsysJakob Bornecrantz
Also includes moving lots of functions from i915_batch.h into intel_batchbuffer.h
2009-09-01i915g: Add header file for new winsys interfaceJakob Bornecrantz
2009-09-01i915g: Add new buffer code not yet hocked upJakob Bornecrantz
2009-08-31i915g: Reorg texture layout codeJakob Bornecrantz
2009-08-31i915g: Move transfer functions into i915_texture.cJakob Bornecrantz
2009-08-31i915g: Reorg texture code a bitJakob Bornecrantz
2009-08-31i915g: Don't use winsys directly in the driverJakob Bornecrantz
2009-08-31i915g: Cleanup i915_prim_vbuf.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_screen.[c|h]Jakob Bornecrantz
2009-08-31i915g: Cleanup i915_context.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_blit.[c|h]Jakob Bornecrantz
2009-08-31i915g: Cleanup i915_state_emit.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_texture.cJakob Bornecrantz
2009-08-31i915g: Cleanup texture init functions a bitJakob Bornecrantz
2009-08-31i915g: Rename pipe field on context to baseJakob Bornecrantz
2009-08-31i915g: Rename screen field on screen to baseJakob Bornecrantz
2009-08-28i915g: Add cursor case for scanout layoutJakob Bornecrantz
2009-08-12i915g: Check relocs as wellJakob Bornecrantz
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-08i915g: Don't forget x/y coords in transfersJakob Bornecrantz
Fixes demos/ray.
2009-08-06i915g: Dirty fix for VBO module double flush assertJakob Bornecrantz
2009-08-05i915g: Treat primary textures as scanout buffersJakob Bornecrantz
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-04-30i915simple: remove duplicated i915_context.c in C_SOURCESBrian Paul
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-04i965: add software fallback for conformant 3D textures and GL_CLAMPRobert Ellison
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
2009-03-04gallium: Unify reference counting.Michel Dänzer
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().
2009-02-25i915: Enable winsys to get buffer from textureJakob Bornecrantz
2009-02-25i915: Fix some warningsJakob Bornecrantz
2009-02-25i915: Clean up i915_winsys.h a bitJakob Bornecrantz
2009-02-20gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵Brian Paul
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().
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
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.
2009-02-18Merge branch 'gallium-texture-transfer'Michel Dänzer
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
2009-02-18i915simple: Minimal fixup for introduction of struct pipe_transfer.Michel Dänzer
2009-02-18Merge commit 'origin/draw-vbuf-interface'Keith Whitwell
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-13i915: Use the new draw vbuf interfaceJakob Bornecrantz
2009-02-10i915: Fix build -- rename Size to NrTokens.Michal Krol
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
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.
2009-01-31gallium: initialize simple screen in driversZack Rusin
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-30Merge branch 'gallium-0.2' into gallium-winsys-privateJosé Fonseca
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
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
2009-01-30i915: Fix surface operationsJakob Bornecrantz
2009-01-29i915: Don't take a context as argument for debugJakob Bornecrantz