search for: subtile_x

Displaying 1 result from an estimated 1 matches for "subtile_x".

Did you mean: subtile_y
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...ES_WIDTH (LINEAR_PITCH/TILE_PITCH) + +static NVPtr last_wfb_pNv = NULL; + +/* Note, we can only expose one read and write function, the linear versions are for internal consumption. */ +static FbBits +nouveau_exa_wfb_read_memory(const void *src, int size) +{ + int i, line_x, line_y, tile_x, tile_y, subtile_x, subtile_y; + unsigned long offset = (unsigned long) src, subpixel_offset; + PixmapPtr pPixmap = NULL; + FbBits bits = 0; + void *new_src; + + if (!last_wfb_pNv) + return nouveau_exa_wfb_read_memory_linear(src, size); + + /* Find the right pixmap. */ + for (i = 0; i < 6; i++) + if (offset >...