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

Unified Diff: gpu/command_buffer/client/client_test_helper.h

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/client_test_helper.h
diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h
index 3b85773f3978b8f602098f4449ed93ad04530532..2c0ffd82967a52506f3f40093be861d6edee663a 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -124,6 +124,8 @@ class MockClientGpuControl : public GpuControl {
MOCK_METHOD2(SignalSyncToken, void(const SyncToken& sync_token,
const base::Closure& callback));
MOCK_METHOD1(CanWaitUnverifiedSyncToken, bool(const SyncToken*));
+ MOCK_METHOD1(CreateFence, int32_t(ClientFence fence));
+ MOCK_METHOD1(DestroyFence, void(int32_t id));
private:
DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl);

Powered by Google App Engine
This is Rietveld 408576698