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

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

Issue 1298523003: Add GL_CHROMIUM_screen_space_antialiasing to support alternative AA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add extension Created 5 years, 3 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 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 GLenum coverMode) { 1610 GLenum coverMode) {
1611 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference, 1611 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
1612 mask, coverMode); 1612 mask, coverMode);
1613 } 1613 }
1614 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { 1614 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
1615 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); 1615 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1616 } 1616 }
1617 void GL_APIENTRY GLES2BlendBarrierKHR() { 1617 void GL_APIENTRY GLES2BlendBarrierKHR() {
1618 gles2::GetGLContext()->BlendBarrierKHR(); 1618 gles2::GetGLContext()->BlendBarrierKHR();
1619 } 1619 }
1620 void GL_APIENTRY GLES2ApplyScreenSpaceAntialiasing() {
1621 gles2::GetGLContext()->ApplyScreenSpaceAntialiasing();
1622 }
1620 1623
1621 namespace gles2 { 1624 namespace gles2 {
1622 1625
1623 extern const NameToFunc g_gles2_function_table[] = { 1626 extern const NameToFunc g_gles2_function_table[] = {
1624 { 1627 {
1625 "glActiveTexture", 1628 "glActiveTexture",
1626 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1629 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1627 }, 1630 },
1628 { 1631 {
1629 "glAttachShader", 1632 "glAttachShader",
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2856 }, 2859 },
2857 { 2860 {
2858 "glGetGraphicsResetStatusKHR", 2861 "glGetGraphicsResetStatusKHR",
2859 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), 2862 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2860 }, 2863 },
2861 { 2864 {
2862 "glBlendBarrierKHR", 2865 "glBlendBarrierKHR",
2863 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2866 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2864 }, 2867 },
2865 { 2868 {
2869 "glApplyScreenSpaceAntialiasing",
2870 reinterpret_cast<GLES2FunctionPointer>(glApplyScreenSpaceAntialiasing),
2871 },
2872 {
2866 NULL, NULL, 2873 NULL, NULL,
2867 }, 2874 },
2868 }; 2875 };
2869 2876
2870 } // namespace gles2 2877 } // namespace gles2
2871 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2878 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698