Thomas Hellström
1ff99fcd50
New libdrm flag numbers.
20 years ago
Keith Whitwell
67342052d2
Add copypix.c demo.
Add PBO version of drawpix.c demo.
20 years ago
Thomas Hellström
ccf52b6784
Move over to libdrm.
At least one lockup remaining with multiple clients when at least one client
is using textures.
20 years ago
Thomas Hellström
78aa58c914
Add bufmgr_old that keeps the old pre-ttm functionality.
Modify bufmgr_fake.c for new drm interface. Full rework for bufmgr.c pending.
20 years ago
Thomas Hellström
4291f24abd
Add a define NO_TTM to disable ttm usage altogether for comparison.
Reinstate MI_FLUSH at end of batchbuffers.
20 years ago
Keith Whitwell
f4211722f1
Get texture drawpixels working
20 years ago
Keith Whitwell
71380a1325
Get basic texturing and stencil working
20 years ago
Keith Whitwell
33e55c6a7d
i830 driver first triangles (with a faked out bufmgr)
20 years ago
Keith Whitwell
cd32164cc6
Port the i830 driver to the texture manager. Compiles but not tested.
Turn back on some fallback cases.
Turn back on the unclipped rastersetup-to-dma render path.
20 years ago
Keith Whitwell
7c1348ac8f
Remove the flags argument for intel_meta_draw_quad(). 3D primitives
must always be emitted with cliprects else the drawing origin may not
be emitted either.
20 years ago
Thomas Hellström
2560061cfe
Silence printout and nicer wait for IRQ when out of batchbuffer mem.
20 years ago
Keith Whitwell
0c047b8847
Texture copypixels, fixes to blit path also.
Need to add logic to avoid using texture engine where source, dest overlap.
20 years ago
Thomas Hellström
c64a08c286
Call kernel to update the sarea breadcrumb when we seem to be out of
batchbuffer memory.
Remove flushes from batchbuffer tails. They are not needed anymore
when we have the kernel sync flush mechanism.
Better kernel error checks.
20 years ago
Keith Whitwell
bb409e88d8
Fix drawpixels window coordinate calculation.
Make sure cliprects are emitted for metaops texture quads.
Implement PixelZoom for drawpixels.
20 years ago
Keith Whitwell
af69eefcba
Fix logic for calculating regions for partial-buffer clears.
20 years ago
Keith Whitwell
d9c071adec
- Use a raw buffer id rather than an intel_region struct for texture
state/relocations.
- Implement basic texture engine drawpixels.
20 years ago
Keith Whitwell
833d19c21d
Make this struct less opaque.
20 years ago
Keith Whitwell
7245757174
Use spantmp2.h, based on r200 driver.
20 years ago
Keith Whitwell
3d96cb7d48
First pass at using the texture engine for copypixels. Currently only
does the same operations as are accelerated by the blitter, though this
will change...
20 years ago
Keith Whitwell
f565ab2dd5
For some reason, streaming copies to write-combined regions are
extremely sensitive to the characteristics of how the source data is
retrieved. By reordering the source reads in the rgba to bgra
conversion, the speed of this operation increases by half.
20 years ago
Thomas Hellström
7ad0c51f48
Enable uncached TTMs by default.
Allocate batchbuffers from a 1MB local TTM pool =>
multiple clients.
20 years ago
Keith Whitwell
fea684c533
fix misleading MI_FLUSH defn and usage
20 years ago
Keith Whitwell
4e8845fc0c
a few missed cases where blits can't do read/drawpixels
20 years ago
Keith Whitwell
ffcc1cdb41
Tweak the read format/type slightly so this can use the blitter.
20 years ago
Keith Whitwell
afc90075ba
get PBO readpixels working also
20 years ago
Keith Whitwell
79acea2708
Get PBO drawpixels working.
20 years ago
Keith Whitwell
a12063a540
use expected argument order for intel_check_blit_format
20 years ago
Keith Whitwell
9826d83439
Add missing GetSubData callback.
Fill in various parts of the base gl_buffer_object struct as required from
each of our callbacks.
20 years ago
Keith Whitwell
84f7ded925
add bmBufferGetSubData
20 years ago
Keith Whitwell
59dd8ad752
Hack bmBufferData and bmBufferSubdata back into operation with an
implicit map/unmap.
20 years ago
Keith Whitwell
4afd26982e
Hook up buffer_objects implementation to DrawPixels for testing.
Not yet working.
20 years ago
Keith Whitwell
17e4a7ea17
Bring DBG_BM() macros back to DBG(). Turn on by setting
INTEL_DEBUG=buf in the environment.
20 years ago
Keith Whitwell
3d67655cce
bufferobjects implementation layered on top of bm buffers
20 years ago
Keith Whitwell
b5d7c69884
Define union fi, reenable clear-with-tris.
20 years ago
Keith Whitwell
b6759e2be7
Add an assert
20 years ago
Keith Whitwell
af853b0da7
Flush old primitive before starting new one in intelRasterPrimitive.
20 years ago
Keith Whitwell
8d349798da
Add a callback to set post-fragment state in the metaops utility.
Useful for accelerating read/draw/copy pixels when blitting isn't
sufficient.
20 years ago
Keith Whitwell
4aea628194
Fix clipping for copypixel
20 years ago
Keith Whitwell
008ddf628a
Remove dead code
20 years ago
Thomas Hellström
716496f263
Hack bufmgr_fake to allocate from ttms when possible.
20 years ago
Keith Whitwell
b3b325e560
get 3d textures working again
20 years ago
Keith Whitwell
382ce985ac
Fix cubemap layout
20 years ago
Keith Whitwell
54b7eca7a0
Append an MI_FLUSH to each batchbuffer for synchronization. Not really
ideal from a performance viewpoint and there are mechanisms to avoid this
in future.
20 years ago
Keith Whitwell
f74e06bf11
restore swapbuffers throttling
20 years ago
Keith Whitwell
9c02649d18
Introduce fixup/relocation lists for dma buffers.
20 years ago
Keith Whitwell
2c34704e41
tweaks
20 years ago
Keith Whitwell
85d0041ff0
rename texdown to reflect behaviour changes
20 years ago
Keith Whitwell
67ff8b354e
bump driver date, etc
20 years ago
Keith Whitwell
08e7957571
Fix inverted image in copytexsubimage by tickling the hardware to
do the inversion in the blitter.
20 years ago
Keith Whitwell
9c1f7089d8
Some functions had been indented by one space?!
20 years ago