Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: cc/test/test_context_support.h

Issue 1477593002: gpu: Initial implementation of CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-cop-command
Patch Set: typo Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/test/test_context_support.cc » ('j') | ui/gl/gl_surface_egl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_TEST_CONTEXT_SUPPORT_H_ 5 #ifndef CC_TEST_TEST_CONTEXT_SUPPORT_H_
6 #define CC_TEST_TEST_CONTEXT_SUPPORT_H_ 6 #define CC_TEST_TEST_CONTEXT_SUPPORT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 14 matching lines...) Expand all
25 // gpu::ContextSupport implementation. 25 // gpu::ContextSupport implementation.
26 void SignalSyncPoint(uint32 sync_point, 26 void SignalSyncPoint(uint32 sync_point,
27 const base::Closure& callback) override; 27 const base::Closure& callback) override;
28 void SignalSyncToken(const gpu::SyncToken& sync_token, 28 void SignalSyncToken(const gpu::SyncToken& sync_token,
29 const base::Closure& callback) override; 29 const base::Closure& callback) override;
30 void SignalQuery(uint32 query, const base::Closure& callback) override; 30 void SignalQuery(uint32 query, const base::Closure& callback) override;
31 void SetSurfaceVisible(bool visible) override; 31 void SetSurfaceVisible(bool visible) override;
32 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; 32 void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
33 void Swap() override; 33 void Swap() override;
34 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 34 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
35 void CommitOverlayPlanes() override;
35 uint32 InsertFutureSyncPointCHROMIUM() override; 36 uint32 InsertFutureSyncPointCHROMIUM() override;
36 void RetireSyncPointCHROMIUM(uint32 sync_point) override; 37 void RetireSyncPointCHROMIUM(uint32 sync_point) override;
37 void ScheduleOverlayPlane(int plane_z_order, 38 void ScheduleOverlayPlane(int plane_z_order,
38 gfx::OverlayTransform plane_transform, 39 gfx::OverlayTransform plane_transform,
39 unsigned overlay_texture_id, 40 unsigned overlay_texture_id,
40 const gfx::Rect& display_bounds, 41 const gfx::Rect& display_bounds,
41 const gfx::RectF& uv_rect) override; 42 const gfx::RectF& uv_rect) override;
42 uint64_t ShareGroupTracingGUID() const override; 43 uint64_t ShareGroupTracingGUID() const override;
43 44
44 void CallAllSyncPointCallbacks(); 45 void CallAllSyncPointCallbacks();
(...skipping 24 matching lines...) Expand all
69 bool out_of_order_callbacks_; 70 bool out_of_order_callbacks_;
70 71
71 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_; 72 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(TestContextSupport); 74 DISALLOW_COPY_AND_ASSIGN(TestContextSupport);
74 }; 75 };
75 76
76 } // namespace cc 77 } // namespace cc
77 78
78 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_ 79 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/test_context_support.cc » ('j') | ui/gl/gl_surface_egl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698