OLD | NEW |
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 // This file is included by gles2_implementation.cc to define the | 9 // This file is included by gles2_implementation.cc to define the |
10 // GL api functions. | 10 // GL api functions. |
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1689 } | 1689 } |
1690 }); | 1690 }); |
1691 if (count < 0) { | 1691 if (count < 0) { |
1692 SetGLError(GL_INVALID_VALUE, "glDiscardFramebufferEXT", "count < 0"); | 1692 SetGLError(GL_INVALID_VALUE, "glDiscardFramebufferEXT", "count < 0"); |
1693 return; | 1693 return; |
1694 } | 1694 } |
1695 helper_->DiscardFramebufferEXTImmediate(target, count, attachments); | 1695 helper_->DiscardFramebufferEXTImmediate(target, count, attachments); |
1696 CheckGLError(); | 1696 CheckGLError(); |
1697 } | 1697 } |
1698 | 1698 |
| 1699 void GLES2Implementation::LoseContextCHROMIUM(GLenum current, GLenum other) { |
| 1700 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 1701 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glLoseContextCHROMIUM(" << GLES2Uti
l::GetStringEnum(current) << ", " << GLES2Util::GetStringEnum(other) << ")"); /
/ NOLINT |
| 1702 helper_->LoseContextCHROMIUM(current, other); |
| 1703 CheckGLError(); |
| 1704 } |
| 1705 |
1699 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1706 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
1700 | 1707 |
OLD | NEW |