/external/chromium_org/third_party/mesa/src/src/glsl/ |
ir_reader.cpp | 921 { "tex", s_type, s_sampler, s_coord, s_offset, s_proj, s_shadow }; 944 ir_texture *tex = new(mem_ctx) ir_texture(op); local 950 tex->opcode_string()); 958 tex->opcode_string()); 961 tex->set_sampler(sampler, type); 965 tex->coordinate = read_rvalue(s_coord); 966 if (tex->coordinate == NULL) { 968 tex->opcode_string()); 975 tex->offset = read_rvalue(s_offset); 976 if (tex->offset == NULL) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_wm.h | 78 struct brw_sampler_prog_key_data tex; member in struct:brw_wm_prog_key 145 GLuint tex_unit:4; /* texture unit for TEX, TXD, TXP instructions */
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 422 GLuint u, tex; local 438 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 439 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex], 440 ctx->Texture.Unit[u].CurrentTex[tex]); 446 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 447 _mesa_copy_texture_object(&texstate->SavedObj[u][tex], [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrGLContext.cpp | 87 deUint32 tex = *i; local 88 gl.deleteTextures(1, &tex);
|
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 216 // setup tex coords 298 // setup tex coords 305 // Swizzle tex coords 629 deUint32 tex = 0; local 633 glGenTextures(1, &tex); 634 glBindTexture(GL_TEXTURE_2D, tex); 671 deUint32 tex = 0; local 677 glGenTextures(1, &tex); 678 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 720 deUint32 tex = 0 local 769 deUint32 tex = 0; local 831 deUint32 tex = 0; local 876 deUint32 tex = 0; local 923 deUint32 tex = 0; local 987 deUint32 tex = 0; local 1060 deUint32 tex = 0; local 1112 deUint32 tex = 0; local 1176 deUint32 tex = 0; local 1227 deUint32 tex = 0; local 1284 deUint32 tex = 0; local 1332 deUint32 tex = 0; local 1389 deUint32 tex = 0; local 1464 deUint32 tex = 0; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureShadowTests.cpp | 853 const glu::Texture2DArray* tex = cases[caseNdx].texNdx > 0 ? m_gridTex : m_gradientTex; local 859 const float sX = deFloatExp2(lodX)*viewportW / float(tex->getRefTexture().getWidth()); 860 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); 862 m_cases.push_back(FilterCase(tex, ref, tcu::Vec3(oX, oY, minLayer), tcu::Vec3(oX+sX, oY+sY, maxLayer))); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureSpecificationTests.cpp | 328 deUint32 tex = 0; local 333 glGenTextures(1, &tex); 334 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 366 deUint32 tex = 0; local 371 glGenTextures (1, &tex); 372 glBindTexture (GL_TEXTURE_CUBE_MAP_ARRAY, tex); 433 deUint32 tex = 0; local 461 glGenTextures(1, &tex); 462 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 522 deUint32 tex = 0 local 607 deUint32 tex = 0; local 653 deUint32 tex = 0; local 727 deUint32 tex = 0; local [all...] |
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 505 const TextureBinding& tex = m_textures[ndx]; local 506 const tcu::Sampler& sampler = tex.getSampler(); 510 if (tex.getType() == TextureBinding::TYPE_NONE) 516 if (tex.getType() == TextureBinding::TYPE_2D_ARRAY) 519 if (tex.getType() == TextureBinding::TYPE_3D) 526 switch (tex.getType()) 528 case TextureBinding::TYPE_2D: texTarget = GL_TEXTURE_2D; texObj = tex.get2D()->getGLTexture(); break; 529 case TextureBinding::TYPE_CUBE_MAP: texTarget = GL_TEXTURE_CUBE_MAP; texObj = tex.getCube()->getGLTexture(); break; 530 case TextureBinding::TYPE_2D_ARRAY: texTarget = GL_TEXTURE_2D_ARRAY; texObj = tex.get2DArray()->getGLTexture(); break; 531 case TextureBinding::TYPE_3D: texTarget = GL_TEXTURE_3D; texObj = tex.get3D()->getGLTexture(); break [all...] |
/external/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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");
|
/external/mesa3d/src/glsl/ |
ir_reader.cpp | 921 { "tex", s_type, s_sampler, s_coord, s_offset, s_proj, s_shadow }; 944 ir_texture *tex = new(mem_ctx) ir_texture(op); local 950 tex->opcode_string()); 958 tex->opcode_string()); 961 tex->set_sampler(sampler, type); 965 tex->coordinate = read_rvalue(s_coord); 966 if (tex->coordinate == NULL) { 968 tex->opcode_string()); 975 tex->offset = read_rvalue(s_offset); 976 if (tex->offset == NULL) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm.h | 78 struct brw_sampler_prog_key_data tex; member in struct:brw_wm_prog_key 145 GLuint tex_unit:4; /* texture unit for TEX, TXD, TXP instructions */
|
/external/mesa3d/src/mesa/main/ |
attrib.c | 422 GLuint u, tex; local 438 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 439 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex], 440 ctx->Texture.Unit[u].CurrentTex[tex]); 446 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 447 _mesa_copy_texture_object(&texstate->SavedObj[u][tex], [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
HudSystem.java | 283 Texture tex = mFuelDrawable.getTexture(); local 284 mFuelDrawable.resize(tex.width, tex.height); 323 Texture tex = bitmap.getTexture(); local 324 bitmap.resize(tex.width, tex.height); 341 Texture tex = bitmap.getTexture(); local 342 bitmap.resize(tex.width, tex.height); 343 bitmap.setWidth((int)(tex.width * STOMP_BUTTON_SCALE)) 355 Texture tex = mMovementSliderBaseDrawable.getTexture(); local 361 Texture tex = mMovementSliderButtonDrawable.getTexture(); local 367 Texture tex = mMovementSliderButtonDepressedDrawable.getTexture(); local 386 Texture tex = mCoinDrawable.getTexture(); local 406 Texture tex = mRubyDrawable.getTexture(); local 480 Texture tex = mDigitDrawables[x].getTexture(); local 487 Texture tex = mXDrawable.getTexture(); local [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
ColladaParser.java | 335 Texture2D tex = getTexture(samplerName);
local 337 texP.setTexture(tex);
339 //Log.v(TAG, "Extracted texture " + tex);
479 Texture2D tex = new Texture2D();
local 480 tex.setFileName(file);
481 tex.setFileDir(mRootDir);
482 mScene.appendTextures(tex);
483 mImages.put(id, tex);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_ra.cpp | 1888 TexInstruction *tex; local [all...] |