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

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

Issue 9910004: Implement Discard and EnsureBackbufferCHROMIUM using command buffer instead of IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 } 1737 }
1738 1738
1739 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { 1739 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
1740 gles2::VertexAttribDivisorANGLE* c = 1740 gles2::VertexAttribDivisorANGLE* c =
1741 GetCmdSpace<gles2::VertexAttribDivisorANGLE>(); 1741 GetCmdSpace<gles2::VertexAttribDivisorANGLE>();
1742 if (c) { 1742 if (c) {
1743 c->Init(index, divisor); 1743 c->Init(index, divisor);
1744 } 1744 }
1745 } 1745 }
1746 1746
1747 void DiscardBackbufferCHROMIUM() {
1748 gles2::DiscardBackbufferCHROMIUM* c =
1749 GetCmdSpace<gles2::DiscardBackbufferCHROMIUM>();
1750 if (c) {
1751 c->Init();
1752 }
1753 }
1754
1755 void EnsureBackbufferCHROMIUM() {
1756 gles2::EnsureBackbufferCHROMIUM* c =
1757 GetCmdSpace<gles2::EnsureBackbufferCHROMIUM>();
1758 if (c) {
1759 c->Init();
1760 }
1761 }
1762
1747 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1763 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1748 1764
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