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

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

Issue 11568029: Add a command to lose the context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add docs, lose parent and children, fix typo Created 8 years 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 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1973 const uint32 size = 1973 const uint32 size =
1974 gles2::DiscardFramebufferEXTImmediate::ComputeSize(count); 1974 gles2::DiscardFramebufferEXTImmediate::ComputeSize(count);
1975 gles2::DiscardFramebufferEXTImmediate* c = 1975 gles2::DiscardFramebufferEXTImmediate* c =
1976 GetImmediateCmdSpaceTotalSize<gles2::DiscardFramebufferEXTImmediate>( 1976 GetImmediateCmdSpaceTotalSize<gles2::DiscardFramebufferEXTImmediate>(
1977 size); 1977 size);
1978 if (c) { 1978 if (c) {
1979 c->Init(target, count, attachments); 1979 c->Init(target, count, attachments);
1980 } 1980 }
1981 } 1981 }
1982 1982
1983 void LoseContextCHROMIUM(GLenum current, GLenum other) {
1984 gles2::LoseContextCHROMIUM* c = GetCmdSpace<gles2::LoseContextCHROMIUM>();
1985 if (c) {
1986 c->Init(current, other);
1987 }
1988 }
1989
1983 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 1990 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
1984 1991
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698