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

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

Issue 1974163003: Expose GpuMemoryBufferId through glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 7 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 | « no previous file | 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const void* data) override; 107 const void* data) override;
108 GLuint CreateImageCHROMIUM(ClientBuffer buffer, 108 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
109 GLsizei width, 109 GLsizei width,
110 GLsizei height, 110 GLsizei height,
111 GLenum internalformat) override; 111 GLenum internalformat) override;
112 void DestroyImageCHROMIUM(GLuint image_id) override; 112 void DestroyImageCHROMIUM(GLuint image_id) override;
113 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, 113 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
114 GLsizei height, 114 GLsizei height,
115 GLenum internalformat, 115 GLenum internalformat,
116 GLenum usage) override; 116 GLenum usage) override;
117 void GetImageivCHROMIUM(GLuint image_id, GLenum param, GLint* data) override;
117 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 118 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
118 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 119 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
119 void FramebufferRenderbuffer(GLenum target, 120 void FramebufferRenderbuffer(GLenum target,
120 GLenum attachment, 121 GLenum attachment,
121 GLenum renderbuffertarget, 122 GLenum renderbuffertarget,
122 GLuint renderbuffer) override; 123 GLuint renderbuffer) override;
123 void FramebufferTexture2D(GLenum target, 124 void FramebufferTexture2D(GLenum target,
124 GLenum attachment, 125 GLenum attachment,
125 GLenum textarget, 126 GLenum textarget,
126 GLuint texture, 127 GLuint texture,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void LoseContextCHROMIUM(GLenum current, GLenum other) override; 168 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
168 GLenum GetGraphicsResetStatusKHR() override; 169 GLenum GetGraphicsResetStatusKHR() override;
169 170
170 private: 171 private:
171 TestWebGraphicsContext3D* test_context_; 172 TestWebGraphicsContext3D* test_context_;
172 }; 173 };
173 174
174 } // namespace cc 175 } // namespace cc
175 176
176 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698