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

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

Issue 2814583002: Service/ClientDiscardableManager (Closed)
Patch Set: rebase Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after
1750 } 1750 }
1751 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, 1751 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x,
1752 GLint y, 1752 GLint y,
1753 GLint width, 1753 GLint width,
1754 GLint height) { 1754 GLint height) {
1755 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); 1755 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height);
1756 } 1756 }
1757 void GL_APIENTRY GLES2SetEnableDCLayersCHROMIUM(GLboolean enabled) { 1757 void GL_APIENTRY GLES2SetEnableDCLayersCHROMIUM(GLboolean enabled) {
1758 gles2::GetGLContext()->SetEnableDCLayersCHROMIUM(enabled); 1758 gles2::GetGLContext()->SetEnableDCLayersCHROMIUM(enabled);
1759 } 1759 }
1760 void GL_APIENTRY GLES2InitializeDiscardableTextureCHROMIUM(GLuint texture_id) {
1761 gles2::GetGLContext()->InitializeDiscardableTextureCHROMIUM(texture_id);
1762 }
1763 void GL_APIENTRY GLES2UnlockDiscardableTextureCHROMIUM(GLuint texture_id) {
1764 gles2::GetGLContext()->UnlockDiscardableTextureCHROMIUM(texture_id);
1765 }
1766 bool GL_APIENTRY GLES2LockDiscardableTextureCHROMIUM(GLuint texture_id) {
1767 return gles2::GetGLContext()->LockDiscardableTextureCHROMIUM(texture_id);
1768 }
1760 1769
1761 namespace gles2 { 1770 namespace gles2 {
1762 1771
1763 extern const NameToFunc g_gles2_function_table[] = { 1772 extern const NameToFunc g_gles2_function_table[] = {
1764 { 1773 {
1765 "glActiveTexture", 1774 "glActiveTexture",
1766 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1775 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1767 }, 1776 },
1768 { 1777 {
1769 "glAttachShader", 1778 "glAttachShader",
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
3075 }, 3084 },
3076 { 3085 {
3077 "glSetDrawRectangleCHROMIUM", 3086 "glSetDrawRectangleCHROMIUM",
3078 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), 3087 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM),
3079 }, 3088 },
3080 { 3089 {
3081 "glSetEnableDCLayersCHROMIUM", 3090 "glSetEnableDCLayersCHROMIUM",
3082 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), 3091 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM),
3083 }, 3092 },
3084 { 3093 {
3094 "glInitializeDiscardableTextureCHROMIUM",
3095 reinterpret_cast<GLES2FunctionPointer>(
3096 glInitializeDiscardableTextureCHROMIUM),
3097 },
3098 {
3099 "glUnlockDiscardableTextureCHROMIUM",
3100 reinterpret_cast<GLES2FunctionPointer>(
3101 glUnlockDiscardableTextureCHROMIUM),
3102 },
3103 {
3104 "glLockDiscardableTextureCHROMIUM",
3105 reinterpret_cast<GLES2FunctionPointer>(
3106 glLockDiscardableTextureCHROMIUM),
3107 },
3108 {
3085 NULL, NULL, 3109 NULL, NULL,
3086 }, 3110 },
3087 }; 3111 };
3088 3112
3089 } // namespace gles2 3113 } // namespace gles2
3090 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3114 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/client_discardable_manager_unittest.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698