/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 276 /* TEX */ 564 float *pos, *tex; local 626 tex = v[0]->data[texPos]; 627 ASSIGN_4V(tex, 0, 0, 0, 1); 629 tex = v[1]->data[texPos]; 630 ASSIGN_4V(tex, 0, 1, 0, 1); 632 tex = v[2]->data[texPos]; 633 ASSIGN_4V(tex, .5, 0, 0, 1); 635 tex = v[3]->data[texPos]; 636 ASSIGN_4V(tex, .5, 1, 0, 1) [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi.h | 135 struct lp_tgsi_texture_info tex[PIPE_MAX_SAMPLERS]; member in struct:lp_tgsi_info
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_decoder.c | 514 struct pipe_resource *tex; local 544 tex = buf->zscan_source->texture; 545 rect.width = tex->width0; 546 rect.height = tex->height0; 550 dec->base.context, tex, 983 struct ureg_dst tex) 993 vl_idct_stage2_vert_shader(idct, shader, first_output, tex); 996 ureg_MOV(shader, ureg_writemask(o_vtex, TGSI_WRITEMASK_XY), ureg_src(tex)); [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state.c | 385 struct pipe_resource *tex = view->texture; local 386 struct i915_texture *i915_tex = i915_texture(tex); 392 pipe_resource_reference(&i915->mapped_vs_tex[i], tex); 401 for (j = view->u.tex.first_level; j <= tex->last_level; j++) { 411 tex->width0, tex->height0, tex->depth0, 412 view->u.tex.first_level, tex->last_level [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir.cpp | 879 memset(&tex, 0, sizeof(tex)); 881 tex.rIndirectSrc = -1; 882 tex.sIndirectSrc = -1; 896 TexInstruction *tex = (i ? static_cast<TexInstruction *>(i) : local 899 Instruction::clone(pol, tex); 901 tex->tex = this->tex; 904 for (unsigned int c = 0; c < tex->tex.target.getDim(); ++c) [all...] |
nv50_ir_lowering_nv50.cpp | 580 const int arg = i->tex.target.getArgCount(); 582 const int lod = i->tex.target.isShadow() ? (arg + 1) : arg; 585 if (i->tex.target.isShadow()) 590 if (i->tex.target.isArray()) { 597 if (i->tex.target.isCube()) { 604 i->tex.target = TEX_TARGET_2D_ARRAY; 621 assert(i->tex.useOffsets <= 1); 630 // Move the input values for TEX into a new register set for each group and 631 // execute TEX only for a specific group. 643 Value *bias = i->getSrc(i->tex.target.getArgCount()) 664 Instruction *tex[4]; local 737 Instruction *tex; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_blit.c | 191 surf_tmpl.u.tex.level = level; 192 surf_tmpl.u.tex.first_layer = layer; 193 surf_tmpl.u.tex.last_layer = layer; 199 surf_tmpl.u.tex.level = level; 200 surf_tmpl.u.tex.first_layer = layer; 201 surf_tmpl.u.tex.last_layer = layer; 238 struct r600_texture *tex; local 245 tex = (struct r600_texture *)view->texture; 246 assert(tex->is_depth && !tex->is_flushing_texture) 318 struct r600_texture *tex; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
paint.c | 147 struct pipe_resource *tex = 0; local 160 tex = screen->resource_create(screen, &templ); 164 pipe_get_transfer(p->base.ctx->pipe, tex, 0, 0, 172 return tex;
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_priv.h | 64 struct pipe_resource *tex; member in struct:xa_surface
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 1081 struct pipe_resource *tex; local 1088 tex = xorg_exa_create_root_texture(pScrn, pScrn->virtualX, pScrn->virtualY, 1091 if (!tex) 1097 if (!ms->screen->resource_get_handle(ms->screen, tex, &whandle)) 1121 pipe_resource_reference(&ms->root_texture, tex); 1122 pipe_resource_reference(&tex, NULL); 1128 pipe_resource_reference(&tex, NULL); [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
compute.c | 51 struct pipe_resource *tex[MAX_RESOURCES]; member in struct:context 179 struct pipe_resource **tex = &ctx->tex[slot]; local 201 *tex = ctx->screen->resource_create(ctx->screen, &ttex); 202 assert(*tex); 204 xfer = pipe->get_transfer(pipe, *tex, 0, PIPE_TRANSFER_WRITE, 234 struct pipe_resource *tex = ctx->tex[slot]; local 235 int dx = util_format_get_blocksize(tex->format); 236 int dy = util_format_get_stride(tex->format, tex->width0) [all...] |
/external/mesa3d/src/mesa/main/ |
texobj.c | 306 valid_texture_object(const struct gl_texture_object *tex) 308 switch (tex->Target) { 325 tex->Target, tex->Name); 334 * If 'tex' is non-null, increment its refcount. 340 struct gl_texture_object *tex) 371 if (tex) { 373 ASSERT(valid_texture_object(tex)); 374 _glthread_LOCK_MUTEX(tex->Mutex); 375 if (tex->RefCount == 0) 1038 GLuint u, tex; local [all...] |
/external/skia/src/gpu/ |
GrDrawTarget.cpp | 1006 GrTexture* tex = src->asTexture(); local [all...] |
/frameworks/native/opengl/libagl/ |
texture.cpp | 33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 310 sp<EGLTextureObject> tex; local 323 tex = c->textures.defaultTexture; 325 if (c->textures.tmu[i].texture == tex.get()) 330 tex = c->surfaceManager->replaceTexture(name); 335 u.texture = tex.get(); 339 return tex; 343 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) 345 if (tex.get() == c->textures.tmu[tmu].texture) 355 u.texture = tex.get() 385 EGLTextureObject* tex = c->textures.tmu[active].texture; local 396 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local 621 EGLTextureObject* tex = c->textures.tmu[active].texture; local 874 sp<EGLTextureObject> tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_sample_soa.c | 332 /* mul by tex size */ 632 lp_build_name(x, "tex.x.wrapped"); 638 lp_build_name(y, "tex.y.wrapped"); 644 lp_build_name(z, "tex.z.wrapped"); 718 lp_build_name(x0, "tex.x0.wrapped"); 719 lp_build_name(x1, "tex.x1.wrapped"); 726 lp_build_name(y0, "tex.y0.wrapped"); 727 lp_build_name(y1, "tex.y1.wrapped"); 734 lp_build_name(z0, "tex.z0.wrapped"); 735 lp_build_name(z1, "tex.z1.wrapped") 1182 LLVMValueRef tex = LLVMBuildExtractElement(builder, texel[chan], indx, ""); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_blitter.c | 559 struct pipe_resource *tex = src->texture; local 560 unsigned level = src->u.tex.first_level; 561 boolean normalized = tex->target != PIPE_TEXTURE_RECT && 562 tex->nr_samples <= 1; 621 src->u.tex.first_level); 683 struct pipe_resource *tex) 687 assert(tex->target < PIPE_MAX_TEXTURE_TYPES); 689 if (tex->nr_samples > 1) { 690 void **shader = &ctx->fs_texfetch_col_msaa[tex->target]; 694 unsigned tgsi_tex = util_pipe_tex_to_tgsi_tex(tex->target [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/codegen/ |
nv50_ir_emit_nvc0.cpp | 971 code[1] |= i->tex.r; 972 code[1] |= i->tex.s << 8; 974 if (i->tex.liveOnly) 1001 if (i->tex.liveOnly) 1016 if (!i->tex.levelZero) 1019 if (i->tex.levelZero) { 1023 if (i->op != OP_TXD && i->tex.derivAll) 1031 if (i->op == OP_TXG) code[0] |= i->tex.gatherComp << 5; 1033 code[1] |= i->tex.mask << 14; 1035 code[1] |= i->tex.r 1832 int tex; \/\/ TEX to non-TEX delay 17 (0x11) member in struct:nv50_ir::SchedDataCalculator::RegScores::Resource [all...] |
nv50_ir_lowering_nvc0.cpp | 137 TexUse(Instruction *use, const Instruction *tex) 138 : insn(use), tex(tex), level(-1) { } 140 const Instruction *tex; // or split / mov member in struct:nv50_ir::NVC0LegalizePostRA::TexUse 151 void findFirstUses(const Instruction *tex, const Instruction *def, 153 void findOverwritingDefs(const Instruction *tex, Instruction *insn, 211 /* Values not connected to the tex's definition through any of these should 271 // over all paths, between the TEX and the use in question) 272 // 3. for each barrier, if all paths from the source TEX to that barrier 298 // gather the first uses for each TEX 300 Instruction *tex = reinterpret_cast<Instruction *>(insns.get(i)); local 760 Instruction *tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_code.h | 190 int tex_offset; /**< first tex instruction */ 191 int tex_end; /**< last tex instruction, relative to tex_offset */ 204 } tex; member in struct:r300_fragment_program_code
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_emit.c | 103 struct r300_resource *tex; local 115 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); 116 vec[0] = 1.0 / tex->tex.width0; 117 vec[1] = 1.0 / tex->tex.height0; 123 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); 125 vec[0] = tex->b.b.width0 / (tex->tex.width0 + 0.001f) 791 struct r300_resource *tex; local 1115 struct r300_resource* tex; local 1137 struct r300_resource *tex; local 1182 struct r300_resource *tex; local [all...] |
r300_state.c | 759 struct r300_resource *tex, 764 if (tex->tex.macrotile[tex->surface_level] != 765 tex->tex.macrotile[level]) { 766 r300->rws->buffer_set_tiling(tex->buf, r300->cs, 767 tex->tex.microtile, tex->tex.macrotile[level] 797 struct pipe_resource *tex = surf->texture; local 1523 struct r300_resource *tex = r300_resource(texture); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_asm.c | 223 LIST_INITHEAD(&cf->tex); 249 struct r600_bytecode_tex *tex = CALLOC_STRUCT(r600_bytecode_tex); local 251 if (tex == NULL) 253 LIST_INITHEAD(&tex->list); 254 return tex; 1906 struct r600_bytecode_tex *tex; local 2206 struct r600_bytecode_tex *tex = NULL, *next_tex; local 2238 struct r600_bytecode_tex *tex = NULL; local [all...] |
r600_asm.h | 164 struct list_head tex; member in struct:r600_bytecode_cf 229 int r600_bytecode_add_tex(struct r600_bytecode *bc, const struct r600_bytecode_tex *tex);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
renderer.c | 890 struct pipe_resource *tex; local 902 tex = views[0]->texture; 903 renderer->u.filter.tex_width = tex->width0; 904 renderer->u.filter.tex_height = tex->height0; 1427 struct pipe_resource texTemp, *tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_xv.c | 164 struct pipe_resource *tex = 0; local 177 tex = screen->resource_create(screen, &templ); 179 return tex; 512 if (dst && !dst->tex) { 517 if (!dst || !dst->tex) 518 XORG_FALLBACK("Xv destination %s", !dst ? "!dst" : "!dst->tex");
|