summaryrefslogtreecommitdiff
path: root/src/i830_ring.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-03-14 10:03:11 -0700
committerEric Anholt <eric@anholt.net>2008-03-14 10:18:10 -0700
commit65f92cfb7a05c9c028cf73ce1221cc0a651b50b3 (patch)
tree5d29d17b9bf115bb639812a108b18888dc680f01 /src/i830_ring.h
parent402fbd36221d2ed27913850f6bfcce768b970fe8 (diff)
Remove h0h0 UploadToScreen implementation that used pattern blits.
It never worked and was never that hot of an idea. Most of the motivation is gone with glyph pixmaps anyway.
Diffstat (limited to 'src/i830_ring.h')
-rw-r--r--src/i830_ring.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/i830_ring.h b/src/i830_ring.h
index 177b0d52..cf789eb6 100644
--- a/src/i830_ring.h
+++ b/src/i830_ring.h
@@ -42,28 +42,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
pI830->ring_next &= pI830->LpRing->tail_mask; \
} while (0)
-/** Copies a given number of bytes to the ring */
-#define OUT_RING_COPY(n, ptr) do { \
- if (I810_DEBUG & DEBUG_VERBOSE_RING) \
- ErrorF("OUT_RING_DATA %d bytes\n", n); \
- memcpy_volatile(pI830->LpRing->virtual_start + pI830->ring_next, \
- ptr, n); \
- pI830->ring_used += n; \
- pI830->ring_next += n; \
- pI830->ring_next &= pI830->LpRing->tail_mask; \
-} while (0)
-
-/** Pads the ring with a given number of zero bytes */
-#define OUT_RING_PAD(n) do { \
- if (I810_DEBUG & DEBUG_VERBOSE_RING) \
- ErrorF("OUT_RING_PAD %d bytes\n", n); \
- memset_volatile(pI830->LpRing->virtual_start + pI830->ring_next, \
- 0, n); \
- pI830->ring_used += n; \
- pI830->ring_next += n; \
- pI830->ring_next &= pI830->LpRing->tail_mask; \
-} while (0)
-
union intfloat {
float f;
unsigned int ui;