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

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

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: fix msvc signedness warning in an unittest Created 5 years, 1 month 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 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 MojoGLES2MakeCurrent(context_); 1782 MojoGLES2MakeCurrent(context_);
1783 glStencilThenCoverFillPathCHROMIUM(path, fillMode, mask, coverMode); 1783 glStencilThenCoverFillPathCHROMIUM(path, fillMode, mask, coverMode);
1784 } 1784 }
1785 void MojoGLES2Impl::StencilThenCoverStrokePathCHROMIUM(GLuint path, 1785 void MojoGLES2Impl::StencilThenCoverStrokePathCHROMIUM(GLuint path,
1786 GLint reference, 1786 GLint reference,
1787 GLuint mask, 1787 GLuint mask,
1788 GLenum coverMode) { 1788 GLenum coverMode) {
1789 MojoGLES2MakeCurrent(context_); 1789 MojoGLES2MakeCurrent(context_);
1790 glStencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode); 1790 glStencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode);
1791 } 1791 }
1792 void MojoGLES2Impl::StencilFillPathInstancedCHROMIUM(
1793 GLsizei numPaths,
1794 GLenum pathNameType,
1795 const GLvoid* paths,
1796 GLuint pathBase,
1797 GLenum fillMode,
1798 GLuint mask,
1799 GLenum transformType,
1800 const GLfloat* transformValues) {
1801 MojoGLES2MakeCurrent(context_);
1802 glStencilFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
1803 fillMode, mask, transformType,
1804 transformValues);
1805 }
1806 void MojoGLES2Impl::StencilStrokePathInstancedCHROMIUM(
1807 GLsizei numPaths,
1808 GLenum pathNameType,
1809 const GLvoid* paths,
1810 GLuint pathBase,
1811 GLint reference,
1812 GLuint mask,
1813 GLenum transformType,
1814 const GLfloat* transformValues) {
1815 MojoGLES2MakeCurrent(context_);
1816 glStencilStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
1817 reference, mask, transformType,
1818 transformValues);
1819 }
1820 void MojoGLES2Impl::CoverFillPathInstancedCHROMIUM(
1821 GLsizei numPaths,
1822 GLenum pathNameType,
1823 const GLvoid* paths,
1824 GLuint pathBase,
1825 GLenum coverMode,
1826 GLenum transformType,
1827 const GLfloat* transformValues) {
1828 MojoGLES2MakeCurrent(context_);
1829 glCoverFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
1830 coverMode, transformType, transformValues);
1831 }
1832 void MojoGLES2Impl::CoverStrokePathInstancedCHROMIUM(
1833 GLsizei numPaths,
1834 GLenum pathNameType,
1835 const GLvoid* paths,
1836 GLuint pathBase,
1837 GLenum coverMode,
1838 GLenum transformType,
1839 const GLfloat* transformValues) {
1840 MojoGLES2MakeCurrent(context_);
1841 glCoverStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
1842 coverMode, transformType, transformValues);
1843 }
1844 void MojoGLES2Impl::StencilThenCoverFillPathInstancedCHROMIUM(
1845 GLsizei numPaths,
1846 GLenum pathNameType,
1847 const GLvoid* paths,
1848 GLuint pathBase,
1849 GLenum fillMode,
1850 GLuint mask,
1851 GLenum coverMode,
1852 GLenum transformType,
1853 const GLfloat* transformValues) {
1854 MojoGLES2MakeCurrent(context_);
1855 glStencilThenCoverFillPathInstancedCHROMIUM(
1856 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode,
1857 transformType, transformValues);
1858 }
1859 void MojoGLES2Impl::StencilThenCoverStrokePathInstancedCHROMIUM(
1860 GLsizei numPaths,
1861 GLenum pathNameType,
1862 const GLvoid* paths,
1863 GLuint pathBase,
1864 GLint reference,
1865 GLuint mask,
1866 GLenum coverMode,
1867 GLenum transformType,
1868 const GLfloat* transformValues) {
1869 MojoGLES2MakeCurrent(context_);
1870 glStencilThenCoverStrokePathInstancedCHROMIUM(
1871 numPaths, pathNameType, paths, pathBase, reference, mask, coverMode,
1872 transformType, transformValues);
1873 }
1792 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { 1874 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() {
1793 MojoGLES2MakeCurrent(context_); 1875 MojoGLES2MakeCurrent(context_);
1794 return glGetGraphicsResetStatusKHR(); 1876 return glGetGraphicsResetStatusKHR();
1795 } 1877 }
1796 void MojoGLES2Impl::BlendBarrierKHR() { 1878 void MojoGLES2Impl::BlendBarrierKHR() {
1797 MojoGLES2MakeCurrent(context_); 1879 MojoGLES2MakeCurrent(context_);
1798 glBlendBarrierKHR(); 1880 glBlendBarrierKHR();
1799 } 1881 }
1800 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { 1882 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() {
1801 MojoGLES2MakeCurrent(context_); 1883 MojoGLES2MakeCurrent(context_);
1802 glApplyScreenSpaceAntialiasingCHROMIUM(); 1884 glApplyScreenSpaceAntialiasingCHROMIUM();
1803 } 1885 }
1804 1886
1805 } // namespace mojo 1887 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698