/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_ioctl.c | 59 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 66 if (rmesa->radeon.sarea) 67 fprintf( stderr, "r200Clear %x %d\n", mask, rmesa->radeon.sarea->pfCurrentPage);
|
r200_maos_arrays.c | 78 r200ContextPtr rmesa = R200_CONTEXT( ctx ); local 117 if (!rmesa->radeon.tcl.aos[i].bo) { 120 &(rmesa->radeon.tcl.aos[nr]), 127 &(rmesa->radeon.tcl.aos[nr]), 176 if (!rmesa->radeon.tcl.aos[nr].bo) { 178 &(rmesa->radeon.tcl.aos[nr]), 190 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 191 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 192 R200_STATECHANGE( rmesa, vtx ); 193 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0 [all...] |
r200_cmdbuf.c | 55 void r200SetUpAtomList( r200ContextPtr rmesa ) 59 mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 61 make_empty_list(&rmesa->radeon.hw.atomlist); 62 rmesa->radeon.hw.atomlist.name = "atom-list"; 64 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.ctx ); 65 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.set ); 66 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.lin ) 162 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
r200_context.c | 74 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 77 GLuint agp_mode = (rmesa->radeon.radeonScreen->card_type == RADEON_CARD_PCI)? 0 : 78 rmesa->radeon.radeonScreen->AGPMode; 88 !(rmesa->radeon.TclFallback & R200_TCL_FALLBACK_TCL_DISABLE) 148 r200ContextPtr rmesa = (r200ContextPtr)radeon; local 151 R200_STATECHANGE( rmesa, ctx ); 152 if (rmesa->radeon.sarea->tiling_enabled) { 153 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= R200_COLOR_TILE_ENABLE; 155 else rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= ~R200_COLOR_TILE_ENABLE; 157 if ( sarea->ctx_owner != rmesa->radeon.dri.hwContext ) 210 r200ContextPtr rmesa; local 476 r200ContextPtr rmesa = (r200ContextPtr)driContextPriv->driverPrivate; local [all...] |
r200_tex.c | 301 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 318 if ( rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] != envColor ) { 319 R200_STATECHANGE( rmesa, tf ); 320 rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] = envColor; 336 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? 342 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] & R200_LOD_BIAS_MASK) != b ) { 343 R200_STATECHANGE( rmesa, tex[unit] ); 344 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] &= ~R200_LOD_BIAS_MASK; 345 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] |= b; 351 R200_STATECHANGE( rmesa, spr ) 414 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 454 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 471 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 495 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
r200_fragshader.c | 126 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 131 R200_STATECHANGE( rmesa, afs[0] ); 132 R200_STATECHANGE( rmesa, afs[1] ); 135 afs_cmd = (GLuint *) rmesa->hw.afs[1].cmd; 138 afs_cmd = (GLuint *) rmesa->hw.afs[0].cmd; 320 afs_cmd = (GLuint *) rmesa->hw.afs[1].cmd; 322 rmesa->afs_loaded = ctx->ATIFragmentShader.Current; 326 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 330 R200_STATECHANGE( rmesa, ctx ); 331 R200_STATECHANGE( rmesa, cst ) 504 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 542 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_ioctl.c | 59 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 66 if (rmesa->radeon.sarea) 67 fprintf( stderr, "r200Clear %x %d\n", mask, rmesa->radeon.sarea->pfCurrentPage);
|
r200_maos_arrays.c | 78 r200ContextPtr rmesa = R200_CONTEXT( ctx ); local 117 if (!rmesa->radeon.tcl.aos[i].bo) { 120 &(rmesa->radeon.tcl.aos[nr]), 127 &(rmesa->radeon.tcl.aos[nr]), 176 if (!rmesa->radeon.tcl.aos[nr].bo) { 178 &(rmesa->radeon.tcl.aos[nr]), 190 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 191 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 192 R200_STATECHANGE( rmesa, vtx ); 193 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0 [all...] |
r200_cmdbuf.c | 55 void r200SetUpAtomList( r200ContextPtr rmesa ) 59 mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 61 make_empty_list(&rmesa->radeon.hw.atomlist); 62 rmesa->radeon.hw.atomlist.name = "atom-list"; 64 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.ctx ); 65 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.set ); 66 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.lin ) 162 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
r200_context.c | 74 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 77 GLuint agp_mode = (rmesa->radeon.radeonScreen->card_type == RADEON_CARD_PCI)? 0 : 78 rmesa->radeon.radeonScreen->AGPMode; 88 !(rmesa->radeon.TclFallback & R200_TCL_FALLBACK_TCL_DISABLE) 148 r200ContextPtr rmesa = (r200ContextPtr)radeon; local 151 R200_STATECHANGE( rmesa, ctx ); 152 if (rmesa->radeon.sarea->tiling_enabled) { 153 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= R200_COLOR_TILE_ENABLE; 155 else rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= ~R200_COLOR_TILE_ENABLE; 157 if ( sarea->ctx_owner != rmesa->radeon.dri.hwContext ) 210 r200ContextPtr rmesa; local 476 r200ContextPtr rmesa = (r200ContextPtr)driContextPriv->driverPrivate; local [all...] |
r200_tex.c | 301 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 318 if ( rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] != envColor ) { 319 R200_STATECHANGE( rmesa, tf ); 320 rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] = envColor; 336 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? 342 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] & R200_LOD_BIAS_MASK) != b ) { 343 R200_STATECHANGE( rmesa, tex[unit] ); 344 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] &= ~R200_LOD_BIAS_MASK; 345 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] |= b; 351 R200_STATECHANGE( rmesa, spr ) 414 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 454 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 471 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 495 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
r200_fragshader.c | 126 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 131 R200_STATECHANGE( rmesa, afs[0] ); 132 R200_STATECHANGE( rmesa, afs[1] ); 135 afs_cmd = (GLuint *) rmesa->hw.afs[1].cmd; 138 afs_cmd = (GLuint *) rmesa->hw.afs[0].cmd; 320 afs_cmd = (GLuint *) rmesa->hw.afs[1].cmd; 322 rmesa->afs_loaded = ctx->ATIFragmentShader.Current; 326 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 330 R200_STATECHANGE( rmesa, ctx ); 331 R200_STATECHANGE( rmesa, cst ) 504 r200ContextPtr rmesa = R200_CONTEXT(ctx); local 542 r200ContextPtr rmesa = R200_CONTEXT(ctx); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_maos_arrays.c | 86 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 101 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, emitsize * 4, 32); 106 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, emitsize * count * 4, 32); 146 r100ContextPtr rmesa = R100_CONTEXT( ctx ); local 159 if (!rmesa->tcl.obj.buf) 161 &(rmesa->tcl.aos[nr]), 179 if (!rmesa->tcl.norm.buf) 181 &(rmesa->tcl.aos[nr]), 205 if (!rmesa->tcl.rgba.buf) 207 &(rmesa->tcl.aos[nr]) [all...] |
radeon_span.c | 121 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 124 radeon_firevertices(rmesa);
|
radeon_context.c | 96 r100ContextPtr rmesa = (r100ContextPtr)radeon; local 99 RADEON_STATECHANGE(rmesa, ctx); 100 if (rmesa->radeon.sarea->tiling_enabled) { 101 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= 104 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= 108 if (sarea->ctx_owner != rmesa->radeon.dri.hwContext) { 109 sarea->ctx_owner = rmesa->radeon.dri.hwContext; 113 static void r100_vtbl_emit_cs_header(struct radeon_cs *cs, radeonContextPtr rmesa) 119 r100ContextPtr rmesa = (r100ContextPtr)radeon; local 122 rmesa->hw.zbs.dirty = 1 128 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 176 r100ContextPtr rmesa; local [all...] |
radeon_ioctl.c | 65 void radeonSetUpAtomList( r100ContextPtr rmesa ) 67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 69 make_empty_list(&rmesa->radeon.hw.atomlist); 70 rmesa->radeon.hw.atomlist.name = "atom-list"; 72 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.ctx); 73 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.set); 74 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.lin) 171 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 383 r100ContextPtr rmesa = R100_CONTEXT(ctx); local [all...] |
radeon_tex.c | 261 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 276 if ( rmesa->hw.tex[unit].cmd[TEX_PP_TFACTOR] != envColor ) { 277 RADEON_STATECHANGE( rmesa, tex[unit] ); 278 rmesa->hw.tex[unit].cmd[TEX_PP_TFACTOR] = envColor; 292 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? 302 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] & RADEON_LOD_BIAS_MASK) != b ) { 303 RADEON_STATECHANGE( rmesa, tex[unit] ); 304 rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] &= ~RADEON_LOD_BIAS_MASK; 305 rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] |= (b & RADEON_LOD_BIAS_MASK); 357 r100ContextPtr rmesa = R100_CONTEXT(ctx) local 397 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 411 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 434 r100ContextPtr rmesa = R100_CONTEXT(ctx); local [all...] |
radeon_dma.c | 140 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 144 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * 4, 32); 148 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * count * 4, 32); 175 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 182 radeonAllocDmaRegion( rmesa, &aos->bo, &aos->offset, size * 4, 32 ); 186 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * count * 4, 32); 204 void radeon_init_dma(radeonContextPtr rmesa) 206 make_empty_list(&rmesa->dma.free); 207 make_empty_list(&rmesa->dma.wait); 208 make_empty_list(&rmesa->dma.reserved) 423 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local [all...] |
radeon_maos_verts.c | 312 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 316 GLuint vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & 359 if (((rmesa->NeedTexMatrix >> unit) & 1) && 360 (swaptexmatcol != ((rmesa->TexMatColSwap >> unit) & 1))) 361 radeonUploadTexMatrix( rmesa, unit, swaptexmatcol ) ; 366 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 367 RADEON_STATECHANGE( rmesa, tcl ); 368 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx; 375 if (rmesa->tcl.vertex_format == setup_tab[i].vertex_format && 376 rmesa->radeon.tcl.aos[0].bo [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_arrays.c | 86 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 101 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, emitsize * 4, 32); 106 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, emitsize * count * 4, 32); 146 r100ContextPtr rmesa = R100_CONTEXT( ctx ); local 159 if (!rmesa->tcl.obj.buf) 161 &(rmesa->tcl.aos[nr]), 179 if (!rmesa->tcl.norm.buf) 181 &(rmesa->tcl.aos[nr]), 205 if (!rmesa->tcl.rgba.buf) 207 &(rmesa->tcl.aos[nr]) [all...] |
radeon_span.c | 121 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 124 radeon_firevertices(rmesa);
|
radeon_context.c | 96 r100ContextPtr rmesa = (r100ContextPtr)radeon; local 99 RADEON_STATECHANGE(rmesa, ctx); 100 if (rmesa->radeon.sarea->tiling_enabled) { 101 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= 104 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= 108 if (sarea->ctx_owner != rmesa->radeon.dri.hwContext) { 109 sarea->ctx_owner = rmesa->radeon.dri.hwContext; 113 static void r100_vtbl_emit_cs_header(struct radeon_cs *cs, radeonContextPtr rmesa) 119 r100ContextPtr rmesa = (r100ContextPtr)radeon; local 122 rmesa->hw.zbs.dirty = 1 128 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 176 r100ContextPtr rmesa; local [all...] |
radeon_ioctl.c | 65 void radeonSetUpAtomList( r100ContextPtr rmesa ) 67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 69 make_empty_list(&rmesa->radeon.hw.atomlist); 70 rmesa->radeon.hw.atomlist.name = "atom-list"; 72 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.ctx); 73 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.set); 74 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.lin) 171 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 383 r100ContextPtr rmesa = R100_CONTEXT(ctx); local [all...] |
radeon_tex.c | 261 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 276 if ( rmesa->hw.tex[unit].cmd[TEX_PP_TFACTOR] != envColor ) { 277 RADEON_STATECHANGE( rmesa, tex[unit] ); 278 rmesa->hw.tex[unit].cmd[TEX_PP_TFACTOR] = envColor; 292 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? 302 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] & RADEON_LOD_BIAS_MASK) != b ) { 303 RADEON_STATECHANGE( rmesa, tex[unit] ); 304 rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] &= ~RADEON_LOD_BIAS_MASK; 305 rmesa->hw.tex[unit].cmd[TEX_PP_TXFILTER] |= (b & RADEON_LOD_BIAS_MASK); 357 r100ContextPtr rmesa = R100_CONTEXT(ctx) local 397 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 411 r100ContextPtr rmesa = R100_CONTEXT(ctx); local 434 r100ContextPtr rmesa = R100_CONTEXT(ctx); local [all...] |
radeon_dma.c | 140 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 144 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * 4, 32); 148 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * count * 4, 32); 175 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local 182 radeonAllocDmaRegion( rmesa, &aos->bo, &aos->offset, size * 4, 32 ); 186 radeonAllocDmaRegion(rmesa, &aos->bo, &aos->offset, size * count * 4, 32); 204 void radeon_init_dma(radeonContextPtr rmesa) 206 make_empty_list(&rmesa->dma.free); 207 make_empty_list(&rmesa->dma.wait); 208 make_empty_list(&rmesa->dma.reserved) 423 radeonContextPtr rmesa = RADEON_CONTEXT(ctx); local [all...] |