HomeSort by relevance Sort by last modified time
    Searched refs:Texture (Results 226 - 250 of 429) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/native/services/surfaceflinger/RenderEngine/
GLES20RenderEngine.cpp 36 #include "Texture.h"
173 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) {
174 GLuint target = texture.getTextureTarget();
175 glBindTexture(target, texture.getTextureName());
177 if (texture.getFiltering()) {
185 mState.setTexture(texture);
190 Texture texture(Texture::TEXTURE_2D, mProtectedTexName)
    [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...]
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
TideMapLoader.java 26 import com.badlogic.gdx.graphics.Texture;
65 ObjectMap<String, Texture> textures = new ObjectMap<String, Texture>();
67 textures.put(textureFile.path(), new Texture(textureFile));
94 dependencies.add(new AssetDescriptor(image.path(), Texture.class));
168 TextureRegion texture = imageResolver.getImage(image.path()); local
181 int stopWidth = texture.getRegionWidth() - tileSizeX;
182 int stopHeight = texture.getRegionHeight() - tileSizeY;
186 TiledMapTile tile = new StaticTiledMapTile(new TextureRegion(texture, x, y, tileSizeX, tileSizeY));
TmxMapLoader.java 26 import com.badlogic.gdx.graphics.Texture;
79 ObjectMap<String, Texture> textures = new ObjectMap<String, Texture>();
84 Texture texture = new Texture(textureFile, parameters.generateMipMaps); local
85 texture.setFilter(parameters.textureMinFilter, parameters.textureMagFilter);
86 textures.put(textureFile.path(), texture); local
139 dependencies.add(new AssetDescriptor(image, Texture.class, texParams));
142 dependencies.add(new AssetDescriptor(image, Texture.class, texParams))
373 TextureRegion texture = imageResolver.getImage(image.path()); local
409 TextureRegion texture = imageResolver.getImage(image.path()); local
    [all...]
AtlasTmxMapLoader.java 29 import com.badlogic.gdx.graphics.Texture;
30 import com.badlogic.gdx.graphics.Texture.TextureFilter;
64 /** force texture filters? **/
68 protected Array<Texture> trackedTextures = new Array<Texture>();
196 for (Texture texture : trackedTextures) {
197 texture.setFilter(min, mag);
353 for (Texture texture : atlas.getTextures())
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
Animation3DTest.java 22 import com.badlogic.gdx.graphics.Texture;
73 assets.load("data/g3d/concrete.png", Texture.class);
74 assets.load("data/tree.png", Texture.class);
189 floorModel.getMaterial("concrete").set(TextureAttribute.createDiffuse(assets.get("data/g3d/concrete.png", Texture.class)));
191 TextureAttribute.createDiffuse(assets.get("data/tree.png", Texture.class)),
MeshBuilderTest.java 9 import com.badlogic.gdx.graphics.Texture;
52 Texture texture = new Texture(Gdx.files.internal("data/badlogic.jpg")); local
54 Material material = new Material(TextureAttribute.createDiffuse(texture));
64 modelBuilder.manage(texture);
  /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/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
CpuSpriteBatch.java 19 import com.badlogic.gdx.graphics.Texture;
151 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
154 super.draw(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
157 drawAdjusted(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
163 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth,
166 super.draw(texture, x, y, width, height, srcX, srcY, srcWidth, srcHeight, flipX, flipY);
168 drawAdjusted(texture, x, y, 0, 0, width, height, 1, 1, 0, srcX, srcY, srcWidth, srcHeight, flipX, flipY);
173 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight)
    [all...]
SpriteBatch.java 24 import com.badlogic.gdx.graphics.Texture;
46 Texture lastTexture = null;
229 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
235 if (texture != lastTexture)
236 switchTexture(texture);
360 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth,
366 if (texture != lastTexture)
367 switchTexture(texture);
598 Texture texture = region.texture; local
646 Texture texture = region.texture; local
766 Texture texture = region.texture; local
901 Texture texture = region.texture; local
    [all...]
PolygonSpriteBatch.java 27 import com.badlogic.gdx.graphics.Texture;
36 /** A PolygonSpriteBatch is used to draw 2D polygons that reference a texture (region). The class will batch the drawing commands
66 private Texture lastTexture;
214 final Texture texture = region.region.texture; local
215 if (texture != lastTexture)
216 switchTexture(texture);
253 final Texture texture = textureRegion.texture; local
298 Texture texture = textureRegion.texture; local
788 Texture texture = region.texture; local
847 Texture texture = region.texture; local
978 Texture texture = region.texture; local
1124 Texture texture = region.texture; local
    [all...]
NinePatch.java 20 import com.badlogic.gdx.graphics.Texture;
23 /** A 3x3 grid of texture regions. Any of the regions may be omitted. Padding may be set as a hint on how to inset content on top
28 * <b>NOTE</b>: This class expects a "post-processed" nine-patch, and not a raw ".9.png" texture. That is, the textures given to
31 * patch textures, or via the <code>left, right, top, bottom</code> parameters to {@link #NinePatch(Texture, int, int, int, int)}
51 private Texture texture; field in class:NinePatch
61 /** Create a ninepatch by cutting up the given texture into nine patches. The subsequent parameters define the 4 lines that will
62 * cut the texture region into 9 pieces.
68 public NinePatch (Texture texture, int left, int right, int top, int bottom) {
    [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/mesa3d/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/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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
RegionPickerPanel.java 16 import com.badlogic.gdx.graphics.Texture;
62 content.add(texturePanel, "texture");
159 Texture texture = texturePanel.getTexture(); local
161 yOffset = texture.getHeight()/rows, xOffset = texture.getWidth()/columns;
167 texturePanel.unselectedRegions.add(new TextureRegion(texture, i*xOffset, rowOffset, xOffset, yOffset) );
175 texturePanel.unselectedRegions.add(new TextureRegion(texture, columnOffset, j*yOffset, xOffset, yOffset) );
193 public void setTexture(Texture texture){
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
PolygonRegionTest.java 23 import com.badlogic.gdx.graphics.Texture;
40 Texture texture; field in class:PolygonRegionTest
49 texture = new Texture(Gdx.files.internal("data/tree.png"));
52 region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
55 region2 = new PolygonRegion(new TextureRegion(texture), new float[] {0, 0, 100, 100, 0, 100}, new short[] {0, 1, 2});
100 texture.dispose();
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
SoftBodyTest.java 23 import com.badlogic.gdx.graphics.Texture;
52 Texture texture; field in class:SoftBodyTest
118 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"));
124 new Material(TextureAttribute.createDiffuse(texture), ColorAttribute.createSpecular(Color.WHITE), FloatAttribute
146 texture.dispose();
147 texture = null;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/net/
NetAPITest.java 27 import com.badlogic.gdx.graphics.Texture;
53 Texture texture; field in class:NetAPITest
71 if (texture != null) texture.dispose();
100 if (texture != null) texture.dispose();
101 texture = null;
209 texture = new Texture(pixmap);
    [all...]
  /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/deqp/framework/opengl/
gluObjectWrapper.hpp 132 typedef TypedObjectWrapper<OBJECTTYPE_TEXTURE> Texture;
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
GlyphPage.java 42 import com.badlogic.gdx.graphics.Texture;
50 /** Stores a number of glyphs on a single texture.
55 private final Texture texture; field in class:GlyphPage
60 /** @param pageWidth The width of the backing texture.
61 * @param pageHeight The height of the backing texture. */
67 texture = new Texture(pageWidth, pageHeight, Format.RGBA8888);
71 /** Loads glyphs to the backing texture and sets the image on each loaded glyph. Loaded glyphs are removed from the list.
74 * This reduces texture binds when drawing since glyphs loaded at once are typically displayed together.
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/
SkinLoader.java 23 import com.badlogic.gdx.graphics.Texture;
31 /** {@link AssetLoader} for {@link Skin} instances. All {@link Texture} and {@link BitmapFont} instances will be loaded as
32 * dependencies. Passing a {@link SkinParameter} allows the exact name of the texture associated with the skin to be specified.
33 * Otherwise the skin texture is looked up just as with a call to {@link Skin#Skin(com.badlogic.gdx.files.FileHandle)}. A

Completed in 1641 milliseconds

1 2 3 4 5 6 7 8 91011>>