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

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

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments. Created 5 years, 9 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const void* pixels) override; 116 const void* pixels) override;
117 void CompressedTexImage2D(GLenum target, 117 void CompressedTexImage2D(GLenum target,
118 GLint level, 118 GLint level,
119 GLenum internalformat, 119 GLenum internalformat,
120 GLsizei width, 120 GLsizei width,
121 GLsizei height, 121 GLsizei height,
122 GLint border, 122 GLint border,
123 GLsizei image_size, 123 GLsizei image_size,
124 const void* data) override; 124 const void* data) override;
125 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override; 125 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
126 GLuint CreateImageCHROMIUM(ClientBuffer buffer, 126 GLuint CreateImageCHROMIUM(ClientBuffer* buffers,
127 GLsizei width, 127 GLsizei width,
128 GLsizei height, 128 GLsizei height,
129 GLenum internalformat) override; 129 GLenum internalformat) override;
130 void DestroyImageCHROMIUM(GLuint image_id) override; 130 void DestroyImageCHROMIUM(GLuint image_id) override;
131 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, 131 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
132 GLsizei height, 132 GLsizei height,
133 GLenum internalformat, 133 GLenum internalformat,
134 GLenum usage) override; 134 GLenum usage) override;
135 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 135 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
136 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 136 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override; 177 void ResizeCHROMIUM(GLuint width, GLuint height, float device_scale) override;
178 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 178 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
179 179
180 private: 180 private:
181 TestWebGraphicsContext3D* test_context_; 181 TestWebGraphicsContext3D* test_context_;
182 }; 182 };
183 183
184 } // namespace cc 184 } // namespace cc
185 185
186 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 186 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698