Searched defs:texture (Results 1 - 25 of 458) sorted by relevance

1234567891011>>

/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/cc/resources/
H A Dlayer_updater.cc11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) argument
12 : texture_(texture.Pass()) {}
H A Dscoped_resource_unittest.cc32 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...]
H A Dresource_update.h28 PrioritizedResource* texture; member in struct:cc::ResourceUpdate
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_unittests_android.cc39 GLuint texture = 0xFEEDBEEF; local
42 gfx::SurfaceTexture::Create(texture));
/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/chromium_org/third_party/angle/tests/angle_tests/
H A DCompressedTextureTest.cpp76 GLuint texture; local
77 glGenTextures(1, &texture);
78 glBindTexture(GL_TEXTURE_2D, texture);
104 glDeleteTextures(1, &texture);
121 GLuint texture; local
122 glGenTextures(1, &texture);
123 glBindTexture(GL_TEXTURE_2D, texture);
159 glDeleteTextures(1, &texture);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
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/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(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/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, GrCoordTransform::MakeDivByTextureWHMatrix(texture))
/external/mesa3d/src/gallium/auxiliary/util/
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/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/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) {
/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
H A Dtest_web_graphics_context_3d_unittest.cc38 GLuint texture = context->createTexture(); local
39 context->bindTexture(GL_TEXTURE_2D, texture);
48 GLuint texture = context->createTexture(); local
49 context->bindTexture(GL_TEXTURE_2D, texture);
61 // Set and get non-default texture parameters on the first texture.
72 // Set and get different, non-default texture parameters on the second
73 // texture.
86 // Get texture parameters on the first texture an
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_async_pixel.cc64 // Set up the texture.
67 Texture* texture = texture_ref->texture(); local
134 EXPECT_TRUE(texture->IsImmutable());
135 // The texture is safe but the level has not been defined yet.
136 EXPECT_TRUE(texture->SafeToRenderFrom());
138 EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height));
150 EXPECT_TRUE(texture->IsImmutable());
151 EXPECT_TRUE(texture->SafeToRenderFrom());
163 // After the bind callback is run, the texture i
[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();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_sampler_view.h43 * A sampler's view into a texture
46 * the texture and in there by holding a reference
47 * from the texture to the sampler view.
50 * texture from the sampler view. So the user
52 * texture has a reference take for as long as
56 * texture is enough.
62 struct pipe_resource *texture; member in struct:svga_sampler_view
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
H A Dtr_texture.c40 struct pipe_resource *texture)
44 if(!texture)
47 assert(texture->screen == tr_scr->screen);
53 memcpy(&tr_res->base, texture, sizeof(struct pipe_resource));
57 tr_res->resource = texture;
62 pipe_resource_reference(&texture, NULL);
85 assert(surface->texture == tr_res->resource);
94 tr_surf->base.texture = NULL;
95 pipe_resource_reference(&tr_surf->base.texture, &tr_res->base);
109 pipe_resource_reference(&tr_surf->base.texture, NUL
39 trace_resource_create(struct trace_screen *tr_scr, struct pipe_resource *texture) argument
[all...]
H A Dtr_texture.h81 trace_resource(struct pipe_resource *texture) argument
83 if(!texture)
85 (void)trace_screen(texture->screen);
86 return (struct trace_resource *)texture;
95 (void)trace_resource(surface->texture);
121 struct pipe_resource *texture);
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_fbo.h49 struct pipe_resource *texture; member in struct:st_renderbuffer
50 struct pipe_surface *surface; /* temporary view into texture */
61 struct st_texture_object *rtt; /**< GL render to texture's texture */
/external/chromium_org/third_party/skia/tests/
H A DReadWriteAlphaTest.cpp35 // let Skia know we will be using this texture as a render target
37 // it is a single channel texture
42 // We are initializing the texture with zeros here
43 GrTexture* texture = context->createUncachedTexture(desc, textureData, 0); local
44 if (!texture) {
48 SkAutoTUnref<GrTexture> au(texture);
50 // create a distinctive texture
57 // upload the texture
58 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig,
66 // read the texture bac
[all...]
/external/deqp/framework/randomshaders/
H A DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument
44 : m_texture (texture)
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument
69 : m_texture (texture)

Completed in 1455 milliseconds

1234567891011>>