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

1 2 3 4 5 67 8 91011>>

  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
StagePerformanceTest.java 21 import com.badlogic.gdx.graphics.Texture;
39 Texture texture; field in class:StagePerformanceTest
55 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"));
58 regions[x + y * 8] = new TextureRegion(texture, x * 32, y * 32, 32, 32);
119 texture.dispose();
TableTest.java 21 import com.badlogic.gdx.graphics.Texture;
39 Texture texture; field in class:TableTest
49 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"));
50 TextureRegion region = new TextureRegion(texture);
124 texture.dispose();
ViewportTest2.java 26 import com.badlogic.gdx.graphics.Texture;
46 private Texture texture; field in class:ViewportTest2
57 texture = new Texture(pixmap);
92 batch.draw(texture, -4096, -4096, 4096, 4096, 8192, 8192, 1, 1, 0, 0, 0, 16, 16, false, false);
95 batch.draw(texture, 150, 100, 16, 16, 32, 32, 1, 1, 45, 0, 0, 16, 16, false, false);
111 batch.draw(texture, 0, 0, leftGutterWidth, screenHeight);
112 batch.draw(texture, scalingViewport.getRightGutterX(), 0, scalingViewport.getRightGutterWidth(), screenHeight);
116 batch.draw(texture, 0, 0, screenWidth, bottomGutterHeight)
    [all...]
SpriteBatchTest.java 24 import com.badlogic.gdx.graphics.Texture;
25 import com.badlogic.gdx.graphics.Texture.TextureFilter;
37 Texture texture; field in class:SpriteBatchTest
38 Texture texture2;
84 spriteBatch.draw(texture, sprites[i], sprites[i + 1], 16, 16, 32, 32, scale, scale, angle, 0, 0, 32, 32, false, false);
180 texture = new Texture(32, 32, Format.RGB565);
181 texture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
182 texture.draw(pixmap, 0, 0);
    [all...]
TextureDownloadTest.java 26 import com.badlogic.gdx.graphics.Texture;
84 image = new TextureRegion(new Texture(potPixmap), 0, 0, originalWidth, originalHeight);
CpuSpriteBatchTest.java 22 import com.badlogic.gdx.graphics.Texture;
23 import com.badlogic.gdx.graphics.Texture.TextureFilter;
61 private Texture texture; field in class:CpuSpriteBatchTest
74 texture = new Texture("data/bobargb8888-32x32.png");
75 texture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
77 TextureRegionDrawable drawable = new TextureRegionDrawable(new TextureRegion(texture));
146 texture.dispose();
Gdx2DTest.java 26 import com.badlogic.gdx.graphics.Texture;
36 Texture textureFromPixmap (Gdx2DPixmap pixmap) {
37 Texture texture = new Texture(pixmap.getWidth(), pixmap.getHeight(), Format.RGB565); local
38 texture.bind();
41 return texture;
KTXTest.java 26 import com.badlogic.gdx.graphics.Texture;
27 import com.badlogic.gdx.graphics.Texture.TextureFilter;
51 // 3D texture cubemap example
60 // 2D texture alpha ETC1 example
62 private Texture image;
120 // 2D texture test
152 image = new Texture("data/egg.zktx");
176 // 2D texture with alpha & ETC1
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
BasicShapesTest.java 20 import com.badlogic.gdx.graphics.Texture;
39 final Texture texture = new Texture(Gdx.files.internal("data/badlogic.jpg")); local
40 disposables.add(texture);
41 final Material material = new Material(TextureAttribute.createDiffuse(texture), ColorAttribute.createSpecular(1, 1, 1, 1),
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
HeightMapTest.java 8 import com.badlogic.gdx.graphics.Texture;
30 Texture texture; field in class:HeightMapTest
39 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"));
63 ground.material = new Material(TextureAttribute.createDiffuse(texture));
75 texture.dispose();
MaterialTest.java 24 import com.badlogic.gdx.graphics.Texture;
53 Texture texture; field in class:MaterialTest
59 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"), true);
62 textureAttribute = new TextureAttribute(TextureAttribute.Diffuse, texture);
68 model.manageDisposable(texture);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
VoxelTest.java 22 import com.badlogic.gdx.graphics.Texture;
60 Texture texture = new Texture(Gdx.files.internal("data/g3d/tiles.png")); local
61 TextureRegion[][] tiles = TextureRegion.split(texture, 32, 32);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AbstractSlotRenderer.java 27 import com.android.gallery3d.glrenderer.Texture;
47 Texture content, int width, int height, int rotation) {
114 protected static void drawFrame(GLCanvas canvas, Rect padding, Texture frame,
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
PointSpriteParticleBatch.java 8 import com.badlogic.gdx.graphics.Texture;
87 TextureAttribute.createDiffuse((Texture)null));
90 public void setTexture(Texture texture){
92 attribute.textureDescription.texture = texture;
95 public Texture getTexture () {
97 return attribute.textureDescription.texture;
148 data.saveAsset(manager.getAssetFileName(getTexture()), Texture.class);
155 setTexture((Texture)manager.get(data.loadAsset()))
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_triangle.c 80 ASSERT(ctx->Texture._EnabledCoordUnits == 0);\
106 ASSERT(ctx->Texture._EnabledCoordUnits == 0); \
128 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
136 const GLubyte *texture = (const GLubyte *) swImg->Map; \
140 if (!rb || !texture) { \
154 rgba[i][RCOMP] = texture[pos+2]; \
155 rgba[i][GCOMP] = texture[pos+1]; \
156 rgba[i][BCOMP] = texture[pos+0]; \
186 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
194 const GLubyte *texture = (const GLubyte *) swImg->Map;
244 const GLchan *texture; member in struct:affine_info
600 const GLchan *texture; member in struct:persp_info
    [all...]
s_fragprog.c 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel'
82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
s_texture.c 25 * Functions for mapping/unmapping texture images.
121 /* scale = 1.0 since texture coords directly map to texels */
172 * Map a 2D slice of a texture image into user space.
176 * \param texImage the texture image
177 * \param slice the 3D image slice or array texture slice
295 GLbitfield enabledUnits = ctx->Texture._EnabledUnits;
297 /* loop over enabled texture units */
300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
315 GLbitfield enabledUnits = ctx->Texture._EnabledUnits;
317 /* loop over enabled texture units *
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/assets/loaders/
CubemapLoader.java 11 import com.badlogic.gdx.graphics.Texture.TextureFilter;
12 import com.badlogic.gdx.graphics.Texture.TextureWrap;
16 /** {@link AssetLoader} for {@link Cubemap} instances. The pixel data is loaded asynchronously. The texture is then created on the
76 /** the format of the final Texture. Uses the source images format if null **/
78 /** The texture to put the {@link TextureData} in, optional. **/
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
TiledDrawable.java 20 import com.badlogic.gdx.graphics.Texture;
59 Texture texture = region.getTexture(); local
64 float u2 = u + remainingX / texture.getWidth();
68 batch.draw(texture, x, y, remainingX, regionHeight, u, v2, u2, v);
73 v = v2 - remainingY / texture.getHeight();
74 batch.draw(texture, x, y, remainingX, remainingY, u, v2, u2, v);
80 float v = v2 - remainingY / texture.getHeight();
83 batch.draw(texture, x, y, regionWidth, remainingY, u, v2, u2, v);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
ClassicalShadowSystem.java 23 import com.badlogic.gdx.graphics.Texture;
114 public Texture getMainTexture () {
  /external/replicaisland/src/com/replica/replicaisland/
MotionBlurComponent.java 32 public Texture texture; field in class:MotionBlurComponent.BlurRecord
50 mHistory[x].texture = null;
70 Texture currentTexture = drawable.getTexture();
72 mHistory[mCurrentStep].texture = currentTexture;
95 if (record.texture != null) {
97 stepImage.setTexture(record.texture);
TiledVertexGrid.java 30 private Texture mTexture;
40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) {
46 mTexture = texture;
64 final Texture texture = mTexture; local
65 final float texelWidth = 1.0f / texture.width;
66 final float texelHeight = 1.0f / texture.height;
67 final int textureTilesAcross = texture.width / tileWidth;
68 final int textureTilesDown = texture.height / tileHeight
159 final Texture texture = mTexture; local
    [all...]
  /frameworks/base/libs/hwui/
TextDropShadowCache.h 28 #include "Texture.h"
111 * Alpha texture used to represent a shadow.
113 struct ShadowTexture: public Texture {
114 ShadowTexture(Caches& caches): Texture(caches) {
131 void operator()(ShadowText& text, ShadowTexture*& texture) override;
  /frameworks/native/services/surfaceflinger/RenderEngine/
RenderEngine.h 39 class Texture;
105 virtual void setupLayerTexturing(const Texture& texture) = 0;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/
GwtTest.java 29 import com.badlogic.gdx.graphics.Texture;
30 import com.badlogic.gdx.graphics.Texture.TextureFilter;
49 Texture texture; field in class:GwtTest
70 texture = new Texture(new Pixmap(Gdx.files.internal("data/badlogic.jpg")), true);
71 texture.setFilter(TextureFilter.MipMap, TextureFilter.Linear);
81 sprite = new Sprite(texture);
97 texture.bind(0);

Completed in 368 milliseconds

1 2 3 4 5 67 8 91011>>