Home
last modified time | relevance | path

Searched refs:compositor_ (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/content/browser/android/
Dcontent_view_render_view.cc64 compositor_->SetRootLayer(content_view->GetLayer()); in SetCurrentContentView()
66 compositor_->SetRootLayer(cc::Layer::Create()); in SetCurrentContentView()
72 compositor_->SetSurface(jsurface); in SurfaceCreated()
76 compositor_->SetSurface(NULL); in SurfaceDestroyed()
81 compositor_->SetWindowBounds(gfx::Size(width, height)); in SurfaceSetSize()
85 if (!compositor_) in Composite()
89 compositor_->Composite(); in Composite()
96 if (!compositor_ || bitmap.format() != ANDROID_BITMAP_FORMAT_RGBA_8888) in CompositeToBitmap()
98 return compositor_->CompositeAndReadback(bitmap.pixels(), in CompositeToBitmap()
117 if (!compositor_) in InitCompositor()
[all …]
Dcontent_view_render_view.h50 scoped_ptr<content::Compositor> compositor_; variable
/external/chromium_org/ui/compositor/test/
Dtest_compositor_host_ozone.cc33 scoped_ptr<ui::Compositor> compositor_; member in ui::TestCompositorHostOzone
51 compositor_.reset(new ui::Compositor(1)); in Show()
52 compositor_->SetScaleAndSize(1.0f, bounds_.size()); in Show()
56 return compositor_.get(); in GetCompositor()
60 if (compositor_.get()) in Draw()
61 compositor_->Draw(); in Draw()
Dtest_compositor_host_x11.cc36 scoped_ptr<ui::Compositor> compositor_; member in ui::TestCompositorHostX11
72 compositor_.reset(new ui::Compositor(window_)); in Show()
73 compositor_->SetScaleAndSize(1.0f, bounds_.size()); in Show()
77 return compositor_.get(); in GetCompositor()
81 if (compositor_.get()) in Draw()
82 compositor_->Draw(); in Draw()
Dtest_compositor_host_win.cc19 compositor_.reset(new ui::Compositor(hwnd())); in TestCompositorHostWin()
20 compositor_->SetScaleAndSize(1.0f, GetSize()); in TestCompositorHostWin()
32 return compositor_.get(); in GetCompositor()
41 compositor_->Draw(); in MSG_WM_PAINT()
51 scoped_ptr<ui::Compositor> compositor_; member in ui::TestCompositorHostWin
Dtest_compositor_host_mac.mm22 ui::Compositor* compositor_; field
37 compositor_ = compositor;
41 DCHECK(compositor_) << "Drawing with no compositor set.";
42 compositor_->Draw();
93 scoped_ptr<ui::Compositor> compositor_;
106 // Release reference to |compositor_|. Important because the |compositor_|
127 compositor_.reset(new ui::Compositor(view, bounds_.size()));
128 [view setCompositor:compositor_.get()];
134 return compositor_.get();
/external/chromium_org/content/renderer/
Drender_view_impl_android.cc32 LOG_IF(WARNING, !compositor_) << "OnUpdateTopControlsState was unhandled."; in OnUpdateTopControlsState()
33 if (compositor_) { in OnUpdateTopControlsState()
40 compositor_->UpdateTopControlsState(constraints, current, animate); in OnUpdateTopControlsState()
51 if (compositor_) in UpdateTopControlsState()
52 compositor_->UpdateTopControlsState(constraints_cc, current_cc, animate); in UpdateTopControlsState()
59 if (compositor_) { in didScrollWithKeyboard()
61 compositor_->UpdateTopControlsState(top_controls_constraints_, in didScrollWithKeyboard()
Drender_widget.cc312 if (widget_->compositor_) in OnResizeMessage()
313 widget_->compositor_->SetNeedsRedrawRect(gfx::Rect(widget_->size_)); in OnResizeMessage()
485 if (compositor_) { in CompleteInit()
486 compositor_->setSurfaceReady(); in CompleteInit()
566 if (compositor_) { in ScheduleCompositeWithForcedRedraw()
571 compositor_->SetNeedsForcedRedraw(); in ScheduleCompositeWithForcedRedraw()
653 if (compositor_) { in Resize()
654 compositor_->setViewportSize(new_size, physical_backing_size); in Resize()
655 compositor_->SetOverdrawBottomHeight(overdraw_bottom_height); in Resize()
808 if (compositor_) in OnWasShown()
[all …]
Drender_widget_fullscreen_pepper.cc415 compositor_->setDeviceScaleFactor(device_scale_factor_); in SetLayer()
416 compositor_->setRootLayer(*layer_); in SetLayer()
493 if (compositor_) in SetDeviceScaleFactor()
494 compositor_->setDeviceScaleFactor(device_scale_factor); in SetDeviceScaleFactor()
/external/chromium_org/android_webview/browser/
Din_process_view_renderer.cc296 compositor_(NULL), in InProcessViewRenderer()
344 compositor_ = NULL; in WebContentsGone()
397 if (!attached_to_window_ || !hardware_initialized_ || !compositor_) in TrimMemory()
438 compositor_->SetMemoryPolicy(memory_policy_); in SetMemoryPolicy()
454 return compositor_ && client_->RequestDrawGL(java_canvas); in OnDraw()
468 hardware_failed_ = !compositor_->InitializeHwDraw(gl_surface_); in InitializeHwDraw()
508 if (compositor_ && !hardware_initialized_) { in DrawGL()
533 if (!compositor_) { in DrawGL()
582 compositor_->DemandDrawHw(gfx::Size(draw_info->width, draw_info->height), in DrawGL()
606 if (!compositor_) { in DrawSWInternal()
[all …]
Din_process_view_renderer.h131 content::SynchronousCompositor* compositor_; variable
/external/chromium_org/content/browser/aura/
Dsoftware_output_device_ozone.cc16 : compositor_(compositor), realized_widget_(gfx::kNullAcceleratedWidget) { in SoftwareOutputDeviceOzone()
22 realized_widget_ = factory->RealizeAcceleratedWidget(compositor_->widget()); in SoftwareOutputDeviceOzone()
41 factory->AttemptToResizeAcceleratedWidget(compositor_->widget(), in Resize()
69 compositor_->widget()); in EndPaint()
Dsoftware_browser_compositor_output_surface_unittest.cc73 scoped_ptr<ui::Compositor> compositor_; member in SoftwareBrowserCompositorOutputSurfaceTest
94 compositor_.reset(new ui::Compositor(gfx::kNullAcceleratedWidget)); in SetUp()
101 compositor_.reset(); in TearDown()
119 compositor_->GetCompositorMessageLoop(), in CreateSurface()
120 compositor_->AsWeakPtr())); in CreateSurface()
Dsoftware_output_device_ozone_unittest.cc75 scoped_ptr<ui::Compositor> compositor_; member in SoftwareOutputDeviceOzoneTest
98 compositor_.reset(new ui::Compositor( in SetUp()
100 compositor_->SetScaleAndSize(1.0f, size); in SetUp()
103 compositor_.get())); in SetUp()
109 compositor_.reset(); in TearDown()
Dsoftware_output_device_x11.cc18 : compositor_(compositor), in SoftwareOutputDeviceX11()
25 gc_ = XCreateGC(display_, compositor_->widget(), 0, NULL); in SoftwareOutputDeviceX11()
81 XPutImage(display_, compositor_->widget(), gc_, image_, in EndPaint()
Dbrowser_compositor_output_surface.cc29 compositor_(compositor) { in BrowserCompositorOutputSurface()
43 compositor_(compositor) { in BrowserCompositorOutputSurface()
99 compositor_, timebase, interval)); in OnUpdateVSyncParameters()
Dsoftware_output_device_x11.h30 ui::Compositor* compositor_; variable
Dsoftware_output_device_ozone.h32 ui::Compositor* compositor_;
Dbrowser_compositor_output_surface.h63 base::WeakPtr<ui::Compositor> compositor_; variable
/external/chromium_org/ui/aura/bench/
Dbench_main.cc181 compositor_(compositor), in WebGLBench()
227 compositor_->RemoveObserver(this); in ~WebGLBench()
239 compositor_->ScheduleDraw(); in Draw()
245 Compositor* compositor_; member in __anon587f39e10111::WebGLBench
266 compositor_(compositor) { in SoftwareScrollBench()
273 compositor_->RemoveObserver(this); in ~SoftwareScrollBench()
284 Compositor* compositor_; member in __anon587f39e10111::SoftwareScrollBench
/external/chromium_org/ui/compositor/
Dlayer.cc48 compositor_(NULL), in Layer()
72 compositor_(NULL), in Layer()
101 if (compositor_) in ~Layer()
102 compositor_->SetRootLayer(NULL); in ~Layer()
116 return GetRoot(this)->compositor_; in GetCompositor()
126 DCHECK(!compositor || !compositor_); in SetCompositor()
129 compositor_ = compositor; in SetCompositor()
137 DCHECK(!child->compositor_); in Add()
Dcompositor.cc100 : compositor_(compositor) { in CompositorLock()
112 if (!compositor_) in CancelLock()
114 compositor_->UnlockCompositor(); in CancelLock()
115 compositor_ = NULL; in CancelLock()
/external/chromium_org/content/renderer/gpu/
Dgpu_benchmarking_extension.cc187 compositor_(NULL) {} in GpuBenchmarkingContext()
210 compositor_ = render_view_impl_->compositor(); in Init()
211 if (!compositor_) { in Init()
234 DCHECK(compositor_ != NULL); in compositor()
235 return compositor_; in compositor()
242 RenderWidgetCompositor* compositor_; member in content::__anoneeb64ce40211::GpuBenchmarkingContext
/external/chromium_org/ui/aura/
Droot_window.cc168 compositor_.reset(new ui::Compositor(host_->GetAcceleratedWidget())); in RootWindow()
169 DCHECK(compositor_.get()); in RootWindow()
184 compositor_.reset(); in ~RootWindow()
319 compositor_->ScheduleRedrawRect(damage_rect); in ScheduleRedrawRect()
826 compositor_->ScheduleRedrawRect(damage_rect); in OnHostPaint()
846 compositor_->SetScaleAndSize(GetDeviceScaleFactorFromDisplay(window()), size); in OnHostResized()
Droot_window.h91 ui::Compositor* compositor() { return compositor_.get(); } in compositor()
352 scoped_ptr<ui::Compositor> compositor_; variable

12