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

Side by Side Diff: cc/test/test_web_graphics_context_3d.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 | « cc/test/test_gles2_interface.cc ('k') | cc/test/test_web_graphics_context_3d.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_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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 virtual GLuint createImageCHROMIUM(ClientBuffer buffer, 262 virtual GLuint createImageCHROMIUM(ClientBuffer buffer,
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 272
272 virtual void texImageIOSurface2DCHROMIUM(GLenum target, 273 virtual void texImageIOSurface2DCHROMIUM(GLenum target,
273 GLsizei width, 274 GLsizei width,
274 GLsizei height, 275 GLsizei height,
275 GLuint io_surface_id, 276 GLuint io_surface_id,
276 GLuint plane) {} 277 GLuint plane) {}
277 278
278 virtual GLuint64 insertFenceSync(); 279 virtual GLuint64 insertFenceSync();
279 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); 280 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token);
280 virtual void waitSyncToken(const GLbyte* sync_token); 281 virtual void waitSyncToken(const GLbyte* sync_token);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 491
491 scoped_refptr<Namespace> namespace_; 492 scoped_refptr<Namespace> namespace_;
492 static Namespace* shared_namespace_; 493 static Namespace* shared_namespace_;
493 494
494 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 495 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
495 }; 496 };
496 497
497 } // namespace cc 498 } // namespace cc
498 499
499 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 500 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698