Displaying 1 result from an estimated 1 matches for "new_pitch".
Did you mean:
new_path
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...)) {
+ if (!nv50_style_tiled_pixmap(pdpix)) {
linear = 1;
dst_pitch = exaGetPixmapPitch(pdpix);
dst_offset += (y * dst_pitch) + (x * cpp);
@@ -390,6 +390,7 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, int height, int depth,
if (cpp) {
flags |= NOUVEAU_BO_VRAM;
+ *new_pitch = width * cpp;
if (pNv->Architecture >= NV_ARCH_50) {
if (height > 32) tile_mode = 4;
@@ -398,15 +399,22 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, int height, int depth,
else if (height > 4) tile_mode = 1;
else tile_mode = 0;
-...