/external/chromium_org/cc/resources/ |
H A D | layer_updater.cc | 11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) argument 12 : texture_(texture.Pass()) {}
|
H A D | scoped_resource_unittest.cc | 32 scoped_ptr<ScopedResource> texture = local 35 // New scoped textures do not hold a texture yet. 36 EXPECT_EQ(0u, texture->id()); 39 EXPECT_EQ(gfx::Size(), texture->size()); 40 EXPECT_EQ(0u, texture->bytes()); 58 scoped_ptr<ScopedResource> texture = local 60 texture->Allocate( 63 // The texture has an allocated byte-size now. 65 EXPECT_EQ(expected_bytes, texture->bytes()); 67 EXPECT_LT(0u, texture 88 scoped_ptr<ScopedResource> texture = local 100 scoped_ptr<ScopedResource> texture = local 128 scoped_ptr<ScopedResource> texture = local [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrSingleTextureEffect.cpp | 10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 13 : fCoordTransform(coordSet, m, texture) 14 , fTextureAccess(texture) { 19 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 23 : fCoordTransform(coordSet, m, texture) 24 , fTextureAccess(texture, filterMode) { 29 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 33 : fCoordTransform(coordSet, m, texture) 34 , fTextureAccess(texture, params) {
|
H A D | Gr1DKernelEffect.h | 16 * has a pixel radius. The kernel is specified in the src texture's space 31 Gr1DKernelEffect(GrTexture* texture, argument 34 : GrSingleTextureEffect(texture, GrCoordTransform::MakeDivByTextureWHMatrix(texture))
|
/external/skia/src/gpu/effects/ |
H A D | GrSingleTextureEffect.cpp | 10 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 13 : fCoordTransform(coordSet, m, texture) 14 , fTextureAccess(texture) { 19 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 23 : fCoordTransform(coordSet, m, texture) 24 , fTextureAccess(texture, filterMode) { 29 GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, argument 33 : fCoordTransform(coordSet, m, texture) 34 , fTextureAccess(texture, params) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_sampler.h | 44 const struct pipe_resource *texture, 49 const struct pipe_resource *texture,
|
H A D | 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, 38 default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format, unsigned expand_green_blue) argument 88 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument 100 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_sampler.h | 44 const struct pipe_resource *texture, 49 const struct pipe_resource *texture,
|
H A D | 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, 38 default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format, unsigned expand_green_blue) argument 88 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument 100 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument [all...] |
/external/deqp/modules/internal/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrCoordTransform.h | 47 * Create a transformation that maps [0, 1] to a texture's boundaries. 49 GrCoordTransform(GrCoordSet sourceCoords, const GrTexture* texture) { argument 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) { argument 66 SkASSERT(texture); 67 this->reset(sourceCoords, MakeDivByTextureWHMatrix(texture), texture); 106 MakeDivByTextureWHMatrix(const GrTexture* texture) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTextureAccess.cpp | 19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { argument 20 this->reset(texture, params); 23 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 26 this->reset(texture, filterMode, tileXAndY); 29 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 32 this->reset(texture, swizzle, params); 35 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 39 this->reset(texture, swizzle, filterMode, tileXAndY); 42 void GrTextureAccess::reset(GrTexture* texture, argument 45 SkASSERT(texture); 53 reset(GrTexture* texture, const char* swizzle, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument 65 reset(GrTexture* texture, const GrTextureParams& params) argument 74 reset(GrTexture* texture, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrTextureAccess.cpp | 19 GrTextureAccess::GrTextureAccess(GrTexture* texture, const GrTextureParams& params) { argument 20 this->reset(texture, params); 23 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 26 this->reset(texture, filterMode, tileXAndY); 29 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 32 this->reset(texture, swizzle, params); 35 GrTextureAccess::GrTextureAccess(GrTexture* texture, argument 39 this->reset(texture, swizzle, filterMode, tileXAndY); 42 void GrTextureAccess::reset(GrTexture* texture, argument 45 SkASSERT(NULL != texture); 53 reset(GrTexture* texture, const char* swizzle, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument 65 reset(GrTexture* texture, const GrTextureParams& params) argument 74 reset(GrTexture* texture, GrTextureParams::FilterMode filterMode, SkShader::TileMode tileXAndY) argument [all...] |
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
H A D | 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/ |
H A D | 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 35 texture = textureObject; 43 texture = textureObject;
|
H A D | TextureLibrary.java | 34 * requesting parties via allocateTexture(). However, the texture data itself is not immediately 37 * various game systems and while the texture data itself is streamed in or loaded as necessary. 67 * Creates a Texture object that is mapped to the passed resource id. If a texture has already 73 Texture texture = getTextureByResource(resourceID); 74 if (texture == null) { 75 texture = addTexture(resourceID, -1, 0, 0); 78 return texture; 81 /** Loads a single texture into memory. Does nothing if the texture is already loaded. */ 83 Texture texture 127 loadBitmap(Context context, GL10 gl, Texture texture) argument [all...] |
/external/chromium_org/cc/test/ |
H A D | 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; 16 Append(GLuint id, scoped_refptr<TestTexture> texture) argument 25 Replace(GLuint id, scoped_refptr<TestTexture> texture) argument
|
/external/skia/include/gpu/ |
H A D | GrCoordTransform.h | 47 * Create a transformation that maps [0, 1] to a texture's boundaries. 49 GrCoordTransform(GrCoordSet sourceCoords, const GrTexture* texture) { argument 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) { argument 66 SkASSERT(NULL != texture); 67 this->reset(sourceCoords, GrEffect::MakeDivByTextureWHMatrix(texture), texture); [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrTextureUnitObj.cpp | 12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { argument 22 fTexture = texture;
|
/external/skia/src/gpu/gl/debug/ |
H A D | GrTextureUnitObj.cpp | 12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { argument 22 fTexture = texture;
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | mailbox_manager.cc | 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) 60 InsertTexture(target_name, texture); 63 void MailboxManager::InsertTexture(TargetName target_name, Texture* texture) { argument 64 texture 48 ProduceTexture(unsigned target, const Mailbox& mailbox, Texture* texture) argument 71 TextureDeleted(Texture* texture) argument [all...] |
H A D | texture_manager_unittest.cc | 35 static bool IsNPOT(const Texture* texture) { argument 36 return texture->npot(); 38 static bool IsTextureComplete(const Texture* texture) { argument 39 return texture->texture_complete(); 41 static bool IsCubeComplete(const Texture* texture) { argument 42 return texture->cube_complete(); 110 // Check we can create texture. 112 // Check texture got created. 113 scoped_refptr<TextureRef> texture = manager_->GetTexture(kClient1Id); local 114 ASSERT_TRUE(texture 141 Texture* texture = texture_ref->texture(); local 244 TextureRef* texture = manager.GetTexture(kClient1Id); local 480 Texture* texture = texture_ref_->texture(); local 501 Texture* texture = texture_ref_->texture(); local 513 Texture* texture = texture_ref_->texture(); local 641 Texture* texture = texture_ref_->texture(); local 738 Texture* texture = texture_ref_->texture(); local 794 Texture* texture = texture_ref_->texture(); local 856 Texture* texture = texture_ref->texture(); local 877 Texture* texture = texture_ref_->texture(); local 1040 Texture* texture = texture_ref_->texture(); local 1068 Texture* texture = texture_ref_->texture(); local 1095 Texture* texture = texture_ref_->texture(); local 1148 Texture* texture = texture_ref->texture(); local 1178 Texture* texture = texture_ref->texture(); local 1200 Texture* texture = texture_ref->texture(); local 1230 Texture* texture = texture_ref->texture(); local 1252 Texture* texture = texture_ref->texture(); local 1285 Texture* texture = texture_ref_->texture(); local 1524 Texture* texture = texture_ref_->texture(); local 1635 Texture* texture = texture_ref_->texture(); local 1964 const Texture* texture = texture_ref->texture(); local 1976 Texture* texture = manager_->Produce(texture_ref); local 1981 Consume(GLuint client_id, Texture* texture) argument 1997 Texture* texture = texture_ref_->texture(); local 2041 Texture* texture = texture_ref_->texture(); local 2069 Texture* texture = texture_ref_->texture(); local 2090 Texture* texture = texture_ref_->texture(); local 2126 Texture* texture = texture_ref_->texture(); local [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | yuvtorgbeffect.cpp | 86 GrTexture* texture[3]; variable 87 texture[0] = GrLockAndRefCachedBitmapTexture(context, fBmp[0], NULL); 88 texture[1] = GrLockAndRefCachedBitmapTexture(context, fBmp[1], NULL); 89 texture[2] = GrLockAndRefCachedBitmapTexture(context, fBmp[2], NULL); 90 if ((NULL == texture[0]) || (NULL == texture[1]) || (NULL == texture[2])) { 111 GrYUVtoRGBEffect::Create(texture[indices[i][0]], 112 texture[indices[i][1]], 113 texture[indice 128 GrUnlockAndUnrefCachedBitmapTexture(texture[0]); variable 129 GrUnlockAndUnrefCachedBitmapTexture(texture[1]); variable 130 GrUnlockAndUnrefCachedBitmapTexture(texture[2]); variable [all...] |
/external/chromium_org/content/browser/compositor/ |
H A D | buffer_queue.cc | 43 if (!current_surface_.texture) { 48 current_surface_.texture, 53 void BufferQueue::CopyBufferDamage(int texture, argument 58 texture, 84 CopyBufferDamage(current_surface_.texture, 85 in_flight_surfaces_.back().texture, 92 current_surface_.texture = 0; 97 DCHECK(!current_surface_.texture); 130 if (surface->texture) { 132 gl->BindTexture(GL_TEXTURE_2D, surface->texture); 149 unsigned int texture = 0; local [all...] |
H A D | buffer_queue.h | 40 unsigned int current_texture_id() { return current_surface_.texture; } 46 AllocatedSurface() : texture(0), image(0) {} 47 AllocatedSurface(unsigned int texture, argument 50 : texture(texture), image(image), damage(rect) {} 51 unsigned int texture; member in struct:content::BufferQueue::AllocatedSurface 61 // |exclude_rect| from |source_texture| to |texture|. 62 virtual void CopyBufferDamage(int texture,
|