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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.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: reveman@ comments. 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 void DeleteSyncStub(GLsizei n, const GLuint* syncs); 518 void DeleteSyncStub(GLsizei n, const GLuint* syncs);
519 519
520 void BufferDataHelper( 520 void BufferDataHelper(
521 GLenum target, GLsizeiptr size, const void* data, GLenum usage); 521 GLenum target, GLsizeiptr size, const void* data, GLenum usage);
522 void BufferSubDataHelper( 522 void BufferSubDataHelper(
523 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); 523 GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
524 void BufferSubDataHelperImpl( 524 void BufferSubDataHelperImpl(
525 GLenum target, GLintptr offset, GLsizeiptr size, const void* data, 525 GLenum target, GLintptr offset, GLsizeiptr size, const void* data,
526 ScopedTransferBufferPtr* buffer); 526 ScopedTransferBufferPtr* buffer);
527 527
528 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, 528 GLuint CreateImageCHROMIUMHelper(ClientBuffer* const buffers,
529 GLsizei width, 529 GLsizei width,
530 GLsizei height, 530 GLsizei height,
531 GLenum internalformat); 531 GLenum internalformat);
532 void DestroyImageCHROMIUMHelper(GLuint image_id); 532 void DestroyImageCHROMIUMHelper(GLuint image_id);
533 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, 533 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width,
534 GLsizei height, 534 GLsizei height,
535 GLenum internalformat, 535 GLenum internalformat,
536 GLenum usage); 536 GLenum usage);
537 537
538 // Helper for GetVertexAttrib 538 // Helper for GetVertexAttrib
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 834
835 inline bool GLES2Implementation::GetTexParameterivHelper( 835 inline bool GLES2Implementation::GetTexParameterivHelper(
836 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 836 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
837 return false; 837 return false;
838 } 838 }
839 839
840 } // namespace gles2 840 } // namespace gles2
841 } // namespace gpu 841 } // namespace gpu
842 842
843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698