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

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

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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/test/pixel_test.h ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void Flush() override; 57 void Flush() override;
58 void Finish() override; 58 void Finish() override;
59 void ShallowFlushCHROMIUM() override; 59 void ShallowFlushCHROMIUM() override;
60 void Enable(GLenum cap) override; 60 void Enable(GLenum cap) override;
61 void Disable(GLenum cap) override; 61 void Disable(GLenum cap) override;
62 62
63 void BindBuffer(GLenum target, GLuint buffer) override; 63 void BindBuffer(GLenum target, GLuint buffer) override;
64 void BindRenderbuffer(GLenum target, GLuint buffer) override; 64 void BindRenderbuffer(GLenum target, GLuint buffer) override;
65 void BindFramebuffer(GLenum target, GLuint buffer) override; 65 void BindFramebuffer(GLenum target, GLuint buffer) override;
66 66
67 void PixelStorei(GLenum pname, GLint param) override;
68
67 void TexImage2D(GLenum target, 69 void TexImage2D(GLenum target,
68 GLint level, 70 GLint level,
69 GLint internalformat, 71 GLint internalformat,
70 GLsizei width, 72 GLsizei width,
71 GLsizei height, 73 GLsizei height,
72 GLint border, 74 GLint border,
73 GLenum format, 75 GLenum format,
74 GLenum type, 76 GLenum type,
75 const void* pixels) override; 77 const void* pixels) override;
76 void TexSubImage2D(GLenum target, 78 void TexSubImage2D(GLenum target,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; 177 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override;
176 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 178 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
177 179
178 private: 180 private:
179 TestWebGraphicsContext3D* test_context_; 181 TestWebGraphicsContext3D* test_context_;
180 }; 182 };
181 183
182 } // namespace cc 184 } // namespace cc
183 185
184 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 186 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/test/pixel_test.h ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698