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

Side by Side Diff: gpu/command_buffer/client/client_test_helper.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/client/gl_in_process_context.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Helper classes for implementing gpu client side unit tests. 5 // Helper classes for implementing gpu client side unit tests.
6 6
7 #ifndef GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_ 7 #ifndef GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_
8 #define GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_ 8 #define GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 size_t height, 103 size_t height,
104 unsigned internalformat, 104 unsigned internalformat,
105 unsigned usage)); 105 unsigned usage));
106 MOCK_METHOD0(InsertSyncPoint, uint32()); 106 MOCK_METHOD0(InsertSyncPoint, uint32());
107 MOCK_METHOD0(InsertFutureSyncPoint, uint32()); 107 MOCK_METHOD0(InsertFutureSyncPoint, uint32());
108 MOCK_METHOD1(RetireSyncPoint, void(uint32 id)); 108 MOCK_METHOD1(RetireSyncPoint, void(uint32 id));
109 MOCK_METHOD2(SignalSyncPoint, void(uint32 id, const base::Closure& callback)); 109 MOCK_METHOD2(SignalSyncPoint, void(uint32 id, const base::Closure& callback));
110 MOCK_METHOD2(SignalQuery, void(uint32 query, const base::Closure& callback)); 110 MOCK_METHOD2(SignalQuery, void(uint32 query, const base::Closure& callback));
111 MOCK_METHOD1(SetSurfaceVisible, void(bool visible)); 111 MOCK_METHOD1(SetSurfaceVisible, void(bool visible));
112 MOCK_METHOD1(CreateStreamTexture, uint32(uint32)); 112 MOCK_METHOD1(CreateStreamTexture, uint32(uint32));
113 MOCK_METHOD1(SetLock, void(base::Lock*));
113 114
114 private: 115 private:
115 DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl); 116 DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl);
116 }; 117 };
117 118
118 } // namespace gpu 119 } // namespace gpu
119 120
120 #endif // GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_ 121 #endif // GPU_COMMAND_BUFFER_CLIENT_CLIENT_TEST_HELPER_H_
121 122
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/client/gl_in_process_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698