/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_tgsi.cpp | 246 const struct tgsi_instruction_texture *tex = &insn->Texture; local 255 switch (tex->Texture) { 336 static nv50_ir::TexTarget translateTexture(uint tex) 338 switch (tex) { 488 NV50_IR_OPCODE_CASE(TEX, TEX); 490 NV50_IR_OPCODE_CASE(TXP, TEX); 547 NV50_IR_OPCODE_CASE(SAMPLE, TEX); 549 NV50_IR_OPCODE_CASE(SAMPLE_C, TEX); 550 NV50_IR_OPCODE_CASE(SAMPLE_C_LZ, TEX); [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state_derived.c | 749 struct r300_resource *tex; local 768 tex = r300_resource(view->base.texture); 783 base_level = view->base.u.tex.first_level; 786 tex->b.b.last_level - base_level, 787 view->base.u.tex.last_level - base_level); 792 if (tex->tex.is_npot) { 799 offset = tex->tex.offset_in_bytes[base_level]; 801 r300_texture_setup_format_state(r300->screen, tex, 966 struct pipe_resource *tex; local [all...] |
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_core.c | 250 struct pipe_resource *tex; local 268 tex = tr_tex->resource; 269 t = pipe_get_transfer(context, tex,
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_filters.c | 65 struct pipe_resource *tex = 0; local 78 tex = screen->resource_create(screen, &templ); 82 pipe_get_transfer(pipe, tex, 85 0, 0, tex->width0, tex->height0); 92 return tex;
|
image.c | 209 struct pipe_resource *tex = img->sampler_view->texture; local 210 return tex;
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 298 struct pipe_resource *tex; local 305 tex = srf[0]->tex; 306 s0 = spt0[0] / tex->width0; 307 t0 = spt0[1] / tex->height0; 308 s1 = spt1[0] / tex->width0; 309 t1 = spt1[1] / tex->height0; 510 const int num_attribs = 2; /*pos + tex coord */
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 263 GLint tex = getActiveTexture() + GL_TEXTURE0; local 264 *ptr = tex;
|
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 177 Texture tex = new Texture(0, 0, 0, null, "Stub!"); local 178 return tex; 206 Texture tex = new Texture(compressed.getWidth(), compressed.getHeight(), local 209 return tex; 255 Texture tex = new Texture(header.mWidth, header.mHeight, local 263 return tex; 434 Texture tex = new Texture(header.mWidth, header.mHeight, internalFormat, local 436 return tex;
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_priv.h | 64 struct pipe_resource *tex; member in struct:xa_surface
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/skia/src/gpu/ |
GrDrawTarget.cpp | 914 GrTexture* tex = src->asTexture(); local 921 matrix.postIDiv(tex->width(), tex->height()); 922 this->drawState()->addColorTextureEffect(tex, matrix); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
MaterialContext.java | 120 Pointer pTex = (Pointer) mtex.getFieldValue("tex"); 122 Structure tex = pTex.fetchData(blenderContext.getInputStream()).get(0); local 123 int type = ((Number) tex.getFieldValue("type")).intValue(); 129 textures.add(tex); 132 textures.add(tex);
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
FilterPostProcessor.java | 220 Texture2D tex = filterTexture;
local 231 pass.getPassMaterial().setTexture("Texture", tex);
232 if (tex.getImage().getMultiSamples() > 1) {
233 pass.getPassMaterial().setInt("NumSamples", tex.getImage().getMultiSamples());
259 mat.setTexture("Texture", tex);
260 if (tex.getImage().getMultiSamples() > 1) {
261 mat.setInt("NumSamples", tex.getImage().getMultiSamples());
270 tex = filter.getRenderedTexture();
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/ |
J3MLoader.java | 146 Texture tex; local 148 tex = assetManager.loadTexture(texKey); 151 tex = null; 153 if (tex != null){ 155 tex.setWrap(WrapMode.Repeat); 158 tex = new Texture2D(PlaceholderAssets.getPlaceholderImage()); 160 return tex;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestAttachDriver.java | 111 Texture tex = assetManager.loadTexture(key); local 112 tex.setMinFilter(Texture.MinFilter.Trilinear); 113 mat.setTexture("ColorMap", tex);
|