/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/ |
TextureAtlasLoader.java | 24 import com.badlogic.gdx.graphics.Texture;
44 Texture texture = assetManager.get(page.textureFile.path().replaceAll("\\\\", "/"), Texture.class);
local 45 page.texture = texture;
68 dependencies.add(new AssetDescriptor(page.textureFile, Texture.class, params));
74 /** whether to flip the texture atlas vertically **/
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ActionSequenceTest.java | 25 import com.badlogic.gdx.graphics.Texture;
26 import com.badlogic.gdx.graphics.Texture.TextureFilter;
39 Texture texture;
field in class:ActionSequenceTest 44 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"), false);
45 texture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
46 img = new Image(new TextureRegion(texture));
51 img2 = new Image(new TextureRegion(texture));
56 img3 = new Image(new TextureRegion(texture));
[all...] |
AssetManagerTest.java | 33 import com.badlogic.gdx.graphics.Texture; 57 manager.setLoader(Texture.class, new TextureLoader(resolver)); 60 Texture.setAssetManager(manager); 70 // private Texture tex3; 74 private Texture tex1; 79 tex1 = new Texture("data/animation.png"); 82 // tex3 = new Texture("data/test.etc1"); 89 manager.load("data/animation.png", Texture.class); 90 // manager.load("data/pack1.png", Texture.class); 92 // manager.load("data/verdana39.png", Texture.class) [all...] |
ComplexActionTest.java | 28 import com.badlogic.gdx.graphics.Texture;
29 import com.badlogic.gdx.graphics.Texture.TextureFilter;
39 Texture texture;
field in class:ComplexActionTest 48 texture = new Texture(Gdx.files.internal("data/badlogic.jpg"), false);
49 texture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
51 final Image img1 = new Image(new TextureRegion(texture));
56 final Image img2 = new Image(new TextureRegion(texture));
78 texture.dispose(); [all...] |
SpriteBatchOriginScaleTest.java | 21 import com.badlogic.gdx.graphics.Texture;
37 region = new TextureRegion(new Texture("data/badlogicsmall.jpg"));
|
SpriteBatchShaderTest.java | 25 import com.badlogic.gdx.graphics.Texture;
36 Texture texture;
field in class:SpriteBatchShaderTest 37 Texture texture2;
67 spriteBatch.draw(texture, coords[i], coords[i + 1], 0, 0, 32, 32);
98 texture = new Texture(Gdx.files.internal("data/badlogicsmall.jpg"));
103 texture2 = new Texture(pixmap);
117 texture.dispose();
|
MipMapTest.java | 25 import com.badlogic.gdx.graphics.Texture;
26 import com.badlogic.gdx.graphics.Texture.TextureFilter;
46 Texture textureHW;
47 Texture textureSW;
48 Texture currTexture;
74 textureHW = new Texture(Gdx.files.internal("data/badlogic.jpg"), Format.RGB565, true);
76 textureSW = new Texture(Gdx.files.internal("data/badlogic.jpg"), Format.RGB565, true);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gles2/ |
MipMap2D.java | 24 import com.badlogic.gdx.graphics.Texture;
25 import com.badlogic.gdx.graphics.Texture.TextureFilter;
33 Texture texture;
field in class:MipMap2D 75 texture = new Texture(pixmap, true);
76 texture.setFilter(TextureFilter.MipMapLinearLinear, TextureFilter.Linear);
88 texture.bind();
|
/external/replicaisland/src/com/replica/replicaisland/ |
ScrollableBitmap.java | 27 public ScrollableBitmap(Texture texture, int width, int height) { 28 super(texture, width, height);
|
DrawableBitmap.java | 27 private Texture mTexture; 35 DrawableBitmap(Texture texture, int width, int height) { 37 mTexture = texture; 102 final Texture texture = mTexture; local 104 if (gl != null && texture != null) { 105 assert texture.loaded; 123 || !texture.loaded) { 128 OpenGLSystem.bindTexture(GL10.GL_TEXTURE_2D, texture.name) [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
GradientCacheTests.cpp | 33 Texture* texture = cache.get(colors, positions, 3); local 34 ASSERT_TRUE(texture); 35 ASSERT_FALSE(texture->cleanup); 36 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize());
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
FadeInTexture.java | 20 // FadeInTexture is a texture which begins with a color, then gradually animates 21 // into a given texture. 22 public class FadeInTexture extends FadeTexture implements Texture { 29 public FadeInTexture(int color, TiledTexture texture) { 30 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); 32 mTexture = texture;
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageSizeTests.cpp | 53 //! Get a texture based on image type and suggested size. 54 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) 60 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); 63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); 66 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); 69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); 72 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); 75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); 78 return Texture(imageType, size, 1); 82 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0) 526 const Texture texture = getTexture(s_imageTypes[imageTypeNdx], s_baseImageSizes[imageSizeNdx]); local [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/ |
RealisticShadowSystem.java | 22 import com.badlogic.gdx.graphics.Texture; 69 /** @return First pass texture containing all depth maps. */ 70 public Texture getTexture () {
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_span.c | 72 _swrast_map_texture(ctx, ctx->Texture.Unit[i]._Current); 74 _swrast_unmap_texture(ctx, ctx->Texture.Unit[i]._Current);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
unary_op.hpp | 53 #include "../ptr2d/texture.hpp" 77 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \ 78 operator op(const Texture<T>& src) \
|
/frameworks/base/libs/hwui/ |
Glop.h | 36 class Texture; 49 // Mesh has texture coordinates embedded. Note that texture can exist without this flag 86 * vertex/index/Texture/RoundRectClipState pointers prevent this from 122 Texture* texture; member in struct:android::uirenderer::Glop::Fill::TextureData 127 } texture; member in struct:android::uirenderer::Glop::Fill
|
Texture.cpp | 18 #include "Texture.h" 31 // The wrapped-texture case, usually means a SurfaceTexture 47 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, 63 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, 81 void Texture::deleteTexture() { 86 bool Texture::updateSize(uint32_t width, uint32_t height, GLint format) { 97 void Texture::resetCachedParams() { 104 void Texture::upload(GLint internalformat, uint32_t width, uint32_t height, 202 void Texture::upload(const SkBitmap& bitmap) { 206 ALOGE("Cannot generate texture from bitmap") [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
GLES11RenderEngine.h | 35 class Texture; 65 virtual void setupLayerTexturing(const Texture& texture);
|
GLES20RenderEngine.h | 37 class Texture; 47 GLuint texture; member in struct:android::GLES20RenderEngine::Group 80 virtual void setupLayerTexturing(const Texture& texture);
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
CompressedTextureLoader.java | 49 public static class Texture { 50 public Texture(int width, int height, int internalformat, ByteBuffer data, 60 * Get the width of the texture in pixels. 61 * @return the width of the texture in pixels. 66 * Get the height of the texture in pixels. 67 * @return the width of the texture in pixels. 72 * Get the compressed data of the texture. 73 * @return the texture data. 78 * Get the format of the texture. 84 * Get the format of the texture [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
TextureLoaderPanel.java | 16 import com.badlogic.gdx.graphics.Texture; 17 import com.badlogic.gdx.graphics.Texture.TextureFilter; 31 JButton textureButton = new JButton("Open Texture"); 32 JButton defaultTextureButton = new JButton("Default Texture"); 71 Texture texture = editor.load(file.getAbsolutePath(), Texture.class, null, params); 72 if(texture != null){ 73 editor.setTexture(texture); 82 editor.setTexture(editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTICLE, Texture.class)) [all...] |
TexturePanel.java | 9 import com.badlogic.gdx.graphics.Texture; 22 Texture texture; field in class:TexturePanel 54 public TexturePanel(Texture texture, Array<TextureRegion> regions){ 56 setTexture(texture); 60 public void setTexture(Texture texture){ 61 if(this.texture == texture) return [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
MultipleRenderTargetTest.java | 29 import com.badlogic.gdx.graphics.Texture; 105 ShaderProgram.pedantic = false;//depth texture not currently sampled 432 shaderProgram.setUniformi("u_diffuseTexture", context.textureBinder.bind(diffuseTexture.textureDescription.texture)); 435 shaderProgram.setUniformi("u_normalTexture", context.textureBinder.bind(normalTexture.textureDescription.texture)); 438 shaderProgram.setUniformi("u_specularTexture", context.textureBinder.bind(specTexture.textureDescription.texture)); 463 /** the color buffer texture **/ 464 private Array<Texture> colorTextures; 488 private Texture createColorTexture (Texture.TextureFilter min, Texture.TextureFilter mag, int internalformat, int format [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlotRenderer.java | 28 import com.android.gallery3d.glrenderer.Texture; 116 private static Texture checkLabelTexture(Texture texture) { 117 return ((texture instanceof UploadedTexture) 118 && ((UploadedTexture) texture).isUploading()) 120 : texture; 123 private static Texture checkContentTexture(Texture texture) { [all...] |