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

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Adding extension implementation files. Created 8 years, 8 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 | Annotate | Revision Log
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 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 void TexImageIOSurface2DCHROMIUM( 1710 void TexImageIOSurface2DCHROMIUM(
1711 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, 1711 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId,
1712 GLuint plane) { 1712 GLuint plane) {
1713 gles2::TexImageIOSurface2DCHROMIUM* c = 1713 gles2::TexImageIOSurface2DCHROMIUM* c =
1714 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>(); 1714 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>();
1715 if (c) { 1715 if (c) {
1716 c->Init(target, width, height, ioSurfaceId, plane); 1716 c->Init(target, width, height, ioSurfaceId, plane);
1717 } 1717 }
1718 } 1718 }
1719 1719
1720 void CopyTextureCHROMIUM(
1721 GLenum target, GLenum source_id, GLenum dest_id, GLint level) {
1722 gles2::CopyTextureCHROMIUM* c = GetCmdSpace<gles2::CopyTextureCHROMIUM>();
1723 if (c) {
1724 c->Init(target, source_id, dest_id, level);
1725 }
1726 }
1727
1720 void DrawArraysInstancedANGLE( 1728 void DrawArraysInstancedANGLE(
1721 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { 1729 GLenum mode, GLint first, GLsizei count, GLsizei primcount) {
1722 gles2::DrawArraysInstancedANGLE* c = 1730 gles2::DrawArraysInstancedANGLE* c =
1723 GetCmdSpace<gles2::DrawArraysInstancedANGLE>(); 1731 GetCmdSpace<gles2::DrawArraysInstancedANGLE>();
1724 if (c) { 1732 if (c) {
1725 c->Init(mode, first, count, primcount); 1733 c->Init(mode, first, count, primcount);
1726 } 1734 }
1727 } 1735 }
1728 1736
1729 void DrawElementsInstancedANGLE( 1737 void DrawElementsInstancedANGLE(
1730 GLenum mode, GLsizei count, GLenum type, GLuint index_offset, 1738 GLenum mode, GLsizei count, GLenum type, GLuint index_offset,
1731 GLsizei primcount) { 1739 GLsizei primcount) {
1732 gles2::DrawElementsInstancedANGLE* c = 1740 gles2::DrawElementsInstancedANGLE* c =
1733 GetCmdSpace<gles2::DrawElementsInstancedANGLE>(); 1741 GetCmdSpace<gles2::DrawElementsInstancedANGLE>();
1734 if (c) { 1742 if (c) {
1735 c->Init(mode, count, type, index_offset, primcount); 1743 c->Init(mode, count, type, index_offset, primcount);
1736 } 1744 }
1737 } 1745 }
1738 1746
1739 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { 1747 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
1740 gles2::VertexAttribDivisorANGLE* c = 1748 gles2::VertexAttribDivisorANGLE* c =
1741 GetCmdSpace<gles2::VertexAttribDivisorANGLE>(); 1749 GetCmdSpace<gles2::VertexAttribDivisorANGLE>();
1742 if (c) { 1750 if (c) {
1743 c->Init(index, divisor); 1751 c->Init(index, divisor);
1744 } 1752 }
1745 } 1753 }
1746 1754
1747 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1755 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1748 1756
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698