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

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

Issue 24925002: Move Insert/SignalSyncPoint() to GpuControl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase past r226145 Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | gpu/command_buffer/client/client_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 311957834e22a1ee075d8a12ec5f24dee7bd57a9..6de4356057fd0b2032d0a91440e87be4c5202935 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -39,7 +39,6 @@ class MockCommandBufferBase : public CommandBuffer {
virtual void SetToken(int32 token) OVERRIDE;
virtual void SetParseError(error::Error error) OVERRIDE;
virtual void SetContextLostReason(error::ContextLostReason reason) OVERRIDE;
- virtual uint32 InsertSyncPoint() OVERRIDE;
// Get's the Id of the next transfer buffer that will be returned
// by CreateTransferBuffer. This is useful for testing expected ids.
@@ -96,6 +95,9 @@ class MockClientGpuControl : public GpuControl {
MOCK_METHOD1(DestroyGpuMemoryBuffer, void(int32 id));
MOCK_METHOD2(GenerateMailboxNames, bool(unsigned num,
std::vector<gpu::Mailbox>* names));
+ MOCK_METHOD0(InsertSyncPoint, uint32());
+ MOCK_METHOD2(SignalSyncPoint, void(uint32 id,
+ const base::Closure& callback));
private:
DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl);
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | gpu/command_buffer/client/client_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698