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

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

Issue 477623004: command_buffer: Support instanced path rendering in gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-03-path-funcs
Patch Set: rebas 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 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask, 1573 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask,
1574 coverMode); 1574 coverMode);
1575 } 1575 }
1576 void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path, 1576 void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
1577 GLint reference, 1577 GLint reference,
1578 GLuint mask, 1578 GLuint mask,
1579 GLenum coverMode) { 1579 GLenum coverMode) {
1580 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference, 1580 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
1581 mask, coverMode); 1581 mask, coverMode);
1582 } 1582 }
1583 void GL_APIENTRY
1584 GLES2StencilFillPathInstancedCHROMIUM(GLsizei numPaths,
1585 GLenum pathNameType,
1586 const GLvoid* paths,
1587 GLuint pathBase,
1588 GLenum fillMode,
1589 GLuint mask,
1590 GLenum transformType,
1591 const GLfloat* transformValues) {
1592 gles2::GetGLContext()->StencilFillPathInstancedCHROMIUM(
1593 numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType,
1594 transformValues);
1595 }
1596 void GL_APIENTRY
1597 GLES2StencilStrokePathInstancedCHROMIUM(GLsizei numPaths,
1598 GLenum pathNameType,
1599 const GLvoid* paths,
1600 GLuint pathBase,
1601 GLint reference,
1602 GLuint mask,
1603 GLenum transformType,
1604 const GLfloat* transformValues) {
1605 gles2::GetGLContext()->StencilStrokePathInstancedCHROMIUM(
1606 numPaths, pathNameType, paths, pathBase, reference, mask, transformType,
1607 transformValues);
1608 }
1609 void GL_APIENTRY
1610 GLES2CoverFillPathInstancedCHROMIUM(GLsizei numPaths,
1611 GLenum pathNameType,
1612 const GLvoid* paths,
1613 GLuint pathBase,
1614 GLenum coverMode,
1615 GLenum transformType,
1616 const GLfloat* transformValues) {
1617 gles2::GetGLContext()->CoverFillPathInstancedCHROMIUM(
1618 numPaths, pathNameType, paths, pathBase, coverMode, transformType,
1619 transformValues);
1620 }
1621 void GL_APIENTRY
1622 GLES2CoverStrokePathInstancedCHROMIUM(GLsizei numPaths,
1623 GLenum pathNameType,
1624 const GLvoid* paths,
1625 GLuint pathBase,
1626 GLenum coverMode,
1627 GLenum transformType,
1628 const GLfloat* transformValues) {
1629 gles2::GetGLContext()->CoverStrokePathInstancedCHROMIUM(
1630 numPaths, pathNameType, paths, pathBase, coverMode, transformType,
1631 transformValues);
1632 }
1633 void GL_APIENTRY
1634 GLES2StencilThenCoverFillPathInstancedCHROMIUM(GLsizei numPaths,
1635 GLenum pathNameType,
1636 const GLvoid* paths,
1637 GLuint pathBase,
1638 GLenum fillMode,
1639 GLuint mask,
1640 GLenum coverMode,
1641 GLenum transformType,
1642 const GLfloat* transformValues) {
1643 gles2::GetGLContext()->StencilThenCoverFillPathInstancedCHROMIUM(
1644 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode,
1645 transformType, transformValues);
1646 }
1647 void GL_APIENTRY GLES2StencilThenCoverStrokePathInstancedCHROMIUM(
1648 GLsizei numPaths,
1649 GLenum pathNameType,
1650 const GLvoid* paths,
1651 GLuint pathBase,
1652 GLint reference,
1653 GLuint mask,
1654 GLenum coverMode,
1655 GLenum transformType,
1656 const GLfloat* transformValues) {
1657 gles2::GetGLContext()->StencilThenCoverStrokePathInstancedCHROMIUM(
1658 numPaths, pathNameType, paths, pathBase, reference, mask, coverMode,
1659 transformType, transformValues);
1660 }
1583 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { 1661 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
1584 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); 1662 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1585 } 1663 }
1586 void GL_APIENTRY GLES2BlendBarrierKHR() { 1664 void GL_APIENTRY GLES2BlendBarrierKHR() {
1587 gles2::GetGLContext()->BlendBarrierKHR(); 1665 gles2::GetGLContext()->BlendBarrierKHR();
1588 } 1666 }
1589 1667
1590 namespace gles2 { 1668 namespace gles2 {
1591 1669
1592 extern const NameToFunc g_gles2_function_table[] = { 1670 extern const NameToFunc g_gles2_function_table[] = {
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2800 "glStencilThenCoverFillPathCHROMIUM", 2878 "glStencilThenCoverFillPathCHROMIUM",
2801 reinterpret_cast<GLES2FunctionPointer>( 2879 reinterpret_cast<GLES2FunctionPointer>(
2802 glStencilThenCoverFillPathCHROMIUM), 2880 glStencilThenCoverFillPathCHROMIUM),
2803 }, 2881 },
2804 { 2882 {
2805 "glStencilThenCoverStrokePathCHROMIUM", 2883 "glStencilThenCoverStrokePathCHROMIUM",
2806 reinterpret_cast<GLES2FunctionPointer>( 2884 reinterpret_cast<GLES2FunctionPointer>(
2807 glStencilThenCoverStrokePathCHROMIUM), 2885 glStencilThenCoverStrokePathCHROMIUM),
2808 }, 2886 },
2809 { 2887 {
2888 "glStencilFillPathInstancedCHROMIUM",
2889 reinterpret_cast<GLES2FunctionPointer>(
2890 glStencilFillPathInstancedCHROMIUM),
2891 },
2892 {
2893 "glStencilStrokePathInstancedCHROMIUM",
2894 reinterpret_cast<GLES2FunctionPointer>(
2895 glStencilStrokePathInstancedCHROMIUM),
2896 },
2897 {
2898 "glCoverFillPathInstancedCHROMIUM",
2899 reinterpret_cast<GLES2FunctionPointer>(
2900 glCoverFillPathInstancedCHROMIUM),
2901 },
2902 {
2903 "glCoverStrokePathInstancedCHROMIUM",
2904 reinterpret_cast<GLES2FunctionPointer>(
2905 glCoverStrokePathInstancedCHROMIUM),
2906 },
2907 {
2908 "glStencilThenCoverFillPathInstancedCHROMIUM",
2909 reinterpret_cast<GLES2FunctionPointer>(
2910 glStencilThenCoverFillPathInstancedCHROMIUM),
2911 },
2912 {
2913 "glStencilThenCoverStrokePathInstancedCHROMIUM",
2914 reinterpret_cast<GLES2FunctionPointer>(
2915 glStencilThenCoverStrokePathInstancedCHROMIUM),
2916 },
2917 {
2810 "glGetGraphicsResetStatusKHR", 2918 "glGetGraphicsResetStatusKHR",
2811 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), 2919 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2812 }, 2920 },
2813 { 2921 {
2814 "glBlendBarrierKHR", 2922 "glBlendBarrierKHR",
2815 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2923 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2816 }, 2924 },
2817 { 2925 {
2818 NULL, NULL, 2926 NULL, NULL,
2819 }, 2927 },
2820 }; 2928 };
2821 2929
2822 } // namespace gles2 2930 } // namespace gles2
2823 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2931 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698