/frameworks/native/services/surfaceflinger/RenderEngine/ |
Texture.cpp | 19 #include "Texture.h" 23 Texture::Texture() 26 Texture::Texture(Target textureTarget, uint32_t textureName) 33 void Texture::init(Target textureTarget, uint32_t textureName) { 38 Texture::~Texture() {} 40 void Texture::setMatrix(float const* matrix) { 44 void Texture::setFiltering(bool enabled) [all...] |
Texture.h | 25 class Texture { 36 Texture(); 37 Texture(Target textureTarget, uint32_t textureName); 38 ~Texture();
|
/external/replicaisland/src/com/replica/replicaisland/ |
Texture.java | 21 * OpenGL texture names, and also as a placeholder object for textures that may or may not have 22 * been loaded into vram. Objects can cache Texture objects but should *never* cache the texture 25 public class Texture extends AllocationGuard { 32 public Texture() {
|
AnimationFrame.java | 20 * A single animation frame. Frames contain a texture, a hold time, and collision volumes to 23 * frames. Note that an animation frame may have a null texture and null collision volumes. Null 24 * collision volumes will exclude that frame from collision detection and a null texture will 28 public Texture texture; field in class:AnimationFrame 33 public AnimationFrame(Texture textureObject, float animationHoldTime) { 35 texture = textureObject; 39 public AnimationFrame(Texture textureObject, float animationHoldTime, 43 texture = textureObject;
|
DebugSystem.java | 27 private Texture mRedBoxTexture; 28 private Texture mBlueBoxTexture; 29 private Texture mOutlineBoxTexture; 30 private Texture mRedCircleTexture; 31 private Texture mBlueCircleTexture; 32 private Texture mOutlineCircleTexture; 70 Texture texture = getTexture(shapeType, colorType); local 71 bitmap.resize((int)texture.width, (int)texture.height) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTexture.hpp | 23 * \brief Texture utility class 34 //! Texture buffer/image abstraction. Helps managing size and number of layers. 35 class Texture 38 Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples = 1); 39 Texture (const Texture& other, const int samples); 41 ImageType type (void) const { return m_type; } //!< Texture type 44 int numSamples (void) const { return m_numSamples; } //!< Number of samples per texel (multisampled texture) 46 tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture) 59 inline bool isCube (const Texture& texture [all...] |
vktImageTexture.cpp | 21 * \brief Texture utility class 31 void Texture::checkInvariants (void) const 84 Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples) 93 Texture::Texture (const Texture& other, const int samples) 102 tcu::IVec3 Texture::size (void) const 126 int Texture::dimension (void) const 150 int Texture::layerDimension (void) cons [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
GpuMemoryTrackerTests.cpp | 32 TestGPUObject() : GpuMemoryTracker(GpuObjectType::Texture) {} 50 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 51 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); 54 ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); 56 ASSERT_EQ(500, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 58 ASSERT_EQ(1000, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 60 ASSERT_EQ(300, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 62 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 63 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture));
|
TextureCacheTests.cpp | 29 // it is not 0, because FontRenderer allocates one texture 30 int initialCount = GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture); 36 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount + 1); 38 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount);
|
/external/swiftshader/src/D3D9/ |
Capabilities.cpp | 267 bool Capabilities::Texture::RenderTarget::NULL_ = true; 268 bool Capabilities::Texture::RenderTarget::R8G8B8 = false; 269 bool Capabilities::Texture::RenderTarget::R5G6B5 = true; 270 bool Capabilities::Texture::RenderTarget::X1R5G5B5 = true; 271 bool Capabilities::Texture::RenderTarget::A1R5G5B5 = true; 272 bool Capabilities::Texture::RenderTarget::A4R4G4B4 = true; 273 bool Capabilities::Texture::RenderTarget::R3G3B2 = false; 274 bool Capabilities::Texture::RenderTarget::A8R3G3B2 = false; 275 bool Capabilities::Texture::RenderTarget::X4R4G4B4 = true; 276 bool Capabilities::Texture::RenderTarget::A8R8G8B8 = true [all...] |
Direct3D9.cpp | 117 Capabilities::Texture::DepthStencil::D32 = false; 118 Capabilities::Texture::DepthStencil::D24S8 = false; 119 Capabilities::Texture::DepthStencil::D24X8 = false; 120 Capabilities::Texture::DepthStencil::D16 = false; 121 Capabilities::Texture::DepthStencil::D24FS8 = false; 122 Capabilities::Texture::DepthStencil::D32F_LOCKABLE = false; 124 Capabilities::Texture::D32 = false; 125 Capabilities::Texture::D24S8 = false; 126 Capabilities::Texture::D24X8 = false; 127 Capabilities::Texture::D16 = false [all...] |
/external/swiftshader/src/OpenGL/common/ |
Surface.hpp | 27 class Texture; 47 virtual void setBoundTexture(egl::Texture *texture) = 0;
|
/external/swiftshader/src/OpenGL/libEGL/ |
Texture.hpp | 27 class Texture : public gl::NamedObject 30 Texture(GLuint name) : NamedObject(name) {}
|
/frameworks/base/libs/hwui/ |
TextureCache.h | 38 class Texture; 56 * A simple LRU texture cache. The cache has a maximum size expressed in bytes. 57 * Any texture added to the cache causing the cache to grow beyond the maximum 58 * allowed size will also cause the oldest texture to be kicked out. 60 class TextureCache : public OnEntryRemoved<uint32_t, Texture*> { 69 void operator()(uint32_t&, Texture*& texture) override; 77 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully 78 * acquired for the bitmap, false otherwise. If a Texture was acquired it is 84 * Attempts to precache the SkBitmap. Returns true if a Texture was successfull [all...] |
TextureCache.cpp | 24 #include "Texture.h" 37 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) 66 void TextureCache::operator()(uint32_t&, Texture*& texture) { 68 if (texture) { 69 mSize -= texture->bitmapSize; 70 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d", texture->id, 71 texture->bitmapSize, mSize); 73 ALOGD("Texture deleted, size = %d", texture->bitmapSize) 103 Texture* texture = new Texture(Caches::getInstance()); local 116 Texture* texture = createTexture(bitmap); local 127 Texture* texture = mCache.get(bitmap->getStableID()); local 167 Texture* texture = getCachedTexture(bitmap); local 179 Texture* texture = getCachedTexture(bitmap); local [all...] |
SkiaShader.h | 32 class Texture; 52 Texture* bitmapTexture; 68 Texture* gradientTexture;
|
/external/swiftshader/src/D3D8/ |
Capabilities.cpp | 189 bool Capabilities::Texture::RenderTarget::R8G8B8 = false; 190 bool Capabilities::Texture::RenderTarget::R5G6B5 = true; 191 bool Capabilities::Texture::RenderTarget::X1R5G5B5 = true; 192 bool Capabilities::Texture::RenderTarget::A1R5G5B5 = true; 193 bool Capabilities::Texture::RenderTarget::A4R4G4B4 = true; 194 bool Capabilities::Texture::RenderTarget::R3G3B2 = false; 195 bool Capabilities::Texture::RenderTarget::A8R3G3B2 = false; 196 bool Capabilities::Texture::RenderTarget::X4R4G4B4 = true; 197 bool Capabilities::Texture::RenderTarget::A8R8G8B8 = true; 198 bool Capabilities::Texture::RenderTarget::X8R8G8B8 = true [all...] |
/frameworks/base/libs/hwui/renderstate/ |
TextureState.h | 19 #include "Texture.h" 29 class Texture; 37 * Activate the specified texture unit. The texture unit must 43 * Invalidate the cached value of the active texture unit. 48 * Binds the specified texture as a GL_TEXTURE_2D texture. 49 * All texture bindings must be performed with this method or 52 void bindTexture(GLuint texture); 55 * Binds the specified texture with the specified render target [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
Texture.java | 20 // Texture is a rectangular image which can be drawn on GLCanvas. 21 // The isOpaque() function gives a hint about whether the texture is opaque, 24 // This is the current texture hierarchy: 26 // Texture 38 public interface Texture {
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
Texture.java | 20 // Texture is a rectangular image which can be drawn on GLCanvas. 21 // The isOpaque() function gives a hint about whether the texture is opaque, 24 // This is the current texture hierarchy: 26 // Texture 38 public interface Texture {
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
Texture.java | 20 // Texture is a rectangular image which can be drawn on GLCanvas. 21 // The isOpaque() function gives a hint about whether the texture is opaque, 24 // This is the current texture hierarchy: 26 // Texture 32 public interface Texture {
|
/external/mesa3d/src/mesa/main/ |
texstate.c | 28 * Texture state handling. 46 * Default texture combine environment state. This is used to initialize 47 * a context's texture units and as the basis for converting "classic" 48 * texture environmnets to ARB_texture_env_combine style values. 63 * Used by glXCopyContext to copy texture state from one context to another. 73 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; 74 dst->Texture._GenFlags = src->Texture._GenFlags; 75 dst->Texture._TexGenEnabled = src->Texture._TexGenEnabled [all...] |
texstate.h | 3 * Texture state management. 44 assert(unit < ARRAY_SIZE(ctx->Texture.Unit)); 45 return &(ctx->Texture.Unit[unit]); 49 * Return pointer to current texture unit. 50 * This the texture unit set by glActiveTexture(), not glClientActiveTexture(). 55 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
ResourceManager.h | 30 class Texture; 56 void deleteTexture(GLuint texture); 60 Texture *getTexture(GLuint handle); 64 void checkTextureAllocation(GLuint texture, TextureType type); 71 gl::NameSpace<Texture> mTextureNameSpace;
|
Texture.cpp | 15 // Texture.cpp: Implements the Texture class and its derived classes 16 // Texture2D and TextureCubeMap. Implements GL texture objects and related 19 #include "Texture.h" 34 Texture::Texture(GLuint name) : egl::Texture(name) 50 Texture::~Texture() 55 sw::Resource *Texture::getResource() cons [all...] |