/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r300_fragprog_emit.c | 327 tex_end = code->tex.length - tex_offset - 1; 329 if (code->tex.length == emit->node_first_tex) { 331 error("Node %i has no TEX instructions", emit->current_node); 403 code->tex.length == emit->node_first_tex) { 416 emit->node_first_tex = code->tex.length; 430 if (code->tex.length >= emit->compiler->Base.max_tex_insts) { 431 error("Too many TEX instructions"); 457 code->tex.inst[code->tex.length++] = 523 tex_end = code->tex.length ? code->tex.length - 1 : 0 [all...] |
r300_fragprog.c | 87 fprintf(stderr, " TEX:\n"); 93 switch ((code->tex. 97 instr = "TEX"; 115 (code->tex. 118 (code->tex. 120 (code->tex. 123 code->tex.inst[i]);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
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...] |
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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
r300_fragprog.c | 87 fprintf(stderr, " TEX:\n"); 93 switch ((code->tex. 97 instr = "TEX"; 115 (code->tex. 118 (code->tex. 120 (code->tex. 123 code->tex.inst[i]);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
compute_memory_pool.c | 49 struct r600_texture * tex; local 65 tex = (struct r600_texture *)r600_texture_create( 68 assert(tex && "Out of memory"); 69 tex->is_rat = 1; 70 return tex;
|
r600_shader.c | 442 struct r600_bytecode_tex tex; local 444 tex.inst = bytes[bytes_read++]; 445 tex.resource_id = bytes[bytes_read++]; 446 tex.src_gpr = bytes[bytes_read++]; 447 tex.src_rel = bytes[bytes_read++]; 448 tex.dst_gpr = bytes[bytes_read++]; 449 tex.dst_rel = bytes[bytes_read++]; 450 tex.dst_sel_x = bytes[bytes_read++]; 451 tex.dst_sel_y = bytes[bytes_read++]; 452 tex.dst_sel_z = bytes[bytes_read++] 3758 struct r600_bytecode_tex tex; 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/drivers/nv50/codegen/ |
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...] |
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...] |
/external/mesa3d/src/gallium/drivers/r600/ |
compute_memory_pool.c | 49 struct r600_texture * tex; local 65 tex = (struct r600_texture *)r600_texture_create( 68 assert(tex && "Out of memory"); 69 tex->is_rat = 1; 70 return tex;
|
r600_shader.c | 442 struct r600_bytecode_tex tex; local 444 tex.inst = bytes[bytes_read++]; 445 tex.resource_id = bytes[bytes_read++]; 446 tex.src_gpr = bytes[bytes_read++]; 447 tex.src_rel = bytes[bytes_read++]; 448 tex.dst_gpr = bytes[bytes_read++]; 449 tex.dst_rel = bytes[bytes_read++]; 450 tex.dst_sel_x = bytes[bytes_read++]; 451 tex.dst_sel_y = bytes[bytes_read++]; 452 tex.dst_sel_z = bytes[bytes_read++] 3758 struct r600_bytecode_tex tex; 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/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglGL1Renderer.java | 682 private void setupTextureParams(Texture tex) { 683 int target = convertTextureType(tex.getType()); 686 int minFilter = convertMinFilter(tex.getMinFilter()); 687 int magFilter = convertMagFilter(tex.getMagFilter()); 692 switch (tex.getType()) { 695 // glTexParameteri(target, GL_TEXTURE_WRAP_R, convertWrapMode(tex.getWrap(WrapAxis.R))); 697 glTexParameteri(target, GL_TEXTURE_WRAP_T, convertWrapMode(tex.getWrap(WrapAxis.T))); 700 glTexParameteri(target, GL_TEXTURE_WRAP_S, convertWrapMode(tex.getWrap(WrapAxis.S))); 703 throw new UnsupportedOperationException("Unknown texture type: " + tex.getType()); 786 public void setTexture(int unit, Texture tex) { [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...] |
/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...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureHelper.java | 147 * @param tex
155 public Texture getTexture(Structure tex, BlenderContext blenderContext) throws BlenderFileException {
156 Texture result = (Texture) blenderContext.getLoadedFeature(tex.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
160 int type = ((Number) tex.getFieldValue("type")).intValue();
167 Pointer pImage = (Pointer) tex.getFieldValue("ima");
184 result = textureGenerator.generate(tex, width, height, depth, blenderContext);
196 LOGGER.log(Level.WARNING, "Unsupported texture type: {0} for texture: {1}", new Object[]{type, tex.getName()});
199 throw new BlenderFileException("Unknown texture type: " + type + " for texture: " + tex.getName());
202 result.setName(tex.getName());
207 result.setKey(new GeneratedTextureKey(tex.getName())); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_context.c | 422 struct pipe_resource *tex; local 433 tex = screen->resource_create(screen, &rtempl); 435 u_sampler_view_default_template(&vtempl, tex, tex->format); 438 r300->context.create_sampler_view(&r300->context, tex, &vtempl); 440 pipe_resource_reference(&tex, NULL);
|
r300_blit.c | 138 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; 146 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; 459 unsigned src_width0 = r300_resource(src)->tex.width0; 460 unsigned src_height0 = r300_resource(src)->tex.height0; 461 unsigned dst_width0 = r300_resource(dst)->tex.width0; 462 unsigned dst_height0 = r300_resource(dst)->tex.height0;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_tracker.c | 323 srf->tex = xa->screen->resource_create(xa->screen, template); 324 if (!srf->tex) 409 0, 0, 0, 0, srf->tex, 0, &src_box); 413 pipe_resource_reference(&srf->tex, texture); 424 pipe_resource_reference(&srf->tex, NULL); 447 res = screen->resource_get_handle(screen, srf->tex, &whandle);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_context.c | 422 struct pipe_resource *tex; local 433 tex = screen->resource_create(screen, &rtempl); 435 u_sampler_view_default_template(&vtempl, tex, tex->format); 438 r300->context.create_sampler_view(&r300->context, tex, &vtempl); 440 pipe_resource_reference(&tex, NULL);
|
r300_blit.c | 138 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; 146 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; 459 unsigned src_width0 = r300_resource(src)->tex.width0; 460 unsigned src_height0 = r300_resource(src)->tex.height0; 461 unsigned dst_width0 = r300_resource(dst)->tex.width0; 462 unsigned dst_height0 = r300_resource(dst)->tex.height0;
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tracker.c | 323 srf->tex = xa->screen->resource_create(xa->screen, template); 324 if (!srf->tex) 409 0, 0, 0, 0, srf->tex, 0, &src_box); 413 pipe_resource_reference(&srf->tex, texture); 424 pipe_resource_reference(&srf->tex, NULL); 447 res = screen->resource_get_handle(screen, srf->tex, &whandle);
|
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
p_state.h | 346 } tex; member in union:pipe_surface::__anon14862 370 } tex; member in union:pipe_sampler_view::__anon14865
|
/external/mesa3d/src/gallium/include/pipe/ |
p_state.h | 346 } tex; member in union:pipe_surface::__anon25227 370 } tex; member in union:pipe_sampler_view::__anon25230
|