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

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

Issue 1474873003: Add alpha argument to glResizeCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « cc/output/output_surface.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 const GLenum* attachments) override; 150 const GLenum* attachments) override;
151 void GenMailboxCHROMIUM(GLbyte* mailbox) override; 151 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
152 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 152 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
153 void ProduceTextureDirectCHROMIUM(GLuint texture, 153 void ProduceTextureDirectCHROMIUM(GLuint texture,
154 GLenum target, 154 GLenum target,
155 const GLbyte* mailbox) override; 155 const GLbyte* mailbox) override;
156 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override; 156 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
157 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, 157 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
158 const GLbyte* mailbox) override; 158 const GLbyte* mailbox) override;
159 159
160 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; 160 void ResizeCHROMIUM(GLuint width,
161 GLuint height,
162 float device_scale,
163 GLboolean has_alpha) override;
161 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 164 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
162 GLenum GetGraphicsResetStatusKHR() override; 165 GLenum GetGraphicsResetStatusKHR() override;
163 166
164 private: 167 private:
165 TestWebGraphicsContext3D* test_context_; 168 TestWebGraphicsContext3D* test_context_;
166 }; 169 };
167 170
168 } // namespace cc 171 } // namespace cc
169 172
170 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 173 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698