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

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

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle through IPC. Created 5 years, 9 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 virtual void bindBuffer(GLenum target, GLuint buffer); 246 virtual void bindBuffer(GLenum target, GLuint buffer);
247 virtual void bufferData(GLenum target, 247 virtual void bufferData(GLenum target,
248 GLsizeiptr size, 248 GLsizeiptr size,
249 const void* data, 249 const void* data,
250 GLenum usage); 250 GLenum usage);
251 virtual void pixelStorei(GLenum pname, GLint param); 251 virtual void pixelStorei(GLenum pname, GLint param);
252 virtual void* mapBufferCHROMIUM(GLenum target, 252 virtual void* mapBufferCHROMIUM(GLenum target,
253 GLenum access); 253 GLenum access);
254 virtual GLboolean unmapBufferCHROMIUM(GLenum target); 254 virtual GLboolean unmapBufferCHROMIUM(GLenum target);
255 255
256 virtual GLuint createImageCHROMIUM(ClientBuffer buffer, 256 virtual GLuint createImageCHROMIUM(ClientBuffer* buffers,
257 GLsizei width, 257 GLsizei width,
258 GLsizei height, 258 GLsizei height,
259 GLenum internalformat); 259 GLenum internalformat);
260 virtual void destroyImageCHROMIUM(GLuint image_id); 260 virtual void destroyImageCHROMIUM(GLuint image_id);
261 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, 261 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width,
262 GLsizei height, 262 GLsizei height,
263 GLenum internalformat, 263 GLenum internalformat,
264 GLenum usage); 264 GLenum usage);
265 265
266 virtual void texImageIOSurface2DCHROMIUM(GLenum target, 266 virtual void texImageIOSurface2DCHROMIUM(GLenum target,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 478
479 scoped_refptr<Namespace> namespace_; 479 scoped_refptr<Namespace> namespace_;
480 static Namespace* shared_namespace_; 480 static Namespace* shared_namespace_;
481 481
482 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 482 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
483 }; 483 };
484 484
485 } // namespace cc 485 } // namespace cc
486 486
487 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 487 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698