summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2007-10-27Move mesa_to_tgsi.[ch] into state tracker.Brian
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-25silence warningBrian
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-24Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian
When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
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-24flush pipe in draw_stencil_pixels()Brian
2007-10-24Add copyright headers and do some cleanups.Zack Rusin
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Execution engine is a singleton, for now keep it in the pipe.Zack Rusin
2007-10-24Initial stab at LLVM integration.Zack Rusin
2007-10-23Don't pad renderbuffers to multiple of two pixels anymore.Brian
This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist.
2007-10-22fix masking bug, memory leakBrian
2007-10-22new flag to control psize (from vertex shader or fixed size)Brian
2007-10-22add support for sprite texcoord modesBrian
2007-10-22add point_sprite flag to rasterizer stateBrian
2007-10-20flush the pipe before accum opsBrian
2007-10-20unmap regions when reallocating renderbuffer storageBrian
2007-10-20renderbuffer tweaks in update_framebuffer_state()Brian
2007-10-18Alternate CopyPixels path based on get/put_tile().Brian
For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday...
2007-10-18fix off-by-one error in CopyPixels src positionBrian
2007-10-18fix upside down CopyPixels imageBrian
2007-10-18fix function nameBrian
2007-10-18checkpoint: code refactoring for glCopyPixelsBrian
2007-10-18start implementing glCopyPixels (stencil works)Brian
2007-10-18make read_stencil_pixels() non-staticBrian
2007-10-18print vertex input mappingBrian
2007-10-18handle fogcoord/raster distanceBrian
2007-10-18debug functionsBrian
2007-10-17remove #include vf.hBrian
2007-10-17formatting fixBrian
2007-10-17fix addressing error in read_stencil_pixels()Brian
2007-10-17generate selection hit if in selection mode and pos is not clippedBrian
2007-10-17Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)Brian
2007-10-17Fix viewport Z scale/bias to get the right Z values from drawing the quad.Brian
2007-10-16use new st_clear_accum_buffer() functionBrian
2007-10-16New st_clear_accum_buffer() function (can't use pipe->clear() since it ↵Brian
doesn't handle negative color values) Also, remove unneeded clamping in the accum ops.
2007-10-16remove debug assertionBrian
2007-10-16fix blend term translation bug, rename some funcsBrian
2007-10-15GL_UNSIGNED_BYTE indexesBrian
2007-10-15Undo prev changes.Brian
2007-10-15setup vertex format for GL_FEEDBACK modeBrian
2007-10-15GL_SELECT mode works nowBrian
2007-10-15call pipe->set_vertex_buffer() after drawing/unreferencing.Brian
This fixes potential a stale reference to vertex buffers. Fixes cubemap demo on i915.
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-15simplify KIL usage for bitmap fragprogBrian
2007-10-14implement accum opsBrian