Searched defs:texture (Results 326 - 350 of 458) sorted by relevance

<<111213141516171819

/external/chromium_org/cc/test/
H A Dtest_web_graphics_context_3d.cc153 GLuint texture) {
334 // The caller is expected to lock the namespace for texture access.
693 scoped_refptr<TestTexture> texture = BoundTexture(target); local
694 DCHECK(texture->IsValidParameter(pname));
695 texture->params[pname] = param;
703 scoped_refptr<TestTexture> texture = BoundTexture(target); local
704 DCHECK(texture->IsValidParameter(pname));
705 TestTexture::TextureParametersMap::iterator it = texture->params.find(pname);
706 if (it != texture->params.end())
152 isTexture( GLuint texture) argument
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_context.cc920 scoped_refptr<TextureLayer> texture = TextureLayer::CreateForMailbox(NULL); variable
921 texture->SetBounds(gfx::Size(10, 10));
922 texture->SetIsDrawable(true);
923 texture->SetTextureMailbox(
928 root->AddChild(texture);
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper.cc46 // Helper class for allocating and holding an RGBA texture of a given
68 GLuint texture() const { return texture_.id(); } function in class:__anon7579::TextureFrameBufferPair
80 // Helper class for holding a scaler, a texture for the output of that
89 scaler_->Scale(src_texture, texture_and_framebuffer_.texture());
96 GLuint texture() const { return texture_and_framebuffer_.texture(); } function in class:__anon7579::ScalerHolder
149 void ReadbackTextureSync(GLuint texture,
154 void ReadbackTextureAsync(GLuint texture,
179 GLuint CopyAndScaleTexture(GLuint texture,
207 // thread, by resetting the texture an
532 GLuint texture = src_texture; local
608 ReadbackTextureSync( GLuint texture, const gfx::Rect& src_rect, unsigned char* out, SkColorType color_type) argument
636 ReadbackTextureAsync( GLuint texture, const gfx::Size& dst_size, unsigned char* out, SkColorType color_type, const base::Callback<void(bool)>& callback) argument
810 ReadbackTextureSync(GLuint texture, const gfx::Rect& src_rect, unsigned char* out, SkColorType format) argument
818 ReadbackTextureAsync( GLuint texture, const gfx::Size& dst_size, unsigned char* out, SkColorType color_type, const base::Callback<void(bool)>& callback) argument
832 CopyTexture(GLuint texture, const gfx::Size& size) argument
838 CopyAndScaleTexture(GLuint texture, const gfx::Size& src_size, const gfx::Size& dst_size, bool vertically_flip_texture, ScalerQuality quality) argument
889 CopySubBufferDamage(GLuint texture, GLuint previous_texture, const SkRegion& new_damage, const SkRegion& old_damage) argument
920 GLuint texture = 0u; local
954 GLuint texture = local
959 ResizeTexture(GLuint texture, const gfx::Size& size) argument
972 CopyTextureSubImage(GLuint texture, const gfx::Rect& rect) argument
984 CopyTextureFullImage(GLuint texture, const gfx::Size& size) argument
1231 GLuint texture; local
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dtexture_manager.cc365 // If texture is uncleared and is attached to a framebuffer,
843 Texture* texture)
845 texture_(texture),
901 // texture because we simulate non shared resources on top of shared
903 // texture.
928 // Sampling a texture not associated with any EGLImage sibling will return
933 // Make default textures and texture for replacing non-renderable textures.
1025 ref->texture()
1034 ref->texture()->SetLevelCleared(target, level, cleared);
1040 return ref->texture()
841 TextureRef(TextureManager* manager, GLuint client_id, Texture* texture) argument
1047 Texture* texture = ref->texture(); local
1069 Texture* texture = ref->texture(); local
1091 Consume( GLuint client_id, Texture* texture) argument
1106 Texture* texture = ref->texture(); local
1130 Texture* texture = ref->texture(); local
1151 Texture* texture = ref->texture(); local
1184 Texture* texture = ref->texture(); local
1203 Texture* texture = ref->texture(); local
1241 Texture* texture = it->second->texture(); local
1365 TextureRef* texture = NULL; local
1394 TextureRef* texture = GetTextureInfoForTarget(state, target); local
1485 Texture* texture = texture_ref->texture(); local
[all...]
H A Dtexture_manager.h37 // This class wraps a real GL texture, keeping track of its meta-data. It is
79 // The service side OpenGL id of the texture.
90 // been bound. Once a texture is bound to a specific target it can never be
156 // Whether the texture has been defined
180 // Condition on which this texture is renderable. Can be ONLY_IF_NPOT if it
182 // renderable if NPOT support is in the context, otherwise not, e.g. texture
225 // In GLES2 "texture complete" means it has all required mips for filtering
226 // down to a 1x1 pixel texture, they are in the correct order, they are all
238 // Whether or not this texture is a non-power-of-two texture
410 const Texture* texture() const { return texture_; } function in class:gpu::gles2::TextureRef
411 Texture* texture() { return texture_; } function in class:gpu::gles2::TextureRef
[all...]
/external/chromium_org/media/blink/
H A Dwebmediaplayer_impl.cc585 unsigned int texture,
620 texture,
583 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
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.cpp223 // Resolve the multisampled buffer into m_colorBuffer texture.
237 // We must restore the texture binding since creating new textures,
445 bool DrawingBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, Platform3DObject texture, GLenum internalFormat, GLenum destType, GLint level, bool premultiplyAlpha, bool flipY, bool fromFrontBuffer) argument
465 // Contexts may be in a different share group. We must transfer the texture through a mailbox first
486 context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, texture, level, internalFormat, destType);
555 // We don't need to bind a copy of m_frontColorBuffer since the texture parameters are untouched.
768 // Clamp if the desired size is greater than the maximum texture size for the device.
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebGraphicsContext3D.h162 // context to the corresponding texture used by the compositor.
206 virtual void activeTexture(WGC3Denum texture) = 0;
212 virtual void bindTexture(WGC3Denum target, WebGLId texture) = 0;
249 virtual void framebufferTexture2D(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level) = 0;
287 virtual WGC3Dboolean isTexture(WebGLId texture) = 0;
419 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, const WGC3Dbyte* mailbox) { } argument
466 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei samples) { } argument
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DBlit11.cpp65 ID3D11Texture2D *texture = d3d11::DynamicCastComObject<ID3D11Texture2D>(resource); local
66 if (!texture)
72 texture->GetDesc(&desc);
74 SafeRelease(texture);
100 ERR("Failed to create staging texture for depth stencil blit. HRESULT: 0x%X.", result);
314 d3d11::SetDebugName(mQuad3DGS, "Renderer11 copy 3D texture geometry shader");
420 ERR("Failed to map vertex buffer for texture swizzle, HRESULT: 0x%X.", result);
438 ERR("Failed to map constant buffer for texture swizzle, HRESULT: 0x%X.", result);
543 ERR("Failed to map vertex buffer for texture copy, HRESULT: 0x%X.", result);
656 ERR("Failed to map vertex buffer for texture cop
[all...]
H A DTextureStorage11.cpp8 // classes TextureStorage11_2D and TextureStorage11_Cube, which act as the interface to the D3D11 texture.
219 ID3D11Resource *texture = swizzleRequired ? getSwizzleTexture() : getResource(); local
221 srv = createSRV(samplerState.baseLevel, mipLevels, format, texture);
265 ERR("Failed to swizzle texture.");
462 // if the width or height is not positive this should be treated as an incomplete texture
463 // we handle that here by skipping the d3d texture creation
472 desc.Width = width; // Compressed texture size constraints?
690 ID3D11ShaderResourceView *TextureStorage11_2D::createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D11Resource *texture) argument
701 HRESULT result = device->CreateShaderResourceView(texture, &srvDesc, &SRV);
821 // if the size is not positive this should be treated as an incomplete texture
1082 createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D11Resource *texture) argument
1385 createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D11Resource *texture) argument
1752 createSRV(int baseLevel, int mipLevels, DXGI_FORMAT format, ID3D11Resource *texture) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES3.cpp222 // internal format. (dEQP-GLES3.functional.negative_api.texture.teximage3d)
264 // Check if this is a valid format combination to load texture data
314 gl::Texture *texture = NULL; local
339 texture = texture2d;
371 texture = textureCube;
394 texture = texture3d;
417 texture = texture2darray;
427 if (!texture)
433 if (texture->isImmutable() && !isSubImage)
439 // Validate texture format
930 gl::Texture *texture = NULL; local
1025 ValidateFramebufferTextureLayer(Context *context, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c274 tgsi_build_declaration_resource(unsigned texture, argument
283 dr.Resource = texture;
307 tgsi_build_declaration_sampler_view(unsigned texture, argument
318 dsv.Resource = texture;
723 unsigned texture,
731 instruction_texture.Texture = texture;
722 tgsi_build_instruction_texture( unsigned texture, unsigned num_offsets, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_state.c385 struct pipe_resource *tex = view->texture;
389 /* We're referencing the texture's internal data, so save a
805 struct pipe_resource *texture,
813 view->texture = NULL;
814 pipe_resource_reference(&view->texture, texture);
826 pipe_resource_reference(&view->texture, NULL);
804 i915_create_sampler_view(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
H A Dtr_context.c72 assert(surface->texture);
73 if(!surface->texture)
79 assert(tr_surf->surface->texture->screen == tr_scr->screen);
900 tr_view->base.texture = NULL;
901 pipe_resource_reference(&tr_view->base.texture, _resource);
928 pipe_resource_reference(&_view->texture, NULL);
1368 struct pipe_resource *texture = tr_res->resource; local
1371 assert(texture->screen == context->screen);
1378 result = context->get_transfer(context, texture, level, usage, box);
/external/chromium_org/third_party/mesa/src/src/gallium/include/state_tracker/
H A Dst_api.h195 struct pipe_resource *texture; member in struct:st_context_resource
204 struct pipe_resource *texture; member in struct:st_egl_image
368 * Replace the texture image of a texture object at the specified level.
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpaint.c178 struct pipe_resource *texture; local
182 texture = create_gradient_texture(p);
184 if (!texture)
187 u_sampler_view_default_template(&view_templ, texture, texture->format);
188 view = pipe->create_sampler_view(pipe, texture, &view_templ);
189 /* want the texture to go away if the view is freed */
190 pipe_resource_reference(&texture, NULL);
365 map[6] = paint->pattern.sampler_view->texture->width0;
366 map[7] = paint->pattern.sampler_view->texture
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dindirect_vertex_array.c62 * "vbo", to support multiple texture coordinate arrays, generic attributes,
172 * supports only 2 texture units, then only 2 texture coordinate arrays
1719 __indirect_glClientActiveTextureARB(GLenum texture) argument
1725 const GLint unit = (GLint) texture - GL_TEXTURE0;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_wm_surface_state.c98 * This is the table of support for surface (texture, renderbuffer, and vertex
479 uint32_t texture, render; local
483 render = texture = brw_format_for_mesa_format(format);
484 tinfo = &surface_formats[texture];
489 if (texture == 0 && format != MESA_FORMAT_RGBA_FLOAT32)
730 _mesa_problem(NULL, "bad format %s for texture buffer\n",
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexcompress_fxt1.c54 fxt1_decode_1 (const void *texture, GLint stride,
1335 _mesa_error(ctx, GL_OUT_OF_MEMORY, "texture compression");
1627 fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */ argument
1641 const GLubyte *code = (const GLubyte *)texture +
/external/chromium_org/third_party/skia/include/gpu/
H A DGrContext.h100 * GPU context, and thus internal texture, buffer, etc. references/IDs are
187 * This entry point is mainly meant for timing texture uploads
218 * Creates a new entry, based on the specified key and texture and returns it. The caller owns a
219 * ref on the returned texture which must be balanced by a call to unref.
221 * @param params The texture params used to draw a texture may help determine
224 * texture support). NULL implies clamp wrap modes.
225 * @param desc Description of the texture properties.
226 * @param cacheID Cache-specific properties (e.g., texture gen ID)
228 * @param rowBytes The number of bytes between rows of the texture
1128 GrTexture* texture = fTexture; local
1160 GrTexture* texture() { return fTexture; } function in class:GrAutoScratchTexture
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkMorphologyImageFilter.cpp416 GrTexture& texture = *kern.texture(0); local
422 imageIncrement[0] = 1.0f / texture.width();
425 imageIncrement[1] = 1.0f / texture.height();
435 GrMorphologyEffect::GrMorphologyEffect(GrTexture* texture, argument
439 : Gr1DKernelEffect(texture, direction, radius)
452 return (this->texture(0) == s.texture(0) &&
460 // exactly from existing values in the source texture.
486 GrTexture* texture,
485 apply_morphology_pass(GrContext* context, GrTexture* texture, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, Gr1DKernelEffect::Direction direction) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.cpp396 GrTexture* texture = gp->texture(t); local
397 SkASSERT(texture->asRenderTarget() != drawState.getRenderTarget());
405 GrTexture* texture = effect->texture(t); local
406 SkASSERT(texture->asRenderTarget() != drawState.getRenderTarget());
413 GrTexture* texture = effect->texture(t); local
414 SkASSERT(texture->asRenderTarget() != drawState.getRenderTarget());
459 if (NULL == ast.texture()) {
[all...]
H A DSkGpuDevice.cpp61 // requiring texture domain clamping to prevent color bleeding when drawing
90 GrTexture** texture)
93 SkASSERT(texture);
94 *texture = this->set(device, bitmap, params);
113 // Cannot return the native texture so look it up in our cache
194 SkAutoTUnref<GrTexture> texture(context->createUncachedTexture(desc, NULL, 0));
195 if (!texture.get()) {
199 return SkNEW_ARGS(SkGpuDevice, (texture.get(), props));
625 GrTexture* texture = ast.texture(); local
87 SkAutoCachedTexture(SkGpuDevice* device, const SkBitmap& bitmap, const GrTextureParams* params, GrTexture** texture) argument
692 wrap_texture(GrTexture* texture) argument
[all...]
/external/chromium_org/webkit/common/gpu/
H A Dwebgraphicscontext3d_impl.cc768 void WebGraphicsContext3DImpl::deleteTexture(WebGLId texture) { argument
769 gl_->DeleteTextures(1, &texture);
976 WebGLId texture, WebGLId parentTexture) {
975 copyTextureToParentTextureCHROMIUM( WebGLId texture, WebGLId parentTexture) argument
/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp64 void ContextWrapper::glActiveTexture (deUint32 texture) argument
66 m_curCtx->activeTexture(texture);
69 void ContextWrapper::glBindTexture (deUint32 target, deUint32 texture) argument
71 m_curCtx->bindTexture(target, texture);
189 void ContextWrapper::glFramebufferTexture2D (deUint32 target, deUint32 attachment, deUint32 textarget, deUint32 texture, int level) argument
191 m_curCtx->framebufferTexture2D(target, attachment, textarget, texture, level);
194 void ContextWrapper::glFramebufferTextureLayer (deUint32 target, deUint32 attachment, deUint32 texture, int level, int layer) argument
196 m_curCtx->framebufferTextureLayer(target, attachment, texture, level, layer);

Completed in 2214 milliseconds

<<111213141516171819