/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
DistanceFieldFont.java | 26 import com.badlogic.gdx.graphics.Texture.TextureFilter; 74 // Distance field font rendering requires font texture to be filtered linear.
|
PixmapPackerIO.java | 9 import com.badlogic.gdx.graphics.Texture.TextureFilter;
|
PixmapPacker.java | 26 import com.badlogic.gdx.graphics.Texture;
27 import com.badlogic.gdx.graphics.Texture.TextureFilter;
56 * With this usage pattern, disposing the packer will not dispose any pixmaps used by the texture atlas. The texture atlas must
59 * Incremental texture atlas usage:
166 if (packToTexture && !duplicateBorder && page.texture != null && !page.dirty) {
167 page.texture.bind();
168 Gdx.gl.glTexSubImage2D(page.texture.glTarget, 0, rectX, rectY, rectWidth, rectHeight, image.getGLFormat(),
234 /** Disposes any pixmap pages which don't have a texture. Page pixmaps that have a texture will not be disposed until their 346 Texture texture; field in class:PixmapPacker.Page [all...] |
/external/mesa3d/docs/ |
MESA_ycbcr_texture.spec | 34 This extension supports texture images stored in the YCbCr format. 36 during pixel transfer. The texture's YCbCr colors are converted to 37 RGB during texture sampling, after-which, all the usual per-fragment 38 operations take place. Only 2D texture images are supported (not 115 In section 3.8.1, Texture Image Specification, on page 125, add 126 All pixel transfer operations are bypassed. The texture is stored as 127 YCbCr, not RGB. Queries of the texture's red, green and blue component 129 texture sampling using an implementation dependent conversion. 132 In section 3.8.1, Texture Image Specification, on page 126, add 139 In section 3.8.2, Alternate Texture Image Specification Commands, o [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tex.c | 56 * Set the texture wrap modes. 58 * \param t Texture object whose wrap modes are to be set 59 * \param swrap Wrap mode for the \a s texture coordinate 60 * \param twrap Wrap mode for the \a t texture coordinate 209 * Set the texture magnification and minification modes. 211 * \param t Texture whose filter modes are to be set 212 * \param minf Texture minification mode 213 * \param magf Texture magnification mode 274 * to set the 3D texture filter mode. 302 GLuint unit = ctx->Texture.CurrentUnit [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_normals.c | 98 !(ctx->Texture._GenFlags & TEXGEN_NEED_NORMALS))) {
|
t_vb_texgen.c | 51 * Automatic texture coordinate generation (texgen) code. 342 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 490 if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) 494 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; 514 if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) 518 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
BasicTexture.java | 25 // BasicTexture is a Texture corresponds to a real GL texture. 27 // If a BasicTexture is loaded into GL memory, it has a GL texture id. 28 public abstract class BasicTexture implements Texture { 38 // Log a warning if a texture is larger along a dimension 75 * Sets the content size of this texture. In OpenGL, the actual texture 84 Log.w(TAG, String.format("texture is too large: %d x %d", 117 // Returns true if the texture has one pixel transparent border around the 120 // The jigged edges appear because we use GL_CLAMP_TO_EDGE for texture wra [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
BasicTexture.java | 25 // BasicTexture is a Texture corresponds to a real GL texture. 27 // If a BasicTexture is loaded into GL memory, it has a GL texture id. 28 public abstract class BasicTexture implements Texture { 38 // Log a warning if a texture is larger along a dimension 75 * Sets the content size of this texture. In OpenGL, the actual texture 84 Log.w(TAG, String.format("texture is too large: %d x %d", 117 // Returns true if the texture has one pixel transparent border around the 120 // The jigged edges appear because we use GL_CLAMP_TO_EDGE for texture wra [all...] |
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
BasicTexture.java | 25 // BasicTexture is a Texture corresponds to a real GL texture. 27 // If a BasicTexture is loaded into GL memory, it has a GL texture id. 28 public abstract class BasicTexture implements Texture { 37 // Log a warning if a texture is larger along a dimension 72 * Sets the content size of this texture. In OpenGL, the actual texture 81 Log.w(TAG, String.format("texture is too large: %d x %d", 120 // onBind is called before GLCanvas binds this texture. 128 // recycle() is called when the texture will never be used again [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.hpp | 73 class Texture : public NamedObject 88 Texture (deUint32 name, Type type); 89 virtual ~Texture (void) {} 114 //! Class for managing list of texture levels. 138 tcu::ConstPixelBufferAccess m_effectiveAccess[MAX_TEXTURE_SIZE_LOG2]; //!< the currently effective sampling mode. For Depth-stencil texture always either Depth or stencil. 141 class Texture1D : public Texture 157 void updateView (tcu::Sampler::DepthStencilMode mode); // \note View must be refreshed after texture parameter/size changes, before calling sample*() 167 class Texture2D : public Texture 183 void updateView (tcu::Sampler::DepthStencilMode mode); // \note View must be refreshed after texture parameter/size changes, before calling sample*() 193 class TextureCube : public Texture [all...] |
sglrReferenceContext.cpp | 133 static Framebuffer::TexTarget texLayeredTypeToTarget (Texture::Type type) 137 case Texture::TYPE_2D_ARRAY: return Framebuffer::TEXTARGET_2D_ARRAY; 138 case Texture::TYPE_3D: return Framebuffer::TEXTARGET_3D; 139 case Texture::TYPE_CUBE_MAP_ARRAY: return Framebuffer::TEXTARGET_CUBE_MAP_ARRAY; 179 TCU_FAIL("Can't map pixel format to texture format"); 262 // Limit texture sizes to supported values 388 // Create empty textures to be used when texture objects are incomplete. 459 vector<Texture*> textures; 461 for (vector<Texture*>::iterator i = textures.begin(); i != textures.end(); i++) 494 void ReferenceContext::activeTexture (deUint32 texture) 685 Texture* texture = name ? m_textures.find(name) : DE_NULL; local 1124 TextureCube* texture = unit.texCubeBinding ? unit.texCubeBinding : &unit.defaultCubeTex; local 1163 Texture2DArray* texture = unit.tex2DArrayBinding ? unit.tex2DArrayBinding : &unit.default2DArrayTex; local 1202 Texture3D* texture = unit.tex3DBinding ? unit.tex3DBinding : &unit.default3DTex; local 1242 TextureCubeArray* texture = unit.texCubeArrayBinding ? unit.texCubeArrayBinding : &unit.defaultCubeArrayTex; local 1345 TextureCube& texture = unit.texCubeBinding ? *unit.texCubeBinding : unit.defaultCubeTex; variable 1365 Texture3D& texture = unit.tex3DBinding ? *unit.tex3DBinding : unit.default3DTex; variable 1384 Texture2DArray& texture = unit.tex2DArrayBinding ? *unit.tex2DArrayBinding : unit.default2DArrayTex; variable 1403 TextureCubeArray& texture = unit.texCubeArrayBinding ? *unit.texCubeArrayBinding : unit.defaultCubeArrayTex; variable 1445 Texture1D* texture = unit.tex1DBinding ? unit.tex1DBinding : &unit.default1DTex; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 209 CHECK( cube0_mm, (ctx->Texture.Unit[0]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_mm, (ctx->Texture.Unit[2]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 214 TCL_CHECK( tcl_tex0_add4, ctx->Texture.Unit[0]._ReallyEnabled, 4 ) 215 TCL_CHECK( tcl_tex1_add4, ctx->Texture.Unit[1]._ReallyEnabled, 4 ) 216 TCL_CHECK( tcl_tex2_add4, ctx->Texture.Unit[2]._ReallyEnabled, 4 ) 236 CHECK( txr0, (ctx->Texture.Unit[0]._ReallyEnabled & TEXTURE_RECT_BIT), 0 ) 237 CHECK( txr1, (ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_RECT_BIT), 0 ) 238 CHECK( txr2, (ctx->Texture.Unit[2]._ReallyEnabled & TEXTURE_RECT_BIT), 0 ) 421 radeonTexObj *t = r100->state.texture.unit[i].texobj [all...] |
radeon_maos_arrays.c | 269 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) 272 ((ctx->Texture.Unit[unit]._ReallyEnabled & (TEXTURE_CUBE_BIT)) == 0)) {
|
radeon_texstate.c | 120 * Texture combine functions 260 * Texture unit state management 266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 276 /* texUnit->_Current can be NULL if and only if the texture unit is 286 /* Set the texture environment state. Isn't this nice and clean? 287 * The chip will automagically set the texture alpha to 0xff when 288 * the texture format does not include an alpha component. This 295 rmesa->state.texture.unit[unit].format = 0; 296 rmesa->state.texture.unit[unit].envMode = 0; 345 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_ALPHA [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
GLTexture.java | 21 import com.badlogic.gdx.graphics.Texture.TextureFilter;
22 import com.badlogic.gdx.graphics.Texture.TextureWrap;
27 /** Class representing an OpenGL texture by its target and handle. Keeps track of its state like the TextureFilter and TextureWrap.
31 /** The target of this texture, used when binding the texture, e.g. GL_TEXTURE_2D */
39 /** @return the width of the texture in pixels */
42 /** @return the height of the texture in pixels */
45 /** @return the depth of the texture in pixels */
48 /** Generates a new OpenGL texture with the specified target. */
58 /** @return whether this texture is managed or not. */ [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Image.java | 20 import com.badlogic.gdx.graphics.Texture;
59 public Image (Texture texture) {
60 this(new TextureRegionDrawable(new TextureRegion(texture)));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
GroupTest.java | 22 import com.badlogic.gdx.graphics.Texture;
56 region = new TextureRegion(new Texture(Gdx.files.internal("data/group-debug.png")));
|
/external/mesa3d/src/gallium/include/pipe/ |
p_shader_tokens.h | 464 unsigned Texture : 1; 471 * If tgsi_instruction::Texture is TRUE, tgsi_instruction_texture follows. 472 * if texture instruction has a number of offsets, 473 * then tgsi_instruction::Texture::NumOffset of tgsi_texture_offset follow. 515 unsigned Texture : 8; /* TGSI_TEXTURE_ */ 520 /* for texture offsets in GLSL and DirectX. 523 * non-constant texture offsets.
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_fbo.c | 272 att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 274 /* Allocate a renderbuffer object for the texture if we 284 /* Update the renderbuffer fields from the texture. */ 298 texture_dirty(att->Texture);
|
/external/mesa3d/src/mesa/main/ |
fbobject.h | 74 /** Return the texture image for a renderbuffer attachment */ 79 return att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 83 /** Return the (const) texture image for a renderbuffer attachment */ 88 return att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 175 GLenum textarget, GLuint texture, GLint level); 179 GLenum textarget, GLuint texture, GLint level); 183 GLenum textarget, GLuint texture, 188 GLuint texture, GLint level, GLint layer); 210 GLuint texture, GLint level); 214 GLuint texture, GLint level, GLenum face) [all...] |
texenv.c | 47 /** Set texture env mode */ 401 if (ctx->Texture.CurrentUnit >= maxUnit) { 494 if (ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] == state) 497 ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] = state; 521 /* Tell device driver about the new texture environment */ 674 if (ctx->Texture.CurrentUnit >= maxUnit) { 714 *params = (GLfloat) ctx->Point.CoordReplace[ctx->Texture.CurrentUnit]; 738 if (ctx->Texture.CurrentUnit >= maxUnit) { 776 *params = (GLint) ctx->Point.CoordReplace[ctx->Texture.CurrentUnit];
|
/external/deqp/modules/egl/ |
teglGLES2SharingThreadedTests.cpp | 71 class Texture; 79 SharedPtr<Texture> popTexture (int index); 80 const SharedPtr<Texture> getTexture (int index) const { return m_textures[index]; } 81 void addTexture (SharedPtr<Texture> texture) { m_textures.push_back(texture); } 100 std::vector<SharedPtr<Texture> > m_textures; 106 SharedPtr<Texture> GLES2ResourceManager::popTexture (int index) 108 SharedPtr<Texture> texture = m_textures[index] local 872 GLuint texture; member in class:deqp::egl::GLES2ThreadTest::Texture 2352 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getTexture(textureNdx); local 2637 SharedPtr<GLES2ThreadTest::Texture> texture; local 2649 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 2657 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local 2665 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 2673 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local 2773 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(nonSiblingTextureNdx); local 2792 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 3258 SharedPtr<GLES2ThreadTest::Texture> texture; local 3366 SharedPtr<GLES2ThreadTest::Texture> texture; local [all...] |
/external/deqp/modules/glshared/ |
glsFboUtil.cpp | 360 static void glInit (const Texture& cfg, const glw::Functions& gl) 406 else if (const Texture* const tex = dynamic_cast<const Texture*>(&cfg)) 422 else if (dynamic_cast<const Texture*>(&cfg) != DE_NULL) 481 // TEXTURE and the value of FRAMEBUFFER_ATTACHMENT_OBJECT_NAME names a 482 // three-dimensional texture, then the value of 484 // of the texture. 487 // TEXTURE and the value of FRAMEBUFFER_ATTACHMENT_OBJECT_NAME names a 488 // two-dimensional array texture, then the value of 490 // number of layers in the texture [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
CompressedTextureSurfaceView.java | 59 CompressedTextureLoader.Texture compressed) { 133 CompressedTextureLoader.Texture mCompressedTexture; 150 CompressedTextureLoader.Texture compressed) {
|