/external/chromium_org/cc/resources/ |
layer_updater.cc | 11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) 12 : texture_(texture.Pass()) {}
|
scoped_resource_unittest.cc | 26 scoped_ptr<ScopedResource> texture = local 29 // New scoped textures do not hold a texture yet. 30 EXPECT_EQ(0u, texture->id()); 33 EXPECT_EQ(gfx::Size(), texture->size()); 34 EXPECT_EQ(0u, texture->bytes()); 46 scoped_ptr<ScopedResource> texture = local 48 texture->Allocate(gfx::Size(30, 30), 52 // The texture has an allocated byte-size now. 54 EXPECT_EQ(expected_bytes, texture->bytes()); 56 EXPECT_LT(0u, texture->id()) 71 scoped_ptr<ScopedResource> texture = local 84 scoped_ptr<ScopedResource> texture = local 107 scoped_ptr<ScopedResource> texture = local [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrSingleTextureEffect.cpp | 10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 13 : fCoordTransform(coordSet, m, texture) 14 , fTextureAccess(texture) { 19 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 23 : fCoordTransform(coordSet, m, texture) 24 , fTextureAccess(texture, filterMode) { 29 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 33 : fCoordTransform(coordSet, m, texture) 34 , fTextureAccess(texture, params) {
|
Gr1DKernelEffect.h | 16 * has a pixel radius. The kernel is specified in the src texture's space 31 Gr1DKernelEffect(GrTexture* texture, 34 : GrSingleTextureEffect(texture, MakeDivByTextureWHMatrix(texture))
|
/external/skia/src/gpu/effects/ |
GrSingleTextureEffect.cpp | 10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 13 : fCoordTransform(coordSet, m, texture) 14 , fTextureAccess(texture) { 19 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 23 : fCoordTransform(coordSet, m, texture) 24 , fTextureAccess(texture, filterMode) { 29 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, 33 : fCoordTransform(coordSet, m, texture) 34 , fTextureAccess(texture, params) {
|
Gr1DKernelEffect.h | 16 * has a pixel radius. The kernel is specified in the src texture's space 31 Gr1DKernelEffect(GrTexture* texture, 34 : GrSingleTextureEffect(texture, MakeDivByTextureWHMatrix(texture))
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_sampler.h | 44 const struct pipe_resource *texture, 49 const struct pipe_resource *texture,
|
u_sampler.c | 39 const struct pipe_resource *texture, 45 /* XXX: Check if format is compatible with texture->format. 50 view->u.tex.last_level = texture->last_level; 52 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? 53 texture->depth0 - 1 : texture->array_size - 1; 89 const struct pipe_resource *texture, 94 texture, 101 const struct pipe_resource *texture, 106 texture, [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_sampler.h | 44 const struct pipe_resource *texture, 49 const struct pipe_resource *texture,
|
u_sampler.c | 39 const struct pipe_resource *texture, 45 /* XXX: Check if format is compatible with texture->format. 50 view->u.tex.last_level = texture->last_level; 52 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? 53 texture->depth0 - 1 : texture->array_size - 1; 89 const struct pipe_resource *texture, 94 texture, 101 const struct pipe_resource *texture, 106 texture, [all...] |
/external/deqp/modules/internal/ |
ditImageIOTests.cpp | 54 tcu::TextureLevel texture; local 55 tcu::ImageIO::loadImage(texture, m_testCtx.getArchive(), m_filename.c_str()); 57 m_testCtx.getLog() << TestLog::Message << "Loaded " << texture.getWidth() << "x" << texture.getHeight() << "x" << texture.getDepth() << " image with format " << texture.getFormat() << TestLog::EndMessage; 60 TCU_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); 61 TCU_CHECK(texture.getAccess().getSlicePitch() == texture.getAccess().getRowPitch()*texture.getAccess().getHeight()) [all...] |
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 38 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity), 43 INIT_LOGD(" Setting texture cache size to %sMB", property); 46 INIT_LOGD(" Using default texture cache size of %.2fMB", DEFAULT_TEXTURE_CACHE_SIZE); 51 INIT_LOGD(" Setting texture cache flush rate to %.2f%%", flushRate * 100.0f); 54 INIT_LOGD(" Using default texture cache flush rate of %.2f%%", 62 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity), 75 INIT_LOGD(" Maximum texture dimension is %d pixels", mMaxTextureSize); 107 void TextureCache::operator()(const SkPixelRef*&, Texture*& texture) { 109 if (texture) { 144 Texture* texture = mCache.get(bitmap->pixelRef()); local 186 Texture* texture = getCachedTexture(bitmap); local 194 Texture* texture = getCachedTexture(bitmap); local 212 Texture* texture = new Texture(); local [all...] |
PathCache.cpp | 114 // will be applied later when compositing the alpha8 texture 138 PathTexture* texture = new PathTexture(Caches::getInstance()); local 139 texture->left = left; 140 texture->top = top; 141 texture->offset = offset; 142 texture->width = width; 143 texture->height = height; 144 texture->generation = id; 145 return texture; 199 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { 271 PathTexture* texture = createTexture(left, top, offset, width, height, local 344 PathTexture* texture = t->texture; local 425 PathTexture* texture = mCache.get(entry); local 467 PathTexture* texture = mCache.get(entry); local 512 PathTexture* texture = get(entry); local 534 PathTexture* texture = get(entry); local 555 PathTexture* texture = get(entry); local 578 PathTexture* texture = get(entry); local 605 PathTexture* texture = get(entry); local [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrTextureAccess.cpp | 19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { 20 this->reset(texture, params); 23 GrTextureAccess::GrTextureAccess(GrTexture* texture, 26 this->reset(texture, filterMode, tileXAndY); 29 GrTextureAccess::GrTextureAccess(GrTexture* texture, 32 this->reset(texture, swizzle, params); 35 GrTextureAccess::GrTextureAccess(GrTexture* texture, 39 this->reset(texture, swizzle, filterMode, tileXAndY); 42 void GrTextureAccess::reset(GrTexture* texture, 45 SkASSERT(NULL != texture); [all...] |
/external/skia/src/gpu/ |
GrTextureAccess.cpp | 19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { 20 this->reset(texture, params); 23 GrTextureAccess::GrTextureAccess(GrTexture* texture, 26 this->reset(texture, filterMode, tileXAndY); 29 GrTextureAccess::GrTextureAccess(GrTexture* texture, 32 this->reset(texture, swizzle, params); 35 GrTextureAccess::GrTextureAccess(GrTexture* texture, 39 this->reset(texture, swizzle, filterMode, tileXAndY); 42 void GrTextureAccess::reset(GrTexture* texture, 45 SkASSERT(NULL != texture); [all...] |
/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;
|
FadeOutTexture.java | 20 // FadeOutTexture is a texture which begins with a given texture, then gradually animates 28 public FadeOutTexture(BasicTexture texture) { 29 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); 30 mTexture = texture;
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrCoordTransform.h | 47 * Create a transformation that maps [0, 1] to a texture's boundaries. 49 GrCoordTransform(GrCoordSet sourceCoords, const GrTexture* texture) { 51 this->reset(sourceCoords, texture); 55 * Create a transformation from a matrix. The optional texture parameter is used to infer if the 59 GrCoordTransform(GrCoordSet sourceCoords, const SkMatrix& m, const GrTexture* texture = NULL) { 61 this->reset(sourceCoords, m, texture); 64 void reset(GrCoordSet sourceCoords, const GrTexture* texture) { 66 SkASSERT(NULL != texture); 67 this->reset(sourceCoords, GrEffect::MakeDivByTextureWHMatrix(texture), texture); [all...] |
/external/skia/include/gpu/ |
GrCoordTransform.h | 47 * Create a transformation that maps [0, 1] to a texture's boundaries. 49 GrCoordTransform(GrCoordSet sourceCoords, const GrTexture* texture) { 51 this->reset(sourceCoords, texture); 55 * Create a transformation from a matrix. The optional texture parameter is used to infer if the 59 GrCoordTransform(GrCoordSet sourceCoords, const SkMatrix& m, const GrTexture* texture = NULL) { 61 this->reset(sourceCoords, m, texture); 64 void reset(GrCoordSet sourceCoords, const GrTexture* texture) { 66 SkASSERT(NULL != texture); 67 this->reset(sourceCoords, GrEffect::MakeDivByTextureWHMatrix(texture), texture); [all...] |
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
texture_utils.cpp | 15 // Generate a texture object 16 GLuint texture; local 17 glGenTextures(1, &texture); 19 // Bind the texture object 20 glBindTexture(GL_TEXTURE_2D, texture); 22 // Load the texture: 2x2 Image, 3 bytes per pixel (R, G, B) 38 return texture; 43 // Generate a texture object 44 GLuint texture; local 45 glGenTextures(1, &texture); 112 GLuint texture; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
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;
|
/external/chromium_org/cc/test/ |
ordered_texture_map.cc | 17 scoped_refptr<TestTexture> texture) { 18 DCHECK(texture.get()); 21 textures_[id] = texture; 26 scoped_refptr<TestTexture> texture) { 27 DCHECK(texture.get()); 30 textures_[id] = texture; 52 scoped_refptr<TestTexture> texture = textures_[id]; local 53 DCHECK(texture.get()); 54 return texture;
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrTextureUnitObj.cpp | 12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { 22 fTexture = texture;
|
/external/skia/src/gpu/gl/debug/ |
GrTextureUnitObj.cpp | 12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { 22 fTexture = texture;
|
/external/chromium_org/gpu/command_buffer/service/ |
mailbox_manager.cc | 26 Texture* MailboxManager::ConsumeTexture(unsigned target, 37 Texture* texture = sync_->CreateTextureFromMailbox(target, mailbox); local 38 if (texture) { 39 InsertTexture(target_name, texture); 40 DCHECK_EQ(0U, texture->refs_.size()); 42 return texture; 50 Texture* texture) { 54 if (it->second->first == texture) [all...] |