summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_surface.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-12 16:00:11 -0700
committerBrian <[email protected]>2007-12-12 16:00:11 -0700
commita4ca2591f67a5d088fb7acc56d3d6d98aede753a (patch)
treec6ac49b3c4ac384e198acf11501e006b92254c6a /src/mesa/pipe/i915simple/i915_surface.c
parent708251558c4eb1719a0f73d83c233c7a492f2297 (diff)
Move float/rgba tile get/put functions into new file.
This should be moved into a gallium util lib (location tbd) so it can also be used by the state tracker. Then, remove the pipe->get/put_tile_rgba() functions.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_surface.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_surface.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_surface.c b/src/mesa/pipe/i915simple/i915_surface.c
index 3db4093d22c..b61ad17561c 100644
--- a/src/mesa/pipe/i915simple/i915_surface.c
+++ b/src/mesa/pipe/i915simple/i915_surface.c
@@ -34,6 +34,8 @@
#include "pipe/p_inlines.h"
#include "pipe/p_winsys.h"
+#include "pipe/softpipe/sp_rgba_tile.h" /* XXX TEMPORARY */
+
#define CLIP_TILE \
do { \
@@ -420,8 +422,13 @@ i915_init_surface_functions(struct i915_context *i915)
i915->pipe.get_tex_surface = i915_get_tex_surface;
i915->pipe.get_tile = i915_get_tile;
i915->pipe.put_tile = i915_put_tile;
+#if 0
i915->pipe.get_tile_rgba = i915_get_tile_rgba;
i915->pipe.put_tile_rgba = i915_put_tile_rgba;
+#else
+ i915->pipe.get_tile_rgba = softpipe_get_tile_rgba;
+ i915->pipe.put_tile_rgba = softpipe_put_tile_rgba;
+#endif
i915->pipe.surface_data = i915_surface_data;
i915->pipe.surface_copy = i915_surface_copy;
i915->pipe.surface_fill = i915_surface_fill;