summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
AgeCommit message (Collapse)Author
2007-11-03Allow batch buffer debugging without calling i915_winsys->batch_start so often.José Fonseca
2007-11-03Do something sensible when failed to reserve space in the batch buffer.José Fonseca
2007-11-03Detail i915 winsys interface comments.José Fonseca
2007-11-03Render primitives using indirect vertices in a vertex buffer.José Fonseca
2007-11-01remove old comment about tnl/vfBrian
2007-11-01Reserve the right number of dwords for hardware state, and handle the case ↵José Fonseca
where it fails.
2007-10-31Hold the vertex buffer handle.José Fonseca
2007-10-31Handle TGSI_OPCODE_RET.José Fonseca
2007-10-31Allow more verbose error output.José Fonseca
2007-10-31Chain vertex buffers into the batch buffer.José Fonseca
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Reuse hardware vertice representation.José Fonseca
2007-10-29Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca
2007-10-29Get vertex buffer stage in a minimally working state.José Fonseca
2007-10-29Reserve the accurate number of dwords in the batch buffer.José Fonseca
2007-10-29Start a vertex buffer constuction stage for i915 based on Keith's draft done ↵José Fonseca
on softpipe.
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-20In region_unmap(), check if region is mapped before decrementing refcount.Brian
2007-10-15remove commented out #includeBrian
2007-10-15formattingBrian
2007-10-15add 'normalized_coords' field to pipe_sampler_stateBrian
This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit.
2007-10-15feedback/rasterpos fix-upsBrian
2007-10-15check for extended swizzles, added TGSI_OPCODE_KILPBrian
2007-10-15added print_texkil_op()Brian
2007-10-10fix get_result_vector() since fp output slots are not fixed anymoreBrian
2007-10-02Added TGSI_OPCODE_ENDBrian
Halt program execution when we get to END instruction. The GLSL compiler puts subroutines after the end instruction so we have to stop before then.
2007-10-01use i915_miptree_layout when using an i915Brian
2007-10-01avoid updating vertex format when it doesn't really changeBrian
2007-10-01disable debug printfBrian
2007-10-01don't crash when fog enabled, still not rendered correctly thoughBrian
2007-10-01remove specular color assertion (the path works)Brian
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-21Convert i915 to use cso semantics of alpha_test.Zack Rusin
2007-09-21Make the alpha test state a cso.Zack Rusin
2007-09-21Silence a few warnings.Zack Rusin
2007-09-20remove old code in src_vector()Brian
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20remove old/used codeBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian