HomeSort by relevance Sort by last modified time
    Searched refs:Texture (Results 1 - 25 of 238) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/native/services/surfaceflinger/RenderEngine/
Texture.cpp 19 #include "Texture.h"
23 Texture::Texture() :
28 Texture::Texture(Target textureTarget, uint32_t textureName) :
33 void Texture::init(Target textureTarget, uint32_t textureName) {
38 Texture::~Texture() {
42 void Texture::setMatrix(float const* matrix) {
46 void Texture::setFiltering(bool enabled)
    [all...]
Texture.h 25 class Texture {
36 Texture();
37 Texture(Target textureTarget, uint32_t textureName);
38 ~Texture();
Description.h 18 #include "Texture.h"
45 // Texture this layer uses
46 Texture mTexture;
64 void setTexture(const Texture& 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...]
TextureLibrary.java 33 * The Texture Library manages all textures in the game. Textures are pooled and handed out to
34 * requesting parties via allocateTexture(). However, the texture data itself is not immediately
36 * a call to loadTexture() or loadAllTextures(). This allows Texture objects to be dispersed to
37 * various game systems and while the texture data itself is streamed in or loaded as necessary.
42 Texture[] mTextureHash;
50 mTextureHash = new Texture[DEFAULT_SIZE];
52 mTextureHash[x] = new Texture();
67 * Creates a Texture object that is mapped to the passed resource id. If a texture has already
68 * been allocated for this id, the previously allocated Texture object is returned
73 Texture texture = getTextureByResource(resourceID); local
83 Texture texture = allocateTexture(resourceID); local
223 Texture texture = null; local
260 Texture texture = null; local
    [all...]
DrawableObject.java 51 // Override to allow drawables to be sorted by texture.
52 public Texture getTexture() {
  /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 type, const tcu::IVec3& layerSize, const int layers);
40 ImageType type (void) const { return m_type; } //!< Texture type
44 tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture)
54 inline bool isCube (const Texture& texture)
56 return texture.type() == IMAGE_TYPE_CUBE || texture.type() == IMAGE_TYPE_CUBE_ARRAY
    [all...]
vktImageTexture.cpp 21 * \brief Texture utility class
31 Texture::Texture (const ImageType type_, const tcu::IVec3& layerSize_, const int layers)
80 tcu::IVec3 Texture::size (void) const
104 int Texture::dimension (void) const
128 int Texture::layerDimension (void) const
  /external/mesa3d/src/mesa/main/
texstate.h 3 * Texture state management.
40 * Return pointer to current texture unit.
41 * This the texture unit set by glActiveTexture(), not glClientActiveTexture().
46 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->Texture.Unit));
47 return &(ctx->Texture.Unit[ctx->Texture.CurrentUnit]);
texstate.c 28 * Texture state handling.
47 * Default texture combine environment state. This is used to initialize
48 * a context's texture units and as the basis for converting "classic"
49 * texture environmnets to ARB_texture_env_combine style values.
64 * Used by glXCopyContext to copy texture state from one context to another.
74 dst->Texture.CurrentUnit = src->Texture.CurrentUnit;
75 dst->Texture._GenFlags = src->Texture._GenFlags;
76 dst->Texture._TexGenEnabled = src->Texture._TexGenEnabled
    [all...]
samplerobj.h 34 if (ctx->Texture.Unit[unit].Sampler)
35 return ctx->Texture.Unit[unit].Sampler;
36 else if (ctx->Texture.Unit[unit]._Current)
37 return &ctx->Texture.Unit[unit]._Current->Sampler;
  /frameworks/base/libs/hwui/tests/unit/
GpuMemoryTrackerTests.cpp 33 TestGPUObject() : GpuMemoryTracker(GpuObjectType::Texture) {}
55 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture));
56 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture));
59 ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture));
61 ASSERT_EQ(500, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture));
63 ASSERT_EQ(1000, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture));
65 ASSERT_EQ(300, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture));
67 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture));
68 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture));
  /frameworks/base/libs/hwui/
TextureCache.h 33 class Texture;
53 * A simple LRU texture cache. The cache has a maximum size expressed in bytes.
54 * Any texture added to the cache causing the cache to grow beyond the maximum
55 * allowed size will also cause the oldest texture to be kicked out.
57 class TextureCache : public OnEntryRemoved<uint32_t, Texture*> {
66 void operator()(uint32_t&, Texture*& texture) override;
74 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully
75 * acquired for the bitmap, false otherwise. If a Texture was acquired it is
81 * Returns the texture associated with the specified bitmap from either within the cache, o
    [all...]
AssetAtlas.h 20 #include "Texture.h"
39 * texture. Each bitmap is associated with a location, defined in pixels,
41 * an external texture using the EGLImageKHR extension.
46 * Entry representing the texture and uvMapper of a PixelRef in the
52 * A "virtual texture" object that represents the texture
53 * this entry belongs to. This texture should never be
56 Texture* texture; member in class:android::uirenderer::AssetAtlas::Entry
59 * Maps texture coordinates in the [0..1] range into th
    [all...]
AssetAtlas.cpp 41 mTexture = new Texture(caches);
69 Texture* AssetAtlas::getEntryTexture(const SkPixelRef* pixelRef) const {
71 return result != mEntries.end() ? result->second->texture : nullptr;
75 * Delegates changes to wrapping and filtering to the base atlas texture
78 struct DelegateTexture: public Texture {
79 DelegateTexture(Caches& caches, Texture* delegate)
80 : Texture(caches), mDelegate(delegate) { }
93 Texture* const mDelegate;
117 Texture* texture = new DelegateTexture(caches, mTexture) local
    [all...]
Texture.h 33 * Represents an OpenGL texture.
35 class Texture : public GpuMemoryTracker {
37 Texture(Caches& caches)
38 : GpuMemoryTracker(GpuObjectType::Texture)
42 virtual ~Texture() { }
61 * Convenience method to call glDeleteTextures() on this texture's id.
66 * Sets the width, height, and format of the texture along with allocating
67 * the texture ID. Does nothing if the width, height, and format are already
77 * Updates this Texture with the contents of the provided SkBitmap,
92 * Wraps an existing texture
183 Texture* const texture; member in class:android::uirenderer::AutoTexture
    [all...]
  /frameworks/base/libs/hwui/renderstate/
TextureState.h 20 #include "Texture.h"
29 class Texture;
38 * Activate the specified texture unit. The texture unit must
44 * Invalidate the cached value of the active texture unit.
49 * Binds the specified texture as a GL_TEXTURE_2D texture.
50 * All texture bindings must be performed with this method or
53 void bindTexture(GLuint texture);
56 * 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/Launcher3/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
38 public interface Texture {
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_tex.c 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 54 struct Texture {
90 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
94 void drawTime(const Texture& clockTex, const int yPos);
106 Texture mAndroid[2];
107 Texture mClock;
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_span.c 117 if (!ctx->Texture.Unit[i]._ReallyEnabled)
119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current);
130 * renderbuffes and all currently bound texture objects.
158 if (ctx->Texture.Unit[i]._ReallyEnabled) {
159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
188 if (ctx->Texture.Unit[i]._ReallyEnabled &&
190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
208 if (ctx->Texture.Unit[i]._ReallyEnabled &&
210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;

Completed in 768 milliseconds

1 2 3 4 5 6 7 8 910