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

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

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Update GLSurfaceAdapter Created 4 years, 3 months 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') | no next file with comments »
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 TestContextSupport(); 26 TestContextSupport();
27 ~TestContextSupport() override; 27 ~TestContextSupport() override;
28 28
29 // gpu::ContextSupport implementation. 29 // gpu::ContextSupport implementation.
30 void SignalSyncToken(const gpu::SyncToken& sync_token, 30 void SignalSyncToken(const gpu::SyncToken& sync_token,
31 const base::Closure& callback) override; 31 const base::Closure& callback) override;
32 void SignalQuery(uint32_t query, const base::Closure& callback) override; 32 void SignalQuery(uint32_t query, const base::Closure& callback) override;
33 void SetAggressivelyFreeResources(bool aggressively_free_resources) override; 33 void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
34 void Swap() override; 34 void Swap() override;
35 void SwapWithDamage(const gfx::Rect& damage) override;
35 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 36 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
36 void CommitOverlayPlanes() override; 37 void CommitOverlayPlanes() 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 void SetErrorMessageCallback( 44 void SetErrorMessageCallback(
44 const base::Callback<void(const char*, int32_t)>& callback) override; 45 const base::Callback<void(const char*, int32_t)>& callback) override;
(...skipping 21 matching lines...) Expand all
66 bool out_of_order_callbacks_; 67 bool out_of_order_callbacks_;
67 68
68 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_; 69 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(TestContextSupport); 71 DISALLOW_COPY_AND_ASSIGN(TestContextSupport);
71 }; 72 };
72 73
73 } // namespace cc 74 } // namespace cc
74 75
75 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_ 76 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/test_context_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698