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

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

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: rebase Created 6 years, 2 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.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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const void* pixels) override; 119 const void* pixels) override;
120 virtual void CompressedTexImage2D(GLenum target, 120 virtual void CompressedTexImage2D(GLenum target,
121 GLint level, 121 GLint level,
122 GLenum internalformat, 122 GLenum internalformat,
123 GLsizei width, 123 GLsizei width,
124 GLsizei height, 124 GLsizei height,
125 GLint border, 125 GLint border,
126 GLsizei image_size, 126 GLsizei image_size,
127 const void* data) override; 127 const void* data) override;
128 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) override; 128 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
129 virtual GLuint CreateImageCHROMIUM(GLsizei width, 129 virtual GLuint CreateImageCHROMIUM(ClientBuffer buffer,
130 GLsizei width,
130 GLsizei height, 131 GLsizei height,
131 GLenum internalformat, 132 GLenum internalformat) override;
132 GLenum usage) override;
133 virtual void DestroyImageCHROMIUM(GLuint image_id) override; 133 virtual void DestroyImageCHROMIUM(GLuint image_id) override;
134 virtual void* MapImageCHROMIUM(GLuint image_id) override;
135 virtual void GetImageParameterivCHROMIUM(GLuint image_id,
136 GLenum pname,
137 GLint* params) override;
138 virtual void UnmapImageCHROMIUM(GLuint image_id) override;
139 virtual GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, 134 virtual GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
140 GLsizei height, 135 GLsizei height,
141 GLenum internalformat, 136 GLenum internalformat,
142 GLenum usage) override; 137 GLenum usage) override;
143 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 138 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
144 virtual void ReleaseTexImage2DCHROMIUM(GLenum target, 139 virtual void ReleaseTexImage2DCHROMIUM(GLenum target,
145 GLint image_id) override; 140 GLint image_id) override;
146 virtual void FramebufferRenderbuffer(GLenum target, 141 virtual void FramebufferRenderbuffer(GLenum target,
147 GLenum attachment, 142 GLenum attachment,
148 GLenum renderbuffertarget, 143 GLenum renderbuffertarget,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 float device_scale) override; 188 float device_scale) override;
194 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) override; 189 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) override;
195 190
196 private: 191 private:
197 TestWebGraphicsContext3D* test_context_; 192 TestWebGraphicsContext3D* test_context_;
198 }; 193 };
199 194
200 } // namespace cc 195 } // namespace cc
201 196
202 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 197 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/test/pixel_test.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698