Home
last modified time | relevance | path

Searched refs:compositor (Results 1 – 25 of 187) sorted by relevance

12345678

/external/chromium_org/ui/compositor/test/
Ddraw_waiter_for_test.cc12 void DrawWaiterForTest::Wait(Compositor* compositor) { in Wait() argument
15 waiter.WaitImpl(compositor); in Wait()
19 void DrawWaiterForTest::WaitForCommit(Compositor* compositor) { in WaitForCommit() argument
22 waiter.WaitImpl(compositor); in WaitForCommit()
29 void DrawWaiterForTest::WaitImpl(Compositor* compositor) { in WaitImpl() argument
30 compositor->AddObserver(this); in WaitImpl()
33 compositor->RemoveObserver(this); in WaitImpl()
36 void DrawWaiterForTest::OnCompositingDidCommit(Compositor* compositor) { in OnCompositingDidCommit() argument
41 void DrawWaiterForTest::OnCompositingStarted(Compositor* compositor, in OnCompositingStarted() argument
44 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) { in OnCompositingEnded() argument
[all …]
Ddraw_waiter_for_test.h23 static void Wait(Compositor* compositor);
26 static void WaitForCommit(Compositor* compositor);
32 void WaitImpl(Compositor* compositor);
35 virtual void OnCompositingDidCommit(Compositor* compositor) OVERRIDE;
36 virtual void OnCompositingStarted(Compositor* compositor,
38 virtual void OnCompositingEnded(Compositor* compositor) OVERRIDE;
39 virtual void OnCompositingAborted(Compositor* compositor) OVERRIDE;
40 virtual void OnCompositingLockStateChanged(Compositor* compositor) OVERRIDE;
Dtest_compositor_host_mac.mm5 #include "ui/compositor/test/test_compositor_host.h"
16 #include "ui/compositor/compositor.h"
26 -(void)setCompositor:(ui::Compositor*)compositor;
36 -(void)setCompositor:(ui::Compositor*)compositor {
37 compositor_ = compositor;
41 DCHECK(compositor_) << "Drawing with no compositor set.";
79 // TestCompositorHostMac provides a window surface and a coordinated compositor
80 // for use in the compositor unit tests.
/external/chromium_org/ppapi/tests/
Dtest_compositor.cc109 pp::Compositor compositor = pp::Compositor(instance_); in TestBindUnbind() local
110 ASSERT_FALSE(compositor.is_null()); in TestBindUnbind()
113 pp::CompositorLayer color_layer = compositor.AddLayer(); in TestBindUnbind()
120 pp::CompositorLayer texture_layer = compositor.AddLayer(); in TestBindUnbind()
130 pp::CompositorLayer image_layer = compositor.AddLayer(); in TestBindUnbind()
139 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); in TestBindUnbind()
144 ASSERT_TRUE(instance_->BindGraphics(compositor)); in TestBindUnbind()
145 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); in TestBindUnbind()
151 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); in TestBindUnbind()
156 ASSERT_EQ(PP_OK, compositor.ResetLayers()); in TestBindUnbind()
[all …]
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_input_event_filter.cc53 SynchronousCompositorImpl* compositor = in DidAddInputHandler() local
55 if (compositor) in DidAddInputHandler()
56 compositor->SetInputHandler(input_handler); in DidAddInputHandler()
62 SynchronousCompositorImpl* compositor = in DidRemoveInputHandler() local
64 if (compositor) in DidRemoveInputHandler()
65 compositor->SetInputHandler(NULL); in DidRemoveInputHandler()
73 SynchronousCompositorImpl* compositor = in DidOverscroll() local
75 if (compositor) in DidOverscroll()
76 compositor->DidOverscroll(params); in DidOverscroll()
82 SynchronousCompositorImpl* compositor = in DidStopFlinging() local
[all …]
/external/chromium_org/ash/
Ddebug.cc21 ui::Compositor* compositor = (*it)->GetHost()->compositor(); in ToggleShowDebugBorders() local
22 cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState(); in ToggleShowDebugBorders()
26 compositor->SetLayerTreeDebugState(state); in ToggleShowDebugBorders()
36 ui::Compositor* compositor = (*it)->GetHost()->compositor(); in ToggleShowFpsCounter() local
37 cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState(); in ToggleShowFpsCounter()
41 compositor->SetLayerTreeDebugState(state); in ToggleShowFpsCounter()
51 ui::Compositor* compositor = (*it)->GetHost()->compositor(); in ToggleShowPaintRects() local
52 cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState(); in ToggleShowPaintRects()
56 compositor->SetLayerTreeDebugState(state); in ToggleShowPaintRects()
/external/chromium_org/content/browser/compositor/
Dgpu_process_transport_factory.cc102 ui::Compositor* compositor) { in CreateSoftwareOutputDevice() argument
105 compositor)); in CreateSoftwareOutputDevice()
108 compositor)); in CreateSoftwareOutputDevice()
111 compositor)); in CreateSoftwareOutputDevice()
114 new SoftwareOutputDeviceMac(compositor)); in CreateSoftwareOutputDevice()
136 ui::Compositor* compositor, bool software_fallback) { in CreateOutputSurface() argument
137 PerCompositorData* data = per_compositor_data_[compositor]; in CreateOutputSurface()
139 data = CreatePerCompositorData(compositor); in CreateOutputSurface()
146 if (::GetProp(compositor->widget(), kForceSoftwareCompositor)) { in CreateOutputSurface()
147 if (::RemoveProp(compositor->widget(), kForceSoftwareCompositor)) in CreateOutputSurface()
[all …]
Dsoftware_output_device_mac.mm7 #include "content/browser/compositor/software_output_device_mac.h"
9 #include "content/browser/compositor/browser_compositor_view_mac.h"
10 #include "ui/compositor/compositor.h"
14 SoftwareOutputDeviceMac::SoftwareOutputDeviceMac(ui::Compositor* compositor)
15 : compositor_(compositor) {
Ddelegated_frame_host.cc63 ui::Compositor* compositor = client_->GetCompositor(); in WasShown() local
64 if (compositor) in WasShown()
65 released_front_lock_ = compositor->GetCompositorLock(); in WasShown()
80 ui::Compositor* compositor = client_->GetCompositor(); in MaybeCreateResizeLock() local
81 if (!compositor->HasObserver(this)) in MaybeCreateResizeLock()
82 compositor->AddObserver(this); in MaybeCreateResizeLock()
107 ui::Compositor* compositor = client_->GetCompositor(); in ShouldCreateResizeLock() local
108 if (!compositor) in ShouldCreateResizeLock()
244 ui::Compositor* compositor = client_->GetCompositor(); in CheckResizeLock() local
245 if (compositor) { in CheckResizeLock()
[all …]
Ddelegated_frame_host.h113 void OnCompositingDidCommitForTesting(ui::Compositor* compositor) { in OnCompositingDidCommitForTesting() argument
114 OnCompositingDidCommit(compositor); in OnCompositingDidCommitForTesting()
137 virtual void OnCompositingDidCommit(ui::Compositor* compositor) OVERRIDE;
138 virtual void OnCompositingStarted(ui::Compositor* compositor,
140 virtual void OnCompositingEnded(ui::Compositor* compositor) OVERRIDE;
141 virtual void OnCompositingAborted(ui::Compositor* compositor) OVERRIDE;
143 ui::Compositor* compositor) OVERRIDE;
/external/chromium_org/ppapi/api/
Dppb_compositor.idl14 * <code>PPB_CompositorLayer</code> layers to the Chromium compositor for
26 * PP_Resource compositor;
27 * compositor = compositor_if->Create(instance);
28 * instance_if->BindGraphics(instance, compositor);
33 * PP_Resource color_layer = compositor_if->AddLayer(compositor);
34 * PP_Resource texture_layer = compositor_if->AddLayer(compositor);
50 * compositor_if->CommitLayers(compositor, callback);
65 * core->ReleaseResource(compositor);
71 * Determines if a resource is a compositor resource.
76 * resource is a compositor resource or <code>PP_FALSE</code> otherwise.
[all …]
Dppb_compositor_layer.idl47 * Determines if a resource is a compositor layer resource.
52 * resource is a compositor layer resource or <code>PP_FALSE</code>
63 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
92 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
100 * the texture is released by Chromium compositor.
118 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
125 * the image data is released by Chromium compositor.
135 * Sets a clip rectangle for a compositor layer. The Chromium compositor
139 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
152 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
[all …]
/external/chromium_org/content/renderer/media/
Dvideo_frame_compositor_unittest.cc35 VideoFrameCompositor* compositor() { return compositor_.get(); } in compositor() function in content::VideoFrameCompositorTest
72 EXPECT_FALSE(compositor()->GetCurrentFrame()); in TEST_F()
80 compositor()->UpdateCurrentFrame(expected); in TEST_F()
81 scoped_refptr<VideoFrame> actual = compositor()->GetCurrentFrame(); in TEST_F()
101 compositor()->UpdateCurrentFrame(initial_frame); in TEST_F()
107 compositor()->UpdateCurrentFrame(larger_frame); in TEST_F()
112 compositor()->UpdateCurrentFrame(larger_frame); in TEST_F()
118 compositor()->UpdateCurrentFrame(initial_frame); in TEST_F()
123 compositor()->UpdateCurrentFrame(initial_frame); in TEST_F()
142 compositor()->UpdateCurrentFrame(not_opaque_frame); in TEST_F()
[all …]
/external/chromium_org/ui/aura/
Daura.gyp19 '../compositor/compositor.gyp:compositor',
148 '../compositor/compositor.gyp:compositor_test_support',
200 '../compositor/compositor.gyp:compositor',
201 '../compositor/compositor.gyp:compositor_test_support',
234 '../compositor/compositor.gyp:compositor',
235 '../compositor/compositor.gyp:compositor_test_support',
265 '../compositor/compositor.gyp:compositor',
266 '../compositor/compositor.gyp:compositor_test_support',
/external/chromium_org/ui/compositor/
Dcompositor_observer.h25 virtual void OnCompositingDidCommit(Compositor* compositor) = 0;
29 virtual void OnCompositingStarted(Compositor* compositor,
33 virtual void OnCompositingEnded(Compositor* compositor) = 0;
36 virtual void OnCompositingAborted(Compositor* compositor) = 0;
39 virtual void OnCompositingLockStateChanged(Compositor* compositor) = 0;
/external/chromium_org/ppapi/thunk/
Dppb_compositor_thunk.cc34 PP_Resource AddLayer(PP_Resource compositor) { in AddLayer() argument
36 EnterResource<PPB_Compositor_API> enter(compositor, true); in AddLayer()
42 int32_t CommitLayers(PP_Resource compositor, struct PP_CompletionCallback cc) { in CommitLayers() argument
44 EnterResource<PPB_Compositor_API> enter(compositor, cc, true); in CommitLayers()
50 int32_t ResetLayers(PP_Resource compositor) { in ResetLayers() argument
52 EnterResource<PPB_Compositor_API> enter(compositor, true); in ResetLayers()
/external/chromium_org/ui/snapshot/
Dsnapshot.gyp54 '../compositor/compositor.gyp:compositor',
82 '../compositor/compositor.gyp:compositor',
83 '../compositor/compositor.gyp:compositor_test_support',
/external/chromium_org/ui/keyboard/
Dkeyboard.gyp47 '../compositor/compositor.gyp:compositor',
89 '../compositor/compositor.gyp:compositor',
90 '../compositor/compositor.gyp:compositor_test_support',
/external/chromium_org/ui/aura/bench/
Dbench_main.cc97 virtual void OnCompositingDidCommit(ui::Compositor* compositor) OVERRIDE {} in OnCompositingDidCommit() argument
99 virtual void OnCompositingStarted(Compositor* compositor, in OnCompositingStarted() argument
102 virtual void OnCompositingEnded(Compositor* compositor) OVERRIDE { in OnCompositingEnded() argument
121 virtual void OnCompositingAborted(Compositor* compositor) OVERRIDE {} in OnCompositingAborted() argument
124 Compositor* compositor) OVERRIDE {} in OnCompositingLockStateChanged() argument
153 Compositor* compositor, in WebGLBench() argument
158 compositor_(compositor), in WebGLBench()
219 compositor->AddObserver(this); in WebGLBench()
259 Compositor* compositor, in SoftwareScrollBench() argument
263 compositor_(compositor) { in SoftwareScrollBench()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_compositor.h118 vl_compositor_init(struct vl_compositor *compositor, struct pipe_context *pipe);
186 struct vl_compositor *compositor,
198 struct vl_compositor *compositor,
211 struct vl_compositor *compositor,
225 struct vl_compositor *compositor,
233 vl_compositor_cleanup(struct vl_compositor *compositor);
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.h118 vl_compositor_init(struct vl_compositor *compositor, struct pipe_context *pipe);
186 struct vl_compositor *compositor,
198 struct vl_compositor *compositor,
211 struct vl_compositor *compositor,
225 struct vl_compositor *compositor,
233 vl_compositor_cleanup(struct vl_compositor *compositor);
/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c282 struct vl_compositor *compositor; in vlVdpOutputSurfacePutBitsIndexed() local
300 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsIndexed()
391 vl_compositor_set_palette_layer(cstate, compositor, 0, sv_idx, sv_tbl, NULL, NULL, false); in vlVdpOutputSurfacePutBitsIndexed()
393 vl_compositor_render(cstate, compositor, vlsurface->surface, NULL); in vlVdpOutputSurfacePutBitsIndexed()
421 struct vl_compositor *compositor; in vlVdpOutputSurfacePutBitsYCbCr() local
438 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsYCbCr()
497 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr()
499 vl_compositor_render(cstate, compositor, vlsurface->surface, NULL); in vlVdpOutputSurfacePutBitsYCbCr()
635 struct vl_compositor *compositor; in vlVdpOutputSurfaceRenderOutputSurface() local
658 compositor = &dst_vlsurface->device->compositor; in vlVdpOutputSurfaceRenderOutputSurface()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Doutput.c282 struct vl_compositor *compositor; in vlVdpOutputSurfacePutBitsIndexed() local
300 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsIndexed()
391 vl_compositor_set_palette_layer(cstate, compositor, 0, sv_idx, sv_tbl, NULL, NULL, false); in vlVdpOutputSurfacePutBitsIndexed()
393 vl_compositor_render(cstate, compositor, vlsurface->surface, NULL); in vlVdpOutputSurfacePutBitsIndexed()
421 struct vl_compositor *compositor; in vlVdpOutputSurfacePutBitsYCbCr() local
438 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsYCbCr()
497 vl_compositor_set_buffer_layer(cstate, compositor, 0, vbuffer, NULL, NULL, VL_COMPOSITOR_WEAVE); in vlVdpOutputSurfacePutBitsYCbCr()
499 vl_compositor_render(cstate, compositor, vlsurface->surface, NULL); in vlVdpOutputSurfacePutBitsYCbCr()
635 struct vl_compositor *compositor; in vlVdpOutputSurfaceRenderOutputSurface() local
658 compositor = &dst_vlsurface->device->compositor; in vlVdpOutputSurfaceRenderOutputSurface()
[all …]
/external/chromium_org/ppapi/c/
Dppb_compositor.h120 PP_Resource (*AddLayer)(PP_Resource compositor);
131 int32_t (*CommitLayers)(PP_Resource compositor,
141 int32_t (*ResetLayers)(PP_Resource compositor);
/external/chromium_org/mojo/aura/
Dcontext_factory_mojo.cc26 explicit SoftwareOutputDeviceViewManager(ui::Compositor* compositor) in SoftwareOutputDeviceViewManager() argument
27 : compositor_(compositor) { in SoftwareOutputDeviceViewManager()
102 ui::Compositor* compositor, in CreateOutputSurface() argument
105 new SoftwareOutputDeviceViewManager(compositor)); in CreateOutputSurface()
124 void ContextFactoryMojo::RemoveCompositor(ui::Compositor* compositor) {} in RemoveCompositor() argument

12345678