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

Side by Side Diff: cc/test/test_gles2_interface.h

Issue 1479673003: Verify resource provider sync tokens before sending to parent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test so it doesn't expect dummy fence sync Created 4 years, 11 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 | « cc/resources/resource_provider_unittest.cc ('k') | cc/test/test_gles2_interface.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_
6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_
7 7
8 #include "gpu/command_buffer/client/gles2_interface_stub.h" 8 #include "gpu/command_buffer/client/gles2_interface_stub.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 GLsizei height) override; 131 GLsizei height) override;
132 132
133 void* MapBufferCHROMIUM(GLuint target, GLenum access) override; 133 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
134 GLboolean UnmapBufferCHROMIUM(GLuint target) override; 134 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
135 void BufferData(GLenum target, 135 void BufferData(GLenum target,
136 GLsizeiptr size, 136 GLsizeiptr size,
137 const void* data, 137 const void* data,
138 GLenum usage) override; 138 GLenum usage) override;
139 139
140 GLuint InsertSyncPointCHROMIUM() override; 140 GLuint InsertSyncPointCHROMIUM() override;
141 141 GLuint64 InsertFenceSyncCHROMIUM() override;
142 void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override;
143 void GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync,
144 GLbyte* sync_token) override;
145 void VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, GLsizei count) override;
142 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override; 146 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override;
143 147
144 void BeginQueryEXT(GLenum target, GLuint id) override; 148 void BeginQueryEXT(GLenum target, GLuint id) override;
145 void EndQueryEXT(GLenum target) override; 149 void EndQueryEXT(GLenum target) override;
146 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; 150 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
147 151
148 void DiscardFramebufferEXT(GLenum target, 152 void DiscardFramebufferEXT(GLenum target,
149 GLsizei count, 153 GLsizei count,
150 const GLenum* attachments) override; 154 const GLenum* attachments) override;
151 void GenMailboxCHROMIUM(GLbyte* mailbox) override; 155 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
(...skipping 12 matching lines...) Expand all
164 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 168 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
165 GLenum GetGraphicsResetStatusKHR() override; 169 GLenum GetGraphicsResetStatusKHR() override;
166 170
167 private: 171 private:
168 TestWebGraphicsContext3D* test_context_; 172 TestWebGraphicsContext3D* test_context_;
169 }; 173 };
170 174
171 } // namespace cc 175 } // namespace cc
172 176
173 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698