/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_parse.c | 197 if (inst->Instruction.Texture) { 198 next_token( ctx, &inst->Texture); 199 for( i = 0; i < inst->Texture.NumOffsets; i++ ) {
|
tgsi_build.c | 274 tgsi_build_declaration_resource(unsigned texture, 283 dr.Resource = texture; 307 tgsi_build_declaration_sampler_view(unsigned texture, 318 dsv.Resource = texture; 594 instruction.Texture = 0; 714 instruction_texture.Texture = TGSI_TEXTURE_UNKNOWN; 723 unsigned texture, 731 instruction_texture.Texture = texture; 734 instruction->Texture = 1 [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_sampler_state.c | 41 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 115 if (ctx->Texture.CubeMapSeamless && 127 /* There's a bug in 1D texture sampling - it actually pays 139 * shadow comparison is enabled on each/any texture unit. 164 /* The sampler can handle non-normalized texture rectangle coordinates 212 if (ctx->Texture.Unit[unit]._ReallyEnabled)
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.c | 56 if ((ctx->Texture.Unit[0]._ReallyEnabled && 57 texunit_needs_combiners(&ctx->Texture.Unit[0])) || 58 ctx->Texture.Unit[1]._ReallyEnabled ||
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_sampler.c | 135 texobj = ctx->Texture.Unit[texUnit]._Current; 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; 200 ctx->Texture.CubeMapSeamless || msamp->CubeMapSeamless;
|
st_cb_drawtex.c | 130 if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_2D_BIT) { 199 if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_2D_BIT) { 200 struct gl_texture_object *obj = ctx->Texture.Unit[i]._Current;
|
/frameworks/base/libs/hwui/ |
PathCache.h | 28 #include "Texture.h" 59 * Alpha texture used to represent a path. 61 struct PathTexture: public Texture { 62 PathTexture(Caches& caches): Texture(caches) { 157 * Any texture added to the cache causing the cache to grow beyond the maximum 158 * allowed size will also cause the oldest texture to be kicked out. 169 void operator()(PathDescription& path, PathTexture*& texture); 237 * Generates the texture from a bitmap into the specified texture structure. 239 void generateTexture(SkBitmap& bitmap, Texture* texture) 288 PathTexture* texture; member in class:android::uirenderer::PathCache::PathTask [all...] |
SkiaShader.cpp | 27 #include "Texture.h" 58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { 59 caches->bindTexture(texture->id); 60 texture->setWrapST(wrapS, wrapT); 209 Texture* texture; member in struct:android::uirenderer::BitmapShaderInfo 216 Texture* texture = caches->textureCache.get(&bitmap); local 217 if (!texture) return false 280 Texture* texture = shaderInfo.texture; local 399 Texture* texture = caches->gradientCache.get(gradInfo.fColors, gradInfo.fColorOffsets, local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 143 * Texture combine functions 300 * Texture unit state management 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 325 /* Set the texture environment state. Isn't this nice and clean? 326 * The chip will automagically set the texture alpha to 0xff when 327 * the texture format does not include an alpha component. This 332 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 335 alpha_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXA_OUTPUT_REG_SHIFT) | 356 ctx->Texture.Unit[replaceargs]._CurrentCombine->OperandRGB[0] - GL_SRC_COLOR [all...] |
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 431 * \brief Texture object helper class 433 * Each Texture owns a GL texture object that is created when the Texture 435 * convenience interface functions to e.g. upload texture data to the GL. 438 * used by the corresponding GL texture object; get this with 447 class Texture 450 Texture (TextureType type); 451 ~Texture (void); 466 Texture (const Texture&); // Not allowed 1312 Texture& texture = m_textures->get(texName); variable [all...] |
glsFboUtil.cpp | 203 static void glInit (const Texture& cfg, const glw::Functions& gl) 249 else if (const Texture* const tex = dynamic_cast<const Texture*>(&cfg)) 265 else if (dynamic_cast<const Texture*>(&cfg) != DE_NULL) 324 // TEXTURE and the value of FRAMEBUFFER_ATTACHMENT_OBJECT_NAME names a 325 // three-dimensional texture, then the value of 327 // of the texture. 330 // TEXTURE and the value of FRAMEBUFFER_ATTACHMENT_OBJECT_NAME names a 331 // two-dimensional array texture, then the value of 333 // number of layers in the texture [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 143 * Texture combine functions 300 * Texture unit state management 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 325 /* Set the texture environment state. Isn't this nice and clean? 326 * The chip will automagically set the texture alpha to 0xff when 327 * the texture format does not include an alpha component. This 332 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 335 alpha_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXA_OUTPUT_REG_SHIFT) | 356 ctx->Texture.Unit[replaceargs]._CurrentCombine->OperandRGB[0] - GL_SRC_COLOR [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
meta.c | 28 * with texture mapping and glClear() can be done with polygon rendering. 201 * Temporary texture used for glBlitFramebuffer, glDrawPixels, etc. 209 GLsizei MinSize; /**< Min texture size to allocate */ 210 GLsizei MaxSize; /**< Max possible texture size */ 212 GLsizei Width, Height; /**< Current texture size */ 273 struct temp_texture Tex; /**< separate texture from other meta ops */ 277 * State for GLSL texture sampler which is used to generate fragment 306 * State for texture decompression 343 struct decompress_state Decompress; /**< For texture decompression */ 659 save->ActiveUnit = ctx->Texture.CurrentUnit [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 28 * with texture mapping and glClear() can be done with polygon rendering. 201 * Temporary texture used for glBlitFramebuffer, glDrawPixels, etc. 209 GLsizei MinSize; /**< Min texture size to allocate */ 210 GLsizei MaxSize; /**< Max possible texture size */ 212 GLsizei Width, Height; /**< Current texture size */ 273 struct temp_texture Tex; /**< separate texture from other meta ops */ 277 * State for GLSL texture sampler which is used to generate fragment 306 * State for texture decompression 343 struct decompress_state Decompress; /**< For texture decompression */ 659 save->ActiveUnit = ctx->Texture.CurrentUnit [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
texture_definition.cc | 369 Texture* texture, 375 texture->service_id())), 376 min_filter_(texture->min_filter()), 377 mag_filter_(texture->mag_filter()), 378 wrap_s_(texture->wrap_s()), 379 wrap_t_(texture->wrap_t()), 380 usage_(texture->usage()), 381 immutable_(texture->IsImmutable()) { 384 DCHECK(!texture->level_infos_.empty()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_build.c | 274 tgsi_build_declaration_resource(unsigned texture, 283 dr.Resource = texture; 307 tgsi_build_declaration_sampler_view(unsigned texture, 318 dsv.Resource = texture; 594 instruction.Texture = 0; 714 instruction_texture.Texture = TGSI_TEXTURE_UNKNOWN; 723 unsigned texture, 731 instruction_texture.Texture = texture; 734 instruction->Texture = 1 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 127 GLbitfield Texture[MAX_TEXTURE_UNITS]; 157 * Special struct for saving/restoring texture state (GL_TEXTURE_BIT) 161 struct gl_texture_attrib Texture; /**< The usual context state */ 163 /** to save per texture object state (wrap modes, filters, etc): */ 167 * To save references to texture objects (so they don't get accidentally 173 * default texture objects are kept. We don't want that state to be 175 * texture objects. 320 attr->Texture[i] = ctx->Texture.Unit[i].Enabled; 321 attr->TexGen[i] = ctx->Texture.Unit[i].TexGenEnabled [all...] |
/external/mesa3d/src/mesa/main/ |
attrib.c | 127 GLbitfield Texture[MAX_TEXTURE_UNITS]; 157 * Special struct for saving/restoring texture state (GL_TEXTURE_BIT) 161 struct gl_texture_attrib Texture; /**< The usual context state */ 163 /** to save per texture object state (wrap modes, filters, etc): */ 167 * To save references to texture objects (so they don't get accidentally 173 * default texture objects are kept. We don't want that state to be 175 * texture objects. 320 attr->Texture[i] = ctx->Texture.Unit[i].Enabled; 321 attr->TexGen[i] = ctx->Texture.Unit[i].TexGenEnabled [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
Renderer.h | 34 class Texture; 103 virtual void generateSwizzle(gl::Texture *texture) = 0; 105 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture) = 0; 264 // Buffer-to-texture and Texture-to-buffer copies
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_tgsi_to_rc.c | 236 switch(src.Texture) { 291 if (src->Instruction.Texture) 292 transform_texture(dst, src->Texture,
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_drawtex.c | 130 if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_2D_BIT) { 199 if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_2D_BIT) { 200 struct gl_texture_object *obj = ctx->Texture.Unit[i]._Current;
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_tgsi_to_rc.c | 236 switch(src.Texture) { 291 if (src->Instruction.Texture) 292 transform_texture(dst, src->Texture,
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
earth.cc | 79 // simple container for earth texture 80 struct Texture { 83 Texture(int w, int h) : width(w), height(h) { 87 explicit Texture(int w, int h, uint32_t* p) : width(w), height(h) { 91 ~Texture() { delete[] pixels; } 93 DISALLOW_COPY_AND_ASSIGN(Texture); 256 // Source texture (earth map). 257 Texture* base_tex_; 258 Texture* night_tex_; 664 base_tex_ = new Texture(width, height, pixels) [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
earth.cc | 136 // simple container for earth texture 137 struct Texture { 140 Texture(int w, int h) : width(w), height(h) { 144 explicit Texture(int w, int h, uint32_t* p) : width(w), height(h) { 148 ~Texture() { delete[] pixels; } 150 DISALLOW_COPY_AND_ASSIGN(Texture); 304 // Source texture (earth map). 305 Texture* base_tex_; 306 Texture* night_tex_; 704 base_tex_ = new Texture(width, height, pixels) [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/ |
earth.cc | 72 // simple container for earth texture 73 struct Texture { 76 Texture(int w, int h) : width(w), height(h) { 80 explicit Texture(int w, int h, uint32_t* p) : width(w), height(h) { 84 ~Texture() { delete[] pixels; } 86 DISALLOW_COPY_AND_ASSIGN(Texture); 265 // Source texture (earth map). 266 Texture* base_tex_; 267 Texture* night_tex_; 723 base_tex_ = new Texture(width, height, pixels) [all...] |