OLD | NEW |
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 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 MojoGLES2MakeCurrent(context_); | 1764 MojoGLES2MakeCurrent(context_); |
1765 glStencilThenCoverFillPathCHROMIUM(path, fillMode, mask, coverMode); | 1765 glStencilThenCoverFillPathCHROMIUM(path, fillMode, mask, coverMode); |
1766 } | 1766 } |
1767 void MojoGLES2Impl::StencilThenCoverStrokePathCHROMIUM(GLuint path, | 1767 void MojoGLES2Impl::StencilThenCoverStrokePathCHROMIUM(GLuint path, |
1768 GLint reference, | 1768 GLint reference, |
1769 GLuint mask, | 1769 GLuint mask, |
1770 GLenum coverMode) { | 1770 GLenum coverMode) { |
1771 MojoGLES2MakeCurrent(context_); | 1771 MojoGLES2MakeCurrent(context_); |
1772 glStencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode); | 1772 glStencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode); |
1773 } | 1773 } |
| 1774 void MojoGLES2Impl::StencilFillPathInstancedCHROMIUM( |
| 1775 GLsizei numPaths, |
| 1776 GLenum pathNameType, |
| 1777 const GLvoid* paths, |
| 1778 GLuint pathBase, |
| 1779 GLenum fillMode, |
| 1780 GLuint mask, |
| 1781 GLenum transformType, |
| 1782 const GLfloat* transformValues) { |
| 1783 MojoGLES2MakeCurrent(context_); |
| 1784 glStencilFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 1785 fillMode, mask, transformType, |
| 1786 transformValues); |
| 1787 } |
| 1788 void MojoGLES2Impl::StencilStrokePathInstancedCHROMIUM( |
| 1789 GLsizei numPaths, |
| 1790 GLenum pathNameType, |
| 1791 const GLvoid* paths, |
| 1792 GLuint pathBase, |
| 1793 GLint reference, |
| 1794 GLuint mask, |
| 1795 GLenum transformType, |
| 1796 const GLfloat* transformValues) { |
| 1797 MojoGLES2MakeCurrent(context_); |
| 1798 glStencilStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 1799 reference, mask, transformType, |
| 1800 transformValues); |
| 1801 } |
| 1802 void MojoGLES2Impl::CoverFillPathInstancedCHROMIUM( |
| 1803 GLsizei numPaths, |
| 1804 GLenum pathNameType, |
| 1805 const GLvoid* paths, |
| 1806 GLuint pathBase, |
| 1807 GLenum coverMode, |
| 1808 GLenum transformType, |
| 1809 const GLfloat* transformValues) { |
| 1810 MojoGLES2MakeCurrent(context_); |
| 1811 glCoverFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 1812 coverMode, transformType, transformValues); |
| 1813 } |
| 1814 void MojoGLES2Impl::CoverStrokePathInstancedCHROMIUM( |
| 1815 GLsizei numPaths, |
| 1816 GLenum pathNameType, |
| 1817 const GLvoid* paths, |
| 1818 GLuint pathBase, |
| 1819 GLenum coverMode, |
| 1820 GLenum transformType, |
| 1821 const GLfloat* transformValues) { |
| 1822 MojoGLES2MakeCurrent(context_); |
| 1823 glCoverStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase, |
| 1824 coverMode, transformType, transformValues); |
| 1825 } |
| 1826 void MojoGLES2Impl::StencilThenCoverFillPathInstancedCHROMIUM( |
| 1827 GLsizei numPaths, |
| 1828 GLenum pathNameType, |
| 1829 const GLvoid* paths, |
| 1830 GLuint pathBase, |
| 1831 GLenum fillMode, |
| 1832 GLuint mask, |
| 1833 GLenum coverMode, |
| 1834 GLenum transformType, |
| 1835 const GLfloat* transformValues) { |
| 1836 MojoGLES2MakeCurrent(context_); |
| 1837 glStencilThenCoverFillPathInstancedCHROMIUM( |
| 1838 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, |
| 1839 transformType, transformValues); |
| 1840 } |
| 1841 void MojoGLES2Impl::StencilThenCoverStrokePathInstancedCHROMIUM( |
| 1842 GLsizei numPaths, |
| 1843 GLenum pathNameType, |
| 1844 const GLvoid* paths, |
| 1845 GLuint pathBase, |
| 1846 GLint reference, |
| 1847 GLuint mask, |
| 1848 GLenum coverMode, |
| 1849 GLenum transformType, |
| 1850 const GLfloat* transformValues) { |
| 1851 MojoGLES2MakeCurrent(context_); |
| 1852 glStencilThenCoverStrokePathInstancedCHROMIUM( |
| 1853 numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, |
| 1854 transformType, transformValues); |
| 1855 } |
1774 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { | 1856 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { |
1775 MojoGLES2MakeCurrent(context_); | 1857 MojoGLES2MakeCurrent(context_); |
1776 return glGetGraphicsResetStatusKHR(); | 1858 return glGetGraphicsResetStatusKHR(); |
1777 } | 1859 } |
1778 void MojoGLES2Impl::BlendBarrierKHR() { | 1860 void MojoGLES2Impl::BlendBarrierKHR() { |
1779 MojoGLES2MakeCurrent(context_); | 1861 MojoGLES2MakeCurrent(context_); |
1780 glBlendBarrierKHR(); | 1862 glBlendBarrierKHR(); |
1781 } | 1863 } |
1782 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1864 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1783 MojoGLES2MakeCurrent(context_); | 1865 MojoGLES2MakeCurrent(context_); |
1784 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1866 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1785 } | 1867 } |
1786 | 1868 |
1787 } // namespace mojo | 1869 } // namespace mojo |
OLD | NEW |