Move the get/put_tile() functions to pipe_context.

The _rgba versions are temporary until the state tracker is updated.
This commit is contained in:
Brian
2007-10-25 18:50:15 -06:00
parent afd19177e4
commit ee80e0b620
20 changed files with 177 additions and 109 deletions

View File

@@ -204,7 +204,7 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
/* Do a row at a time to flip image data vertically */
for (i = 0; i < height; i++) {
strb->surface->get_tile(strb->surface, x, y, width, 1, df);
pipe->get_tile_rgba(pipe, strb->surface, x, y, width, 1, df);
y += yStep;
df += dfStride;
if (!dfStride) {