Keith Whitwell
b6759e2be7
Add an assert
2006-02-24 10:10:50 +00:00
Keith Whitwell
af853b0da7
Flush old primitive before starting new one in intelRasterPrimitive.
2006-02-24 10:10:28 +00:00
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.
2006-02-23 14:24:39 +00:00
Keith Whitwell
4aea628194
Fix clipping for copypixel
2006-02-23 14:23:50 +00:00
Keith Whitwell
008ddf628a
Remove dead code
2006-02-23 14:23:06 +00:00
Thomas Hellström
716496f263
Hack bufmgr_fake to allocate from ttms when possible.
2006-02-23 13:30:11 +00:00
Keith Whitwell
b3b325e560
get 3d textures working again
2006-02-23 11:47:36 +00:00
Keith Whitwell
382ce985ac
Fix cubemap layout
2006-02-22 19:54:32 +00:00
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.
2006-02-22 19:26:37 +00:00
Keith Whitwell
f74e06bf11
restore swapbuffers throttling
2006-02-22 17:18:19 +00:00
Keith Whitwell
9c02649d18
Introduce fixup/relocation lists for dma buffers.
2006-02-22 15:16:01 +00:00
Keith Whitwell
2c34704e41
tweaks
2006-02-13 00:41:33 +00:00
Keith Whitwell
85d0041ff0
rename texdown to reflect behaviour changes
2006-02-13 00:40:33 +00:00
Keith Whitwell
67ff8b354e
bump driver date, etc
2006-02-13 00:39:20 +00:00
Keith Whitwell
08e7957571
Fix inverted image in copytexsubimage by tickling the hardware to
...
do the inversion in the blitter.
2006-02-13 00:38:46 +00:00
Keith Whitwell
9c1f7089d8
Some functions had been indented by one space?!
2006-02-11 04:28:13 +00:00
Keith Whitwell
5381ac5f11
move blit functions to new file
2006-02-11 02:54:09 +00:00
Keith Whitwell
a6f78d4eee
Use aligned malloc for backing store, if necessary.
2006-02-10 00:01:45 +00:00
Keith Whitwell
ae695e3566
Remove 2nd copy of do_memcpy
2006-02-09 23:09:47 +00:00
Keith Whitwell
c82c3335e1
fix refcounting and other issues
2006-02-09 23:06:23 +00:00
Keith Whitwell
f8246f504b
Add basic timing for memcpys
2006-02-09 23:04:44 +00:00
Keith Whitwell
499458bcdb
Add INVARIENT to the active state list
2006-02-09 23:01:34 +00:00
Keith Whitwell
37a53fd6a0
Make various changes to get a number out of texdown that better
...
represents realworld usage. In particular, avoid situations where
the client texture image and the mesa copy (if there is one) are both
resident in L2 cache.
2006-02-09 22:52:20 +00:00
Keith Whitwell
5ec38fb2ea
Turn DBG output on/off with INTEL_DEBUG=bufs
2006-02-09 22:21:20 +00:00
Keith Whitwell
11c0215bf8
Switch between memcpy implementations according to src/dest alignment.
2006-02-01 18:42:16 +00:00
Keith Whitwell
6a13b6c346
Debug off
2006-02-01 18:30:16 +00:00
Keith Whitwell
a103097ee5
Quieten depend
2006-02-01 18:29:56 +00:00
Keith Whitwell
7efad0d84c
Just build the i915 on this branch
2006-02-01 18:29:25 +00:00
Keith Whitwell
42c88cd072
subtexrate test on this branch too
2006-02-01 18:14:09 +00:00
Keith Whitwell
2541c54e79
gearbox demo on this branch too
2006-02-01 18:13:23 +00:00
Keith Whitwell
33529e3d8e
Bump driver date
2006-02-01 18:01:04 +00:00
Keith Whitwell
84c1b82081
Disable check_copytex_fragment_ops - it doesn't really apply.
2006-02-01 16:40:23 +00:00
Keith Whitwell
a97a1439ae
Get batchbuffers working natively again. This code still
...
relies over-heavily on the DRI lock to protect offsets in the
command stream from changing before being queued on the ring,
and should be viewed as being a pretty temporary mechanism
before a more robust alternative is implemented, most likely
based on a batchbuffer relocation list that will be used
to patch prebuilt batchbuffers after validation takes place.
2006-02-01 15:54:42 +00:00
Keith Whitwell
2fd2910010
Remove the last of the old AllocateAgp mechanism.
...
Move the batchbuffer code to being effectively a ring of
bufmgr buffers.
2006-02-01 15:51:31 +00:00
Keith Whitwell
fbbda155e0
Add code to map/unmap all texture images for the software rasterizer.
...
Add the color and depth buffers to the validation list to ensure they
are fenced correctly by hardware rasterization.
2006-02-01 15:50:14 +00:00
Keith Whitwell
a49c3c0fae
Ensure that color buffers and textures are mapped (bmBufferMap) before
...
software rasterizer fallbacks. This has two functions, firstly to
ensure that the Data pointers point to something and secondly to
ensure than any pending fences on those buffers are discharged before
allowing the software rasterizer to read/write the data.
This needs to be integrated with Brian's validate code.
2006-02-01 15:48:52 +00:00
Keith Whitwell
baf5998d59
file gearbox.c was added on branch texman_0_1_branch on 2006-02-01 18:13:23 +0000
2006-01-30 15:35:35 +00:00
Keith Whitwell
4c5acef241
Get hardware-accelerated CopyTexSubImage working well enough to run
...
Brian's gearbox demo.
2006-01-28 23:28:14 +00:00
Keith Whitwell
9839e272cf
Allow ValidateBuffers to allocate memory for buffers which haven't yet
...
got it by other methods. Typically this is buffers being written to by
hardware excluding the fixed front/back/depth buffers which are have
pre-allocated memory.
At some point will want to pass BM_READ/BM_WRITE flags to catch the
couple of cases where buffers are treated differently in each case.
2006-01-28 23:27:39 +00:00
Keith Whitwell
b57e79ff14
remove debug
2006-01-28 17:52:50 +00:00
Keith Whitwell
43824acb4e
Build fixes
2006-01-28 17:52:05 +00:00
Keith Whitwell
d8f509e749
Use the x86 __memcpy to avoid performance clif for uploads where the
...
source data is worse than 64-byte aligned.
2006-01-28 17:50:59 +00:00
Keith Whitwell
eb91c93c2e
file subtexrate.c was added on branch texman_0_1_branch on 2006-02-01 18:14:09 +0000
2006-01-27 15:44:40 +00:00
Keith Whitwell
79de983b6f
initial copytexsubimage code, untested
2006-01-27 11:58:00 +00:00
Brian Paul
fdb3acf016
added _swrast_eject_texture_images()
2006-01-27 03:42:56 +00:00
Keith Whitwell
2807d1f58a
Get readbuffer correctly.
2006-01-26 18:30:34 +00:00
Keith Whitwell
93f913926e
- Remove (most of) old agp client memory hack.
...
- Implement an accelerated version of glCopyPixels using the blitter.
2006-01-26 17:21:38 +00:00
Keith Whitwell
33ca04f379
Expand the buffer manager to include a notion of multiple pools within
...
a memory space. Allow some pools to be excluded from the upload/evict
processing, meaning that any buffers within those pools are effectively
fixed. Add a mechanism to create buffers in those pools.
This allows the legacy fixed front/depth/back buffers to be represented
in this scheme and will allow other future pinned buffers to be allocated
from fixed pools in such a way that they cannot fragment the rest of
the texture memory.
2006-01-26 14:50:02 +00:00
Brian Paul
398cb30c72
Added _swrast_validate_texture_images() to make sure all textures have
...
data resident for software rasterization.
Relies on new swrast driver function: ValidateTextureImage()
2006-01-26 04:05:53 +00:00
Keith Whitwell
f67bb30314
Fix confusion over pitch. demos/texobj renders correctly.
2006-01-25 17:16:46 +00:00