Searched refs:texture (Results 151 - 175 of 883) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrMatrixConvolutionEffect.h22 static GrFragmentProcessor* Create(GrTexture* texture, argument
31 return SkNEW_ARGS(GrMatrixConvolutionEffect, (texture,
42 static GrFragmentProcessor* CreateGaussian(GrTexture* texture,
H A DGrCustomCoordsTextureEffect.h17 * The output color of this effect is a modulation of the input color and a sample from a texture.
40 GrCustomCoordsTextureEffect(GrTexture* texture, const GrTextureParams& params);
H A DGrBicubicEffect.cpp121 const GrTexture& texture = *processor.texture(0); local
123 imageIncrement[0] = 1.0f / texture.width();
124 imageIncrement[1] = 1.0f / texture.height();
127 fDomain.setData(pdman, bicubicEffect.domain(), texture.origin());
139 GrBicubicEffect::GrBicubicEffect(GrTexture* texture, argument
143 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode))
148 GrBicubicEffect::GrBicubicEffect(GrTexture* texture, argument
152 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode,
220 // When we use the bicubic filtering effect each sample is read from the texture usin
[all...]
H A DGrConfigConversionEffect.cpp105 GrConfigConversionEffect::GrConfigConversionEffect(GrTexture* texture, argument
109 : GrSingleTextureEffect(texture, matrix)
112 SkASSERT(kRGBA_8888_GrPixelConfig == texture->config() ||
113 kBGRA_8888_GrPixelConfig == texture->config());
114 // Why did we pollute our texture cache instead of using a GrSingleTextureEffect?
124 return this->texture(0) == s.texture(0) &&
264 const GrFragmentProcessor* GrConfigConversionEffect::Create(GrTexture* texture, argument
270 // then we may pollute our texture cache with redundant shaders. So in the case that no
272 return GrSimpleTextureEffect::Create(texture, matri
[all...]
/external/chromium_org/cc/test/
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/ppapi/examples/compositor/
H A Dcompositor.cc77 void OnTextureReleased(int32_t result, GLuint texture);
189 GLuint texture = 0; local
192 // Create a texture object
193 glGenTextures(1, &texture);
194 glBindTexture(GL_TEXTURE_2D, texture);
203 texture = textures_.back();
223 // attach the texture to FBO color attachment point
227 texture,
241 return texture;
345 // Set the stable texture laye
349 GLuint texture = PrepareFramebuffer(); local
399 GLuint texture = PrepareFramebuffer(); local
415 OnTextureReleased(int32_t result, GLuint texture) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
H A Dr600_blit.c116 void si_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_texture *texture) argument
122 if (!texture->dirty_db)
125 for (level = 0; level <= texture->resource.b.b.last_level; level++) {
126 unsigned num_layers = u_num_layers(&texture->resource.b.b, level);
131 surf_tmpl.format = texture->real_format;
137 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl);
139 surf_tmpl.format = texture->flushed_depth_texture->real_format;
142 (struct pipe_resource*)texture->flushed_depth_texture, &surf_tmpl);
153 texture->dirty_db = FALSE;
169 tex = (struct r600_resource_texture *)view->base.texture;
385 r600_blit_push_depth(struct pipe_context *ctx, struct r600_resource_texture *texture) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnv04_context.h40 struct nouveau_surface *texture[2]; member in struct:nv04_context
H A Dnv04_render.c101 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset,
103 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR,
116 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset,
118 PUSH_RELOC(push, nv04->texture[1]->bo, nv04->texture[1]->offset,
120 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR,
123 PUSH_RELOC(push, nv04->texture[1]->bo, nv04->format[1], NOUVEAU_BO_OR,
148 { nv04->texture[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexobj.h82 * Return number of faces for a texture target. This will be 6 for
92 /** Is the texture "complete" with respect to the given sampler state? */
151 _mesa_BindTexture( GLenum target, GLuint texture );
164 _mesa_IsTexture( GLuint texture );
167 _mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset,
172 _mesa_InvalidateTexImage(GLuint texture, GLint level);
/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/src/effects/
H A DSkAlphaThresholdFilter.cpp64 static GrFragmentProcessor* Create(GrTexture* texture, argument
68 return SkNEW_ARGS(AlphaThresholdEffect, (texture,
87 AlphaThresholdEffect(GrTexture* texture, argument
94 GrCoordTransform::MakeDivByTextureWHMatrix(texture), texture)
95 , fImageTextureAccess(texture)
226 return (this->texture(0) == s.texture(0) &&
233 GrPixelConfigIsOpaque(this->texture(0)->config())) {
272 GrTexture* texture,
271 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix& in_matrix, const SkIRect&) const argument
[all...]
H A DSkGpuBlurUtils.cpp49 GrTexture* texture,
58 texture, direction, radius, sigma, useBounds, bounds));
67 GrTexture* texture,
79 texture, bounds, size, 1.0, 0.0, kernelOffset,
90 GrTexture* texture,
97 convolve_gaussian_1d(context, srcRect, dstRect, texture,
107 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width();
108 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width();
117 bounds[0] = SkScalarToFloat(srcRect.top()) / texture->height();
118 bounds[1] = SkScalarToFloat(srcRect.bottom()) / texture
46 convolve_gaussian_1d(GrContext* context, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool useBounds, float bounds[2]) argument
64 convolve_gaussian_2d(GrContext* context, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, bool useBounds, SkIRect bounds) argument
87 convolve_gaussian(GrContext* context, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool cropToSrcRect) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_blit.c116 void si_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_texture *texture) argument
122 if (!texture->dirty_db)
125 for (level = 0; level <= texture->resource.b.b.last_level; level++) {
126 unsigned num_layers = u_num_layers(&texture->resource.b.b, level);
131 surf_tmpl.format = texture->real_format;
137 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl);
139 surf_tmpl.format = texture->flushed_depth_texture->real_format;
142 (struct pipe_resource*)texture->flushed_depth_texture, &surf_tmpl);
153 texture->dirty_db = FALSE;
169 tex = (struct r600_resource_texture *)view->base.texture;
385 r600_blit_push_depth(struct pipe_context *ctx, struct r600_resource_texture *texture) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv04_context.h40 struct nouveau_surface *texture[2]; member in struct:nv04_context
/external/mesa3d/src/mesa/main/
H A Dtexobj.h82 * Return number of faces for a texture target. This will be 6 for
92 /** Is the texture "complete" with respect to the given sampler state? */
151 _mesa_BindTexture( GLenum target, GLuint texture );
164 _mesa_IsTexture( GLuint texture );
167 _mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset,
172 _mesa_InvalidateTexImage(GLuint texture, GLint level);
/external/mesa3d/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/replicaisland/src/com/replica/replicaisland/
H A DDebugSystem.java70 Texture texture = getTexture(shapeType, colorType);
71 bitmap.resize((int)texture.width, (int)texture.height);
75 bitmap.setTexture(texture);
H A DScrollerComponent.java35 public ScrollerComponent(float speedX, float speedY, int width, int height, Texture texture) { argument
39 setUseTexture(texture);
84 public void setUseTexture(Texture texture) { argument
85 mTexture = texture;
/external/skia/src/gpu/effects/
H A DGrCustomCoordsTextureEffect.h17 * The output color of this effect is a modulation of the input color and a sample from a texture.
39 GrCustomCoordsTextureEffect(GrTexture* texture, const GrTextureParams& params);
H A DGrBicubicEffect.cpp110 const GrTexture& texture = *effect.texture(0); local
112 imageIncrement[0] = 1.0f / texture.width();
113 imageIncrement[1] = 1.0f / texture.height();
116 fDomain.setData(uman, effect.domain(), texture.origin());
128 GrBicubicEffect::GrBicubicEffect(GrTexture* texture, argument
132 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode))
137 GrBicubicEffect::GrBicubicEffect(GrTexture* texture, argument
141 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode,
208 // When we use the bicubic filtering effect each sample is read from the texture usin
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dtexturedomaineffect.cpp95 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, fBmp, NULL); variable
96 if (NULL == texture) {
101 textureMatrices.push_back().setIDiv(texture->width(), texture->height());
105 textureMatrices.back().preRotate(45.f, texture->width() / 2.f, texture->height() / 2.f);
126 GrTextureDomainEffect::Create(texture, textureMatrices[tm],
127 GrTextureDomain::MakeTexelDomain(texture,
147 GrUnlockAndUnrefCachedBitmapTexture(texture); variable
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DFramebuffer.cpp29 gl::Texture *texture = attachment->getTexture(); local
30 ASSERT(texture);
31 TextureD3D *textureD3D = TextureD3D::makeTextureD3D(texture->getImplementation());
49 gl::Texture *texture = attachment->getTexture(); local
50 ASSERT(texture);
51 TextureD3D *textureD3D = TextureD3D::makeTextureD3D(texture->getImplementation());
113 Texture *texture = context->getTexture(handle); local
114 if (texture && texture->getTarget() == GL_TEXTURE_2D)
116 return new TextureAttachment(binding, texture, ImageInde
131 Texture *texture = context->getTexture(handle); local
144 Texture *texture = context->getTexture(handle); local
157 Texture *texture = context->getTexture(handle); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_debug.c504 struct pipe_resource *texture; local
513 * back into the texture. Need to nail down the semantics of views
517 texture = surface->texture;
519 transfer = pipe_get_transfer(pipe, texture, surface->u.tex.level,
529 texture->format,
530 util_format_get_blocksize(texture->format),
531 util_format_get_nblocksx(texture->format, surface->width),
532 util_format_get_nblocksy(texture->format, surface->height),
544 struct pipe_resource *texture)
542 debug_dump_texture(struct pipe_context *pipe, const char *prefix, struct pipe_resource *texture) argument
599 struct pipe_resource *texture = surface->texture; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug.c504 struct pipe_resource *texture; local
513 * back into the texture. Need to nail down the semantics of views
517 texture = surface->texture;
519 transfer = pipe_get_transfer(pipe, texture, surface->u.tex.level,
529 texture->format,
530 util_format_get_blocksize(texture->format),
531 util_format_get_nblocksx(texture->format, surface->width),
532 util_format_get_nblocksy(texture->format, surface->height),
544 struct pipe_resource *texture)
542 debug_dump_texture(struct pipe_context *pipe, const char *prefix, struct pipe_resource *texture) argument
599 struct pipe_resource *texture = surface->texture; local
[all...]

Completed in 493 milliseconds

1234567891011>>