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

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

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 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/resources/resource_provider_unittest.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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const void* data) override; 102 const void* data) override;
103 GLuint CreateImageCHROMIUM(ClientBuffer buffer, 103 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
104 GLsizei width, 104 GLsizei width,
105 GLsizei height, 105 GLsizei height,
106 GLenum internalformat) override; 106 GLenum internalformat) override;
107 void DestroyImageCHROMIUM(GLuint image_id) override; 107 void DestroyImageCHROMIUM(GLuint image_id) override;
108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, 108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
109 GLsizei height, 109 GLsizei height,
110 GLenum internalformat, 110 GLenum internalformat,
111 GLenum usage) override; 111 GLenum usage) override;
112 void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 112 void BindTexImage2DCHROMIUM(GLenum target,
113 GLint image_id,
114 GLint fence_id) override;
113 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 115 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
114 void FramebufferRenderbuffer(GLenum target, 116 void FramebufferRenderbuffer(GLenum target,
115 GLenum attachment, 117 GLenum attachment,
116 GLenum renderbuffertarget, 118 GLenum renderbuffertarget,
117 GLuint renderbuffer) override; 119 GLuint renderbuffer) override;
118 void FramebufferTexture2D(GLenum target, 120 void FramebufferTexture2D(GLenum target,
119 GLenum attachment, 121 GLenum attachment,
120 GLenum textarget, 122 GLenum textarget,
121 GLuint texture, 123 GLuint texture,
122 GLint level) override; 124 GLint level) override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 protected: 169 protected:
168 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {} 170 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {}
169 171
170 protected: 172 protected:
171 TestWebGraphicsContext3D* test_context_ = nullptr; 173 TestWebGraphicsContext3D* test_context_ = nullptr;
172 }; 174 };
173 175
174 } // namespace cc 176 } // namespace cc
175 177
176 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 178 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698