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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h

Issue 12213073: Re-land: Mark async texture uploads as completed from the upload thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h b/gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h
index 4f44f7ad62c3c1f7e86dd2244fddefcfbe636594..9e2b4b32db4187fbbb2ad8abacfaf6543d3f04ac 100644
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h
+++ b/gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h
@@ -32,8 +32,9 @@ class MockAsyncPixelTransferDelegate : public gfx::AsyncPixelTransferDelegate {
// Implement AsyncPixelTransferDelegate.
MOCK_METHOD1(CreateRawPixelTransferState,
gfx::AsyncPixelTransferState*(GLuint service_id));
- MOCK_METHOD1(AsyncNotifyCompletion,
- void(const base::Closure& task));
+ MOCK_METHOD2(AsyncNotifyCompletion,
+ void(const AsyncMemoryParams& mem_params,
+ uint32 submit_count));
epenner 2013/02/07 20:22:56 It was a bit unclear to me before what submit_coun
reveman 2013/02/07 21:30:52 this is what the query system uses for the value t
MOCK_METHOD3(AsyncTexImage2D,
void(gfx::AsyncPixelTransferState*,
const AsyncTexImage2DParams& tex_params,
« no previous file with comments | « no previous file | gpu/command_buffer/service/query_manager.h » ('j') | gpu/command_buffer/service/query_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698