/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ImmediateModeRendererTest.java | 21 import com.badlogic.gdx.graphics.Texture;
30 Texture texture;
field in class:ImmediateModeRendererTest 34 texture.dispose();
41 texture.bind();
58 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"));
|
PixelPerfectTest.java | 24 import com.badlogic.gdx.graphics.Texture;
31 Texture tex;
42 tex = new Texture(pixmap);
|
PixelsPerInchTest.java | 21 import com.badlogic.gdx.graphics.Texture;
30 Texture texture;
field in class:PixelsPerInchTest 36 texture = new Texture(Gdx.files.internal("data/badlogicsmall.jpg"));
45 batch.draw(texture, 10, 100, width, height, 0, 0, 64, 32, false, false);
56 texture.dispose();
|
RotationTest.java | 21 import com.badlogic.gdx.graphics.Texture;
28 Texture texture;
field in class:RotationTest 34 texture = new Texture(Gdx.files.internal("data/black_marked_0.png"));
35 region = new TextureRegion(texture);
44 batch.draw(texture, 0, 0);
53 texture.dispose();
|
SpriteCacheOffsetTest.java | 22 import com.badlogic.gdx.graphics.Texture;
32 private Texture texture;
field in class:SpriteCacheOffsetTest 35 texture = new Texture(Gdx.files.internal("data/badlogicsmall.jpg"));
36 Sprite sprite = new Sprite(texture);
62 texture.dispose();
|
ETC1Test.java | 24 import com.badlogic.gdx.graphics.Texture;
35 Texture img1;
36 Texture img2;
58 img1 = new Texture(pixmap);
59 img2 = new Texture("data/test.etc1");
|
ShaderMultitextureTest.java | 24 import com.badlogic.gdx.graphics.Texture;
32 Texture texture;
field in class:ShaderMultitextureTest 33 Texture texture2;
73 texture = new Texture(pixmap);
81 texture2 = new Texture(pixmap);
94 texture.bind();
110 texture.dispose();
|
Bresenham2Test.java | 23 import com.badlogic.gdx.graphics.Texture;
33 Texture result;
50 result = new Texture(pixmap);
|
DownloadTest.java | 11 import com.badlogic.gdx.graphics.Texture; 18 Texture texture; field in class:DownloadTest 35 texture = new Texture(new PixmapTextureData(pixmap, pixmap.getFormat(), false, false, true)); 57 if(texture != null) batch.draw(texture, 0, 0);
|
GroupFadeTest.java | 26 import com.badlogic.gdx.graphics.Texture;
34 Texture texture;
field in class:GroupFadeTest 39 texture = new Texture(Gdx.files.internal("data/badlogicsmall.jpg"));
43 Image img = new Image(new TextureRegion(texture));
62 texture.dispose();
|
PixmapBlendingTest.java | 24 import com.badlogic.gdx.graphics.Texture;
32 private Texture text;
55 logoSprite = new Sprite(new Texture(pixD));
|
SimpleAnimationTest.java | 21 import com.badlogic.gdx.graphics.Texture;
33 private Texture texture;
field in class:SimpleAnimationTest 47 texture = new Texture(Gdx.files.internal("data/animation.png"));
48 TextureRegion[][] regions = TextureRegion.split(texture, 32, 48);
86 texture.dispose();
|
SpriteBatchRotationTest.java | 23 import com.badlogic.gdx.graphics.Texture;
29 Texture texture;
field in class:SpriteBatchRotationTest 40 spriteBatch.draw(texture, 16, 10, 16, 16, 32, 32, 1, 1, 0, 0, 0, texture.getWidth(), texture.getHeight(), false, false);
41 spriteBatch.draw(texture, 64, 10, 32, 32, 0, 0, texture.getWidth(), texture.getHeight(), false, false);
42 spriteBatch.draw(texture, 112, 10, 0, 0, texture.getWidth(), texture.getHeight()); [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/examples/ |
MoveSpriteExample.java | 22 import com.badlogic.gdx.graphics.Texture;
31 Texture texture;
field in class:MoveSpriteExample 40 // load the sprite's texture. note: usually you have more than
41 // one sprite in a texture, see {@see TextureAtlas} and {@see TextureRegion}.
42 texture = new Texture(Gdx.files.internal("data/bobargb8888-32x32.png"));
61 batch.draw(texture, spritePosition.x, spritePosition.y);
|
/frameworks/base/libs/hwui/ |
SkiaShader.h | 34 class Texture; 55 Texture* bitmapTexture; 72 Texture* gradientTexture;
|
GpuMemoryTracker.cpp | 18 #include "Texture.h" 36 "Texture", 122 std::vector<const Texture*> freeList; 124 if (obj->objectType() == GpuObjectType::Texture) { 125 const Texture* texture = static_cast<Texture*>(obj); local 126 if (texture->cleanup) { 127 ALOGE("Leaked texture marked for cleanup! id=%u, size %ux%u", 128 texture->id(), texture->width(), texture->height()) [all...] |
TextureCache.cpp | 23 #include "Texture.h" 36 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) 44 INIT_LOGD(" Maximum texture dimension is %d pixels", mMaxTextureSize); 69 void TextureCache::operator()(uint32_t&, Texture*& texture) { 71 if (texture) { 72 mSize -= texture->bitmapSize; 74 texture->id, texture->bitmapSize, mSize); 76 ALOGD("Texture deleted, size = %d", texture->bitmapSize) 119 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); local 163 Texture* texture = getCachedTexture(bitmap, AtlasUsageType::Use); local 175 Texture* texture = getCachedTexture(bitmap, atlasUsageType); local [all...] |
GradientCache.h | 32 class Texture; 101 * Any texture added to the cache causing the cache to grow beyond the maximum 102 * allowed size will also cause the oldest texture to be kicked out. 104 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> { 113 void operator()(GradientCacheEntry& shader, Texture*& texture) override; 116 * Returns the texture associated with the specified shader. 118 Texture* get(uint32_t* colors, float* positions, int count); 136 * Adds a new linear gradient to the cache. The generated texture is 139 Texture* addLinearGradient(GradientCacheEntry& gradient [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_span.c | 127 if (ctx->Texture.Unit[i]._ReallyEnabled) { 129 ctx->Texture.Unit[i]._Current); 130 radeon_swrast_map_texture_images(ctx, ctx->Texture.Unit[i]._Current); 146 if (ctx->Texture.Unit[i]._ReallyEnabled) 147 radeon_swrast_unmap_texture_images(ctx, ctx->Texture.Unit[i]._Current);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
binary_op.hpp | 54 #include "../ptr2d/texture.hpp" 86 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \ 87 operator op(const GpuMat_<T>& src1, const Texture<T>& src2) \ 92 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \ 93 operator op(const Texture<T>& src1, const GpuMat_<T>& src2) \ 128 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GlobPtrSz<T> >::ptr_type, typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \ 129 operator op(const GlobPtrSz<T>& src1, const Texture<T>& src2) \ 134 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, typename PtrTraits<GlobPtrSz<T> >::ptr_type, functor<T> > > \ 135 operator op(const Texture<T>& src1, const GlobPtrSz<T>& src2) \ 164 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > [all...] |
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 71 struct Texture { 113 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 117 void drawTime(const Texture& clockTex, const int yPos); 129 Texture mAndroid[2]; 130 Texture mClock;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
TextureRegion.java | 19 import com.badlogic.gdx.graphics.Texture;
21 /** Defines a rectangular area of a texture. The coordinate system used has its origin in the upper left corner with the x-axis
26 Texture texture;
field in class:TextureRegion 31 /** Constructs a region with no texture and no coordinates defined. */
35 /** Constructs a region the size of the specified texture. */
36 public TextureRegion (Texture texture) {
37 if (texture == null) throw new IllegalArgumentException("texture cannot be null."); [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
texture.hpp | 61 typedef texture<T, cudaTextureType2D, cudaReadModeElementType> TexRef; 110 // Use the texture reference 113 // Use the texture object 119 template <typename T> struct Texture : TexturePtr<T> 124 __host__ explicit Texture(const GlobPtrSz<T>& mat, 136 // Use the texture object 159 // Use the texture reference 164 __host__ ~Texture() 168 // Use the texture object 173 // Use the texture referenc [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_tex.c | 68 if (ctx->Texture.Unit[i]._ReallyEnabled) { 69 struct gl_texture_object *t = ctx->Texture.Unit[i]._Current; 84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias + 113 nv04->texture[i] = s;
|
/external/mesa3d/src/mesa/swrast/ |
s_texrender.c | 14 * Render-to-texture code for GL_EXT_framebuffer_object 27 * This function creates a renderbuffer object which wraps a texture image. 29 * This allows rendering into the texture as if it were a renderbuffer. 57 * Update the renderbuffer wrapper for rendering to a texture. 58 * For example, update the width, height of the RB based on the texture size, 77 if (att->Texture->Target == GL_TEXTURE_1D_ARRAY_EXT) { 95 if (att->Texture->Target == GL_TEXTURE_3D || 96 att->Texture->Target == GL_TEXTURE_2D_ARRAY_EXT) { 108 * Called when rendering to a texture image begins, or when changing 110 * This is a fallback routine for software render-to-texture [all...] |