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

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

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: better Created 3 years, 10 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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 GLint display_y) { 1723 GLint display_y) {
1724 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, 1724 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint,
1725 display_x, display_y); 1725 display_x, display_y);
1726 } 1726 }
1727 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, 1727 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
1728 GLint y, 1728 GLint y,
1729 GLint width, 1729 GLint width,
1730 GLint height) { 1730 GLint height) {
1731 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); 1731 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
1732 } 1732 }
1733 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x,
1734 GLint y,
1735 GLint width,
1736 GLint height) {
1737 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height);
1738 }
1733 1739
1734 namespace gles2 { 1740 namespace gles2 {
1735 1741
1736 extern const NameToFunc g_gles2_function_table[] = { 1742 extern const NameToFunc g_gles2_function_table[] = {
1737 { 1743 {
1738 "glActiveTexture", 1744 "glActiveTexture",
1739 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1745 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1740 }, 1746 },
1741 { 1747 {
1742 "glAttachShader", 1748 "glAttachShader",
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
3031 }, 3037 },
3032 { 3038 {
3033 "glOverlayPromotionHintCHROMIUM", 3039 "glOverlayPromotionHintCHROMIUM",
3034 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), 3040 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM),
3035 }, 3041 },
3036 { 3042 {
3037 "glSwapBuffersWithDamageCHROMIUM", 3043 "glSwapBuffersWithDamageCHROMIUM",
3038 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), 3044 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
3039 }, 3045 },
3040 { 3046 {
3047 "glSetDrawRectangleCHROMIUM",
3048 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM),
3049 },
3050 {
3041 NULL, NULL, 3051 NULL, NULL,
3042 }, 3052 },
3043 }; 3053 };
3044 3054
3045 } // namespace gles2 3055 } // namespace gles2
3046 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3056 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698