Searched defs:texture (Results 376 - 400 of 458) sorted by relevance

<<111213141516171819

/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_unittest.cc696 // Binds texture and framebuffer and loads the bitmap pixels into the texture.
697 void BindTextureAndFrameBuffer(WebGLId texture, argument
703 context_->bindTexture(GL_TEXTURE_2D, texture);
/external/chromium_org/content/renderer/media/android/
H A Dwebmediaplayer_android.cc170 // Defer stream texture creation until we are sure it's necessary.
328 // texture is bind to it. See http://crbug.com/400145.
338 // There is no need to establish the surface texture peer for fullscreen
559 skia::RefPtr<GrTexture> texture; local
560 texture = skia::AdoptRef(gr->createUncachedTexture(desc, 0, 0));
561 if (!texture.get())
565 SkGrPixelRef* pixelRef = SkNEW_ARGS(SkGrPixelRef, (info, texture.get()));
595 // Copy video texture into a RGBA texture based bitmap first as video texture
627 copyVideoTextureToPlatformTexture( blink::WebGraphicsContext3D* web_graphics_context, unsigned int texture, unsigned int level, unsigned int internal_format, unsigned int type, bool premultiply_alpha, bool flip_y) argument
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_impl_autogen.h71 void GLES2Implementation::BindTexture(GLenum target, GLuint texture) { argument
75 << texture << ")");
76 if (IsTextureReservedId(texture)) {
77 SetGLError(GL_INVALID_OPERATION, "BindTexture", "texture reserved id");
80 if (BindTextureHelper(target, texture)) {
81 helper_->BindTexture(target, texture);
460 GLuint texture,
467 << texture << ", " << level << ")");
473 helper_->FramebufferTexture2D(target, attachment, textarget, texture);
1047 GLboolean GLES2Implementation::IsTexture(GLuint texture) { argument
457 FramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
1780 FramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) argument
[all...]
/external/chromium_org/mojo/examples/pepper_container_app/
H A Dppb_opengles2_thunk.cc24 void ActiveTexture(PP_Resource context_id, GLenum texture) { argument
27 glActiveTexture(texture);
73 void BindTexture(PP_Resource context_id, GLenum target, GLuint texture) { argument
76 glBindTexture(target, texture);
455 GLuint texture,
459 glFramebufferTexture2D(target, attachment, textarget, texture, level);
833 GLboolean IsTexture(PP_Resource context_id, GLuint texture) { argument
836 return glIsTexture(texture);
451 FramebufferTexture2D(PP_Resource context_id, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DState.cpp608 void State::setSamplerTexture(GLenum type, Texture *texture) argument
610 mSamplerTextures[type][mActiveSampler].set(texture);
630 void State::detachTexture(GLuint texture) argument
633 // removeBinding, because the zero/null texture objects are managed
638 // If a texture object is deleted, it is as if all texture units which are bound to that texture object are
639 // rebound to texture object zero
647 if (binding.id() == texture)
655 // If a texture objec
[all...]
H A DvalidationES.cpp1259 gl::Texture *texture = NULL; local
1277 texture = texture2d;
1297 texture = textureCube;
1312 texture = texture2dArray;
1327 texture = texture3d;
1338 if (!texture)
1344 if (texture->isImmutable() && !isSubImage)
1729 GLuint texture, GLint level)
1742 if (texture != 0)
1744 gl::Texture *tex = context->getTexture(texture);
1728 ValidateFramebufferTextureBase(Context *context, GLenum target, GLenum attachment, GLuint texture, GLint level) argument
1771 ValidateFramebufferTexture2D(Context *context, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.c57 * Does the given texture wrap mode allow sampling the texture border color?
91 * and texture state.
99 const struct pipe_resource *texture; local
103 if (!sampler || !view || !view->texture)
106 texture = view->texture;
126 state->target = texture->target;
127 state->pot_width = util_is_power_of_two(texture->width0);
128 state->pot_height = util_is_power_of_two(texture
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_state.c784 r300_resource(state->cbufs[i]->texture),
789 r300_resource(state->zsbuf->texture),
797 struct pipe_resource *tex = surf->texture;
957 if (state->nr_cbufs && state->cbufs[0]->texture->nr_samples > 1) {
960 switch (state->cbufs[0]->texture->nr_samples) {
1089 /* Point sprites texture coordinates, 0: lower left, 1: upper right */
1459 struct r300_resource *texture; local
1483 /* A new sampler view (= texture)... */
1488 texture = r300_resource(views[i]->texture);
1516 r300_create_sampler_view_custom(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ, unsigned width0_override, unsigned height0_override) argument
1568 r300_create_sampler_view(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Devergreen_state.c627 R600_ERR("r600: unsupported texture type %d\n", target);
983 struct pipe_resource *texture,
988 struct r600_texture *tmp = (struct r600_texture*)texture;
1000 view->base.texture = NULL;
1001 pipe_reference(NULL, &texture->reference);
1002 view->base.texture = texture;
1021 if (!r600_init_flushed_depth_texture(ctx, texture, NULL)) {
1067 if (texture->target == PIPE_TEXTURE_1D_ARRAY) {
1069 depth = texture
982 evergreen_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_sampler_view *state) argument
[all...]
H A Dr600_state.c579 R600_ERR("r600: unsupported texture type %d\n", target);
1010 struct pipe_resource *texture,
1014 struct r600_texture *tmp = (struct r600_texture*)texture;
1025 view->base.texture = NULL;
1026 pipe_reference(NULL, &texture->reference);
1027 view->base.texture = texture;
1046 if (!r600_init_flushed_depth_texture(ctx, texture, NULL)) {
1063 if (texture->target == PIPE_TEXTURE_1D_ARRAY) {
1065 depth = texture
1009 r600_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_sampler_view *state) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
H A Dsi_state.c314 switch (rctx->framebuffer.zsbuf->texture->format) {
1394 R600_ERR("r600: unsupported texture type %d\n", target);
1461 rtex = (struct r600_resource_texture*)state->cbufs[cb]->texture;
1468 r600_texture_depth_flush(&rctx->context, state->cbufs[cb]->texture, TRUE);
1581 offset += r600_resource_va(rctx->context.screen, state->cbufs[cb]->texture);
1629 rtex = (struct r600_resource_texture*)surf->base.texture;
1633 z_offs = r600_resource_va(rctx->context.screen, surf->base.texture);
1636 s_offs = r600_resource_va(rctx->context.screen, surf->base.texture);
1985 struct pipe_resource *texture,
1989 struct r600_resource_texture *tmp = (struct r600_resource_texture*)texture;
1984 si_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_sampler_view *state) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_context.h204 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; /* or texture ID's? */
265 struct pipe_resource *texture; member in struct:svga_hw_view_state
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
H A Dp_state.h324 * A view into a texture that can be bound to a color render target /
330 struct pipe_resource *texture; /**< resource into which this is a view */ member in struct:pipe_surface
356 * A view into a texture that can be bound to a shader stage.
362 struct pipe_resource *texture; /**< texture into which this is a view */ member in struct:pipe_sampler_view
398 * A memory object/resource such as a vertex buffer or texture.
403 struct pipe_screen *screen; /**< screen that this texture belongs to */
427 unsigned level; /**< texture mipmap level */
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfbobject.c298 * Remove any texture or renderbuffer attached to the given attachment
308 /* tell driver that we're done rendering to this texture. */
325 * Bind a texture object to an attachment point.
336 /* re-attaching same texture */
604 att_incomplete("illegal stencil texture");
740 /* get width, height, format of the renderbuffer/texture
755 fbo_incomplete("texture attachment incomplete", -1);
1172 /* signed normalized texture formats */
1538 * renderbuffer/texture was created with internalFormat=GL_RGB but the
1669 * (render to texture)
1995 framebuffer_texture(struct gl_context *ctx, const char *caller, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument
2159 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
2192 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
2238 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument
2256 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) argument
3116 _mesa_FramebufferTextureARB(GLenum target, GLenum attachment, GLuint texture, GLint level) argument
3127 _mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) argument
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkLightingImageFilter.cpp346 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix);
371 static GrFragmentProcessor* Create(GrTexture* texture, argument
376 return SkNEW_ARGS(GrDiffuseLightingEffect, (texture,
393 GrDiffuseLightingEffect(GrTexture* texture,
406 static GrFragmentProcessor* Create(GrTexture* texture, argument
412 return SkNEW_ARGS(GrSpecularLightingEffect, (texture,
430 GrSpecularLightingEffect(GrTexture* texture,
1062 GrTexture* texture,
1067 *fp = GrDiffuseLightingEffect::Create(texture, light(), scale, matrix, kd());
1180 GrTexture* texture,
1061 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix& matrix, const SkIRect&) const argument
1179 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix& matrix, const SkIRect&) const argument
1288 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix) argument
1315 GrDiffuseLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument
1469 GrTexture* texture = lighting.texture(0); local
1518 GrSpecularLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkGradientShader.cpp1155 // We always filter the gradient table. Each table is one row of a texture, always y-clamp.
1167 GrTexture* texture = GrLockAndRefCachedBitmapTexture(ctx, bitmap, &params); local
1168 fCoordTransform.reset(kCoordSet, matrix, texture);
1169 fTextureAccess.reset(texture, params);
1175 GrUnlockAndUnrefCachedBitmapTexture(texture);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrContext.cpp331 // The desired texture is NPOT and tiled but that isn't supported by
332 // the current hardware. Resize the texture to be a POT
354 GrTexture* texture = fGpu->createTexture(rtDesc, NULL, 0); local
356 if (texture) {
359 drawState->setRenderTarget(texture->asRenderTarget());
375 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(SkPoint));
381 // stretched textures when the texture params is either filtered or
390 // We shouldn't be resizing a compressed texture.
400 texture
415 GrTexture* texture; local
444 GrTexture* texture = gpu->createTexture(desc, NULL, 0); local
519 addExistingTextureToCache(GrTexture* texture) argument
548 unlockScratchTexture(GrTexture* texture) argument
1334 writeTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t flags) argument
1358 readTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t flags) argument
1481 GrTexture* texture = ast.texture(); local
1652 GrTexture* texture = ast.texture(); local
1878 createPMToUPMEffect(GrTexture* texture, bool swapRAndB, const SkMatrix& matrix) argument
1894 createUPMToPMEffect(GrTexture* texture, bool swapRAndB, const SkMatrix& matrix) argument
[all...]
/external/chromium_org/ui/gl/
H A Dgl_bindings_skia_in_process.cc20 GLvoid StubGLActiveTexture(GLenum texture) { argument
21 glActiveTexture(texture);
59 GLvoid StubGLBindTexture(GLenum target, GLuint texture) { argument
60 glBindTexture(target, texture);
240 GLenum textarget, GLuint texture,
242 glFramebufferTexture2DEXT(target, attachment, textarget, texture, level);
246 GLenum textarget, GLuint texture,
248 glFramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture,
239 StubGLFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument
245 StubGLFramebufferTexture2DMultisample(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) argument
/external/deqp/framework/opengl/simplereference/
H A DsglrGLContext.cpp148 void GLContext::activeTexture (deUint32 texture) argument
150 m_wrapper->glActiveTexture(texture);
174 void GLContext::bindTexture (deUint32 target, deUint32 texture) argument
176 m_allocatedTextures.insert(texture);
177 m_wrapper->glBindTexture(target, texture);
383 void GLContext::framebufferTexture2D (deUint32 target, deUint32 attachment, deUint32 textarget, deUint32 texture, int level) argument
385 m_wrapper->glFramebufferTexture2D(target, attachment, textarget, texture, level);
388 void GLContext::framebufferTextureLayer (deUint32 target, deUint32 attachment, deUint32 texture, int level, int layer) argument
390 m_wrapper->glFramebufferTextureLayer(target, attachment, texture, level, layer);
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp292 GLuint texture; local
297 gl.genTextures(1, &texture);
299 gl.bindTexture(GL_TEXTURE_2D, texture);
314 return texture;
636 GLuint texture = 0; local
640 m_gl.genTextures(1, &texture);
641 m_gl.bindTexture(GL_TEXTURE_2D, texture);
645 return texture;
649 m_gl.deleteTextures(1, &texture);
1023 log << TestLog::Message << "Use texture
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp1777 GLuint texture = 0; local
1778 glGenTextures(1, &texture);
1781 glBindTexture(m_textureType, texture);
1782 m_verifier->verifyInteger(m_testCtx, m_testBindingName, texture);
1784 glDeleteTextures(1, &texture);
H A Des2fTextureUnitTests.cpp68 // \note Cube map texture size is larger in order to make minifications possible - otherwise would need to display different faces at same time.
246 void makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize); // Modifies texture coordinates so that LODs aren't too close to x.5 or 0.0 .
568 int m_numTextures; //!< \note Needed in addition to m_numUnits since same texture may be bound to many texture units.
575 vector<int> m_unitTextures; //!< Which texture is used in a particular unit.
576 vector<int> m_ndx2dOrCube; //!< Index of a texture in either m_textures2d or m_texturesCube, depending on texture type.
620 m_numTextures = m_numUnits; // In most cases use one unit per texture.
622 m_numTextures = rnd.getInt(deMax32(1, m_numUnits - 2), m_numUnits); // Sometimes assign same texture to multiple units.
624 log << tcu::TestLog::Message << ("Using " + de::toString(m_numUnits) + " texture uni
852 const tcu::Texture2D* texture = m_textures2d[ndx2d]; local
874 const tcu::TextureCube* texture = m_texturesCube[ndxCube]; local
[all...]
H A Des2fVertexTextureTests.cpp21 * \brief Vertex texture tests.
78 // Helpers for making texture coordinates "safe", i.e. move them further from coordinate bounary.
163 * \brief Quad grid class containing position and texture coordinate data.
169 * because we want texture coordinates to be constant across the vertices
360 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) argument
371 quadColors[ndx] = sample(texture, coord, lod, sampler);
412 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
469 throw tcu::NotSupportedError("Vertex texture image units not supported", "", __FILE__, __LINE__);
493 // Fill first with gradient texture
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fIntegerStateQueryTests.cpp2384 GLuint texture = 0; local
2385 glGenTextures(1, &texture);
2388 glBindTexture(m_textureType, texture);
2389 m_verifier->verifyInteger(m_testCtx, m_testBindingName, texture);
2391 glDeleteTextures(1, &texture);
H A Des3fTextureUnitTests.cpp71 // \note Cube map texture size is larger in order to make minifications possible - otherwise would need to display different faces at same time.
229 lookupsStr += "\tcolor += " + colorMultiplier + "*(vec4(texture(" + samplerName + ", " + lookupCoord + "))*" + scaleName + " + " + biasName + ");\n";
342 void makeSafeLods (const vector<IVec3>& textureSizes, const IVec2& viewportSize); // Modifies texture coordinates so that LODs aren't too close to x.5 or 0.0 .
406 int tex2dArrayNdx = 0; // Keep track of 2d texture array index.
729 int m_numTextures; //!< \note Needed in addition to m_numUnits since same texture may be bound to many texture units.
738 vector<int> m_unitTextures; //!< Which texture is used in a particular unit.
739 vector<int> m_ndxTexType; //!< Index of a texture in m_textures2d, m_texturesCube, m_textures2dArray or m_textures3d, depending on texture type.
791 m_numTextures = m_numUnits; // In most cases use one unit per texture
1057 const tcu::Texture2D* texture = m_textures2d[ndx2d]; local
1081 const tcu::TextureCube* texture = m_texturesCube[ndxCube]; local
1108 const tcu::Texture2DArray* texture = m_textures2dArray[ndx2dArray]; local
1134 const tcu::Texture3D* texture = m_textures3d[ndx3d]; local
[all...]

Completed in 757 milliseconds

<<111213141516171819