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

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

Issue 2021413003: Remove GL_CHROMIUM_iosurface extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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/test_gles2_interface.cc ('k') | gpu/GLES2/gl2chromium_autogen.h » ('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_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 GLsizei width, 263 GLsizei width,
264 GLsizei height, 264 GLsizei height,
265 GLenum internalformat); 265 GLenum internalformat);
266 virtual void destroyImageCHROMIUM(GLuint image_id); 266 virtual void destroyImageCHROMIUM(GLuint image_id);
267 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, 267 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width,
268 GLsizei height, 268 GLsizei height,
269 GLenum internalformat, 269 GLenum internalformat,
270 GLenum usage); 270 GLenum usage);
271 virtual void getImageivCHROMIUM(GLuint image_id, GLenum param, GLint* data); 271 virtual void getImageivCHROMIUM(GLuint image_id, GLenum param, GLint* data);
272 272
273 virtual void texImageIOSurface2DCHROMIUM(GLenum target,
274 GLsizei width,
275 GLsizei height,
276 GLuint io_surface_id,
277 GLuint plane) {}
278
279 virtual GLuint64 insertFenceSync(); 273 virtual GLuint64 insertFenceSync();
280 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); 274 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token);
281 virtual void waitSyncToken(const GLbyte* sync_token); 275 virtual void waitSyncToken(const GLbyte* sync_token);
282 virtual void verifySyncTokens(GLbyte** sync_tokens, GLsizei count); 276 virtual void verifySyncTokens(GLbyte** sync_tokens, GLsizei count);
283 277
284 const gpu::SyncToken& last_waited_sync_token() const { 278 const gpu::SyncToken& last_waited_sync_token() const {
285 return last_waited_sync_token_; 279 return last_waited_sync_token_;
286 } 280 }
287 281
288 const gpu::Capabilities& test_capabilities() const { 282 const gpu::Capabilities& test_capabilities() const {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 485
492 scoped_refptr<Namespace> namespace_; 486 scoped_refptr<Namespace> namespace_;
493 static Namespace* shared_namespace_; 487 static Namespace* shared_namespace_;
494 488
495 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 489 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
496 }; 490 };
497 491
498 } // namespace cc 492 } // namespace cc
499 493
500 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 494 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698