Displaying 3 results from an estimated 3 matches for "nouveau_no_transfer".
2009 Dec 31
1
[PATCH] Print NOUVEAU_NO_SWIZZLE and NOUVEAU_NO_TRANSFER messages only once
..._transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
struct nv04_miptree *mt = (struct nv04_miptree *)pt;
struct nv04_transfer *tx;
struct pipe_texture tx_tex_template, *tx_tex;
+ static int no_transfer = -1;
+ if(no_transfer < 0)
+ no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/);
tx = CALLOC_STRUCT(nv04_transfer);
if (!tx)
@@ -58,8 +61,7 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
tx->base.zslice = zslice;
/* Direct access to texture */
- if ((pt->tex_usage & PIPE_TEXTURE_USAGE_DYNAMIC ||
-...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
..._transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
struct nv04_miptree *mt = (struct nv04_miptree *)pt;
struct nv04_transfer *tx;
struct pipe_texture tx_tex_template, *tx_tex;
+ static int no_transfer = -1;
+ if(no_transfer < 0)
+ no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", FALSE);
tx = CALLOC_STRUCT(nv04_transfer);
if (!tx)
@@ -51,20 +54,21 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
tx->base.y = y;
tx->base.width = w;
tx->base.height = h;
- tx->base.stride = mt->level[level].pitch;
+ tx->base.stride...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
..._transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
struct nv04_miptree *mt = (struct nv04_miptree *)pt;
struct nv04_transfer *tx;
struct pipe_texture tx_tex_template, *tx_tex;
+ static int no_transfer = -1;
+ if(no_transfer < 0)
+ no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", FALSE);
tx = CALLOC_STRUCT(nv04_transfer);
if (!tx)
@@ -51,20 +54,21 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
tx->base.y = y;
tx->base.width = w;
tx->base.height = h;
- tx->base.stride = mt->level[level].pitch;
+ tx->base.stride...