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

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

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month 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/test/render_pass_test_utils.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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 GLsizei width, 130 GLsizei width,
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 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
141 GLuint InsertSyncPointCHROMIUM() override; 140 GLuint InsertSyncPointCHROMIUM() override;
142 141
142 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override;
143
143 void BeginQueryEXT(GLenum target, GLuint id) override; 144 void BeginQueryEXT(GLenum target, GLuint id) override;
144 void EndQueryEXT(GLenum target) override; 145 void EndQueryEXT(GLenum target) override;
145 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; 146 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
146 147
147 void DiscardFramebufferEXT(GLenum target, 148 void DiscardFramebufferEXT(GLenum target,
148 GLsizei count, 149 GLsizei count,
149 const GLenum* attachments) override; 150 const GLenum* attachments) override;
150 void GenMailboxCHROMIUM(GLbyte* mailbox) override; 151 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
151 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 152 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
152 void ProduceTextureDirectCHROMIUM(GLuint texture, 153 void ProduceTextureDirectCHROMIUM(GLuint texture,
153 GLenum target, 154 GLenum target,
154 const GLbyte* mailbox) override; 155 const GLbyte* mailbox) override;
155 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 156 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
156 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, 157 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
157 const GLbyte* mailbox) override; 158 const GLbyte* mailbox) override;
158 159
159 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; 160 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override;
160 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 161 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
161 GLenum GetGraphicsResetStatusKHR() override; 162 GLenum GetGraphicsResetStatusKHR() override;
162 163
163 private: 164 private:
164 TestWebGraphicsContext3D* test_context_; 165 TestWebGraphicsContext3D* test_context_;
165 }; 166 };
166 167
167 } // namespace cc 168 } // namespace cc
168 169
169 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 170 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698