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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('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 6778a831e48e1121fba25f2f5f25208fecbdeca8..75d826545246abad2e37ae427018f82aeb115ac5 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -47,7 +47,7 @@ class MockCommandBufferBase : public CommandBufferServiceBase {
// by CreateTransferBuffer. This is useful for testing expected ids.
int32 GetNextFreeTransferBufferId();
- void FlushHelper(int32 put_offset);
+ void FlushHelper(int32 put_offset, const std::vector<uint32>& sync_points);
void DestroyTransferBufferHelper(int32 id);
virtual void OnFlush() = 0;
@@ -69,7 +69,8 @@ class MockClientCommandBuffer : public MockCommandBufferBase {
MOCK_METHOD0(OnFlush, void());
MOCK_METHOD1(DestroyTransferBuffer, void(int32 id));
- virtual void Flush(int32 put_offset) override;
+ virtual void Flush(int32 put_offset,
+ const std::vector<uint32>& sync_points) override;
void DelegateToFake();
};
@@ -79,7 +80,8 @@ class MockClientCommandBufferMockFlush : public MockClientCommandBuffer {
MockClientCommandBufferMockFlush();
virtual ~MockClientCommandBufferMockFlush();
- MOCK_METHOD1(Flush, void(int32 put_offset));
+ MOCK_METHOD2(Flush,
+ void(int32 put_offset, const std::vector<uint32>& sync_points));
void DelegateToFake();
};
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/client_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698