Searched refs:texture (Results 1 - 25 of 867) sorted by relevance

1234567891011>>

/external/chromium_org/cc/resources/
H A Dlayer_updater.cc11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) argument
12 : texture_(texture.Pass()) {}
H A Dscoped_resource_unittest.cc26 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
71 scoped_ptr<ScopedResource> texture = local
84 scoped_ptr<ScopedResource> texture = local
107 scoped_ptr<ScopedResource> texture = local
[all...]
H A Dprioritized_resource_manager.cc38 // Each remaining backing is a leaked opengl texture. There should be none.
69 PrioritizedResource* texture = (*it); local
70 sorted_textures.push_back(texture);
72 texture->request_priority(),
74 memory_visible_bytes_ += texture->bytes();
76 texture->request_priority(),
78 memory_visible_and_nearby_bytes_ += texture->bytes();
114 PrioritizedResource* texture = (*it); local
115 if (!PriorityCalculator::priority_is_higher(texture->request_priority(),
117 texture
201 RequestLate(PrioritizedResource* texture) argument
229 AcquireBackingTextureIfNeeded( PrioritizedResource* texture, ResourceProvider* resource_provider) argument
415 RegisterTexture(PrioritizedResource* texture) argument
426 UnregisterTexture( PrioritizedResource* texture) argument
439 ReturnBackingTexture( PrioritizedResource* texture) argument
503 PrioritizedResource* texture = (*it); local
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrSingleTextureEffect.cpp10 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 DGr1DKernelEffect.h16 * has a pixel radius. The kernel is specified in the src texture's space
31 Gr1DKernelEffect(GrTexture* texture, argument
34 : GrSingleTextureEffect(texture, MakeDivByTextureWHMatrix(texture))
/external/skia/src/gpu/effects/
H A DGrSingleTextureEffect.cpp10 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 DGr1DKernelEffect.h16 * has a pixel radius. The kernel is specified in the src texture's space
31 Gr1DKernelEffect(GrTexture* texture, argument
34 : GrSingleTextureEffect(texture, MakeDivByTextureWHMatrix(texture))
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_sampler.h44 const struct pipe_resource *texture,
49 const struct pipe_resource *texture,
H A Du_sampler.c39 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 Du_sampler.h44 const struct pipe_resource *texture,
49 const struct pipe_resource *texture,
H A Du_sampler.c39 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 DditImageIOTests.cpp54 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/src/gpu/
H A DGrTextureAccess.cpp19 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/skia/src/gpu/
H A DGrTextureAccess.cpp19 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 Dtexture_utils.cpp15 // 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 DAnimationFrame.java20 * 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 DTextureLibrary.java34 * 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 Dordered_texture_map.cc17 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/chromium_org/third_party/skia/include/gpu/
H A DGrCoordTransform.h47 * 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/skia/include/gpu/
H A DGrCoordTransform.h47 * 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 DGrTextureUnitObj.cpp12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { argument
22 fTexture = texture;
/external/skia/src/gpu/gl/debug/
H A DGrTextureUnitObj.cpp12 void GrTextureUnitObj::setTexture(GrTextureObj *texture) { argument
22 fTexture = texture;
/external/chromium_org/gpu/command_buffer/service/
H A Dmailbox_manager.cc37 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 Dtexture_manager_unittest.cc32 static bool IsNPOT(const Texture* texture) { argument
33 return texture->npot();
35 static bool IsTextureComplete(const Texture* texture) { argument
36 return texture->texture_complete();
38 static bool IsCubeComplete(const Texture* texture) { argument
39 return texture->cube_complete();
107 // Check we can create texture.
109 // Check texture got created.
110 scoped_refptr<TextureRef> texture = manager_->GetTexture(kClient1Id); local
111 ASSERT_TRUE(texture
138 Texture* texture = texture_ref->texture(); local
241 TextureRef* texture = manager.GetTexture(kClient1Id); local
477 Texture* texture = texture_ref_->texture(); local
498 Texture* texture = texture_ref_->texture(); local
510 Texture* texture = texture_ref_->texture(); local
638 Texture* texture = texture_ref_->texture(); local
735 Texture* texture = texture_ref_->texture(); local
791 Texture* texture = texture_ref_->texture(); local
853 Texture* texture = texture_ref->texture(); local
874 Texture* texture = texture_ref_->texture(); local
1037 Texture* texture = texture_ref_->texture(); local
1065 Texture* texture = texture_ref_->texture(); local
1092 Texture* texture = texture_ref_->texture(); local
1145 Texture* texture = texture_ref->texture(); local
1175 Texture* texture = texture_ref->texture(); local
1197 Texture* texture = texture_ref->texture(); local
1227 Texture* texture = texture_ref->texture(); local
1249 Texture* texture = texture_ref->texture(); local
1282 Texture* texture = texture_ref_->texture(); local
1521 Texture* texture = texture_ref_->texture(); local
1632 Texture* texture = texture_ref_->texture(); local
1966 const Texture* texture = texture_ref->texture(); local
1978 Texture* texture = manager_->Produce(texture_ref); local
1983 Consume(GLuint client_id, Texture* texture) argument
1999 Texture* texture = texture_ref_->texture(); local
2043 Texture* texture = texture_ref_->texture(); local
2071 Texture* texture = texture_ref_->texture(); local
2092 Texture* texture = texture_ref_->texture(); local
2128 Texture* texture = texture_ref_->texture(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DWebGLImageBufferSurface.cpp61 GrTexture* texture = m_bitmap.getTexture(); local
62 if (!texture)
64 return texture->getTextureHandle();

Completed in 715 milliseconds

1234567891011>>