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

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

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | 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 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 } 1745 }
1746 1746
1747 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { 1747 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
1748 gles2::VertexAttribDivisorANGLE* c = 1748 gles2::VertexAttribDivisorANGLE* c =
1749 GetCmdSpace<gles2::VertexAttribDivisorANGLE>(); 1749 GetCmdSpace<gles2::VertexAttribDivisorANGLE>();
1750 if (c) { 1750 if (c) {
1751 c->Init(index, divisor); 1751 c->Init(index, divisor);
1752 } 1752 }
1753 } 1753 }
1754 1754
1755 void GenMailboxCHROMIUM(GLuint bucket_id) {
1756 gles2::GenMailboxCHROMIUM* c = GetCmdSpace<gles2::GenMailboxCHROMIUM>();
1757 if (c) {
1758 c->Init(bucket_id);
1759 }
1760 }
1761
1762 void ProduceTextureCHROMIUM(
1763 GLenum target, uint32 mailbox_shm_id, uint32 mailbox_shm_offset) {
1764 gles2::ProduceTextureCHROMIUM* c =
1765 GetCmdSpace<gles2::ProduceTextureCHROMIUM>();
1766 if (c) {
1767 c->Init(target, mailbox_shm_id, mailbox_shm_offset);
1768 }
1769 }
1770
1771 void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
1772 const uint32 size = gles2::ProduceTextureCHROMIUMImmediate::ComputeSize();
1773 gles2::ProduceTextureCHROMIUMImmediate* c =
1774 GetImmediateCmdSpaceTotalSize<gles2::ProduceTextureCHROMIUMImmediate>(
1775 size);
1776 if (c) {
1777 c->Init(target, mailbox);
1778 }
1779 }
1780
1781 void ConsumeTextureCHROMIUM(
1782 GLenum target, uint32 mailbox_shm_id, uint32 mailbox_shm_offset) {
1783 gles2::ConsumeTextureCHROMIUM* c =
1784 GetCmdSpace<gles2::ConsumeTextureCHROMIUM>();
1785 if (c) {
1786 c->Init(target, mailbox_shm_id, mailbox_shm_offset);
1787 }
1788 }
1789
1790 void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
1791 const uint32 size = gles2::ConsumeTextureCHROMIUMImmediate::ComputeSize();
1792 gles2::ConsumeTextureCHROMIUMImmediate* c =
1793 GetImmediateCmdSpaceTotalSize<gles2::ConsumeTextureCHROMIUMImmediate>(
1794 size);
1795 if (c) {
1796 c->Init(target, mailbox);
1797 }
1798 }
1799
1755 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1800 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1756 1801
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698