Home
last modified time | relevance | path

Searched refs:texture_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/ui/surface/
Daccelerated_surface_mac.cc20 texture_(0), in AcceleratedSurface()
95 glBindTexture(target, texture_); in SwapBuffers()
139 if (!texture_) { in AllocateRenderBuffers()
141 texture_ = CreateTexture(target); in AllocateRenderBuffers()
148 glBindTexture(target, texture_); in AllocateRenderBuffers()
157 texture_, in SetupFrameBufferObject()
211 } else if (!texture_) { in SetSurfaceSize()
213 texture_ = CreateTexture(target); in SetSurfaceSize()
Daccelerated_surface_mac.h139 GLuint texture_; variable
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_shader_programs_mac.cc47 uniform sampler2DRect texture_;
50 gl_FragColor = vec4(texture2DRect(texture_, texture_coord).rgb, 1.0);
127 uniform sampler2DRect texture_;
134 vec3 pixel0 = texture2DRect(texture_, texture_coord0).rgb;
135 vec3 pixel1 = texture2DRect(texture_, texture_coord1).rgb;
136 vec3 pixel2 = texture2DRect(texture_, texture_coord2).rgb;
137 vec3 pixel3 = texture2DRect(texture_, texture_coord3).rgb;
180 uniform sampler2DRect texture_;
187 vec4 lo_uuvv = texture2DRect(texture_, texture_coord0);
188 vec4 hi_uuvv = texture2DRect(texture_, texture_coord1);
Dcompositing_iosurface_mac.mm259 texture_(0),
395 glBindTexture(GL_TEXTURE_RECTANGLE_ARB, texture_);
421 // Workaround for issue 158469. Issue a dummy draw call with texture_ not
582 glGenTextures(1, &texture_);
583 glBindTexture(GL_TEXTURE_RECTANGLE_ARB, texture_);
632 if (texture_) {
633 glDeleteTextures(1, &texture_);
634 texture_ = 0;
748 texture_, src_rect, dst_pixel_rect.size(),
756 texture_, src_rect, dst_pixel_rect.size(),
Dcompositing_iosurface_mac.h320 GLuint texture_; variable
/external/chromium_org/content/browser/aura/
Dno_transport_image_transport_factory.cc22 texture_(context_provider_->Context3d()->createTexture()) {} in FakeTexture()
24 virtual unsigned int PrepareTexture() OVERRIDE { return texture_; } in PrepareTexture()
33 context_provider_->Context3d()->deleteTexture(texture_); in ~FakeTexture()
37 unsigned texture_; member in content::__anonf311102c0111::FakeTexture
/external/chromium_org/ui/aura/bench/
Dbench_main.cc182 texture_(), in WebGLBench()
210 texture_ = new WebGLTexture(gl, bounds.size()); in WebGLBench()
213 webgl_.SetExternalTexture(texture_.get()); in WebGLBench()
217 GL_TEXTURE_2D, texture_->PrepareTexture(), 0); in WebGLBench()
226 texture_ = NULL; in ~WebGLBench()
237 webgl_.SetExternalTexture(texture_.get()); in Draw()
247 scoped_refptr<WebGLTexture> texture_; member in __anon587f39e10111::WebGLBench
/external/chromium_org/cc/resources/
Dlayer_updater.h28 PrioritizedResource* texture() { return texture_.get(); } in texture()
39 scoped_ptr<PrioritizedResource> texture_;
Dlayer_updater.cc12 : texture_(texture.Pass()) {} in Resource()
/external/chromium_org/ui/compositor/
Dlayer.cc483 scoped_refptr<ui::Texture> old_texture = texture_; in SetExternalTexture()
488 texture_ = texture; in SetExternalTexture()
491 new_layer->SetFlipped(texture_->flipped()); in SetExternalTexture()
505 texture_ = NULL; in SetTextureMailbox()
549 texture_ = NULL; in SetShowPaintedContent()
557 if (type_ == LAYER_SOLID_COLOR || (!delegate_ && !texture_.get())) in SchedulePaint()
576 if ((delegate_ || texture_.get()) && !damaged_region_.isEmpty()) { in SendDamagedRects()
647 return texture_->PrepareTexture(); in PrepareTexture()
939 DCHECK(texture_.get()); in RecomputeDrawsContentAndUVRect()
940 float texture_scale_factor = 1.0f / texture_->device_scale_factor(); in RecomputeDrawsContentAndUVRect()
[all …]
Dlayer.h250 const ui::Texture* texture() const { return texture_.get(); } in texture()
255 ui::Texture* external_texture() { return texture_.get(); } in external_texture()
420 scoped_refptr<ui::Texture> texture_; variable
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
Dgraphics_3d.cc379 glGenTextures(1, &texture_); in InitTexture()
380 glBindTexture(GL_TEXTURE_2D, texture_); in InitTexture()
419 glBindTexture(GL_TEXTURE_2D, texture_); in Render()
481 GLuint texture_; member in Graphics3DInstance
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
Dcube.cc382 glGenTextures(1, &texture_); in InitTexture()
383 glBindTexture(GL_TEXTURE_2D, texture_); in InitTexture()
422 glBindTexture(GL_TEXTURE_2D, texture_); in Render()
492 GLuint texture_; member in CubeInstance
/external/chromium_org/cc/layers/
Dtexture_layer_unittest.cc891 texture_(0u) { in TextureLayerNoMailboxIsActivatedDuringCommit()
918 texture_ = provider->UnboundTestContext3d()->createExternalTexture(); in CreateOutputSurface()
924 return texture_; in PrepareTexture()
1003 unsigned texture_; member in cc::__anon6c6d13890111::TextureLayerNoMailboxIsActivatedDuringCommit
1406 : texture_(0), in TextureLayerClientTest()
1414 texture_ = provider->UnboundTestContext3d()->createExternalTexture(); in CreateOutputSurface()
1418 virtual unsigned PrepareTexture() OVERRIDE { return texture_; } in PrepareTexture()
1499 unsigned texture_; member in cc::__anon6c6d13890111::TextureLayerClientTest
1523 : texture_(0u), in TextureLayerChangeInvisibleTest()
1531 texture_ = provider->UnboundTestContext3d()->createExternalTexture(); in CreateOutputSurface()
[all …]
/external/chromium_org/gpu/command_buffer/service/
Dtexture_manager.h422 const Texture* texture() const { return texture_; } in texture()
423 Texture* texture() { return texture_; } in texture()
425 GLuint service_id() const { return texture_->service_id(); } in service_id()
442 Texture* texture_; variable
Dtexture_manager.cc845 texture_(texture), in TextureRef()
849 DCHECK(texture_); in TextureRef()
850 texture_->AddTextureRef(this); in TextureRef()
862 texture_->RemoveTextureRef(this, manager_->have_context_); in ~TextureRef()
/external/chromium_org/content/common/gpu/client/
Dgl_helper.cc40 : texture_(context, context->createTexture()), in TextureFrameBufferPair()
44 texture_); in TextureFrameBufferPair()
60 texture_, in TextureFrameBufferPair()
64 WebGLId texture() const { return texture_.id(); } in texture()
69 content::ScopedTexture texture_; member in __anon9261eb060111::TextureFrameBufferPair
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest.cc1965 return texture_.get() ? texture_->have_backing_texture() : false; in HaveBackingTexture()
1973 if (texture_) in CreateTextureIfNeeded()
1975 texture_ = PrioritizedResource::Create( in CreateTextureIfNeeded()
1977 texture_->SetDimensions(gfx::Size(10, 10), RGBA_8888); in CreateTextureIfNeeded()
1982 scoped_ptr<PrioritizedResource> texture_; member in cc::__anone5ca78380111::EvictionTestLayer
2011 if (!texture_) in SetTexturePriorities()
2013 texture_->set_request_priority(PriorityCalculator::UIPriority(true)); in SetTexturePriorities()
2019 if (!texture_) in Update()
2024 texture_.get(), &bitmap_, full_rect, full_rect, gfx::Vector2d()); in Update()
2040 test_layer_impl->SetHasTexture(texture_->have_backing_texture()); in PushPropertiesTo()