Age | Commit message (Collapse) | Author |
|
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.
|
|
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This was only needed to avoid out-of-bounds memory accesses with the
2x2 quad_read/write() functions which no longer exist.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doesn't handle negative color values)
Also, remove unneeded clamping in the accum ops.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes potential a stale reference to vertex buffers.
Fixes cubemap demo on i915.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|