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

Side by Side Diff: gpu/GLES2/gl2chromium.h

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: improve parameter validation and write up the extension .txt file Created 6 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 contains Chromium-specific GLES2 declarations. 5 // This file contains Chromium-specific GLES2 declarations.
6 6
7 #ifndef GPU_GLES2_GL2CHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2CHROMIUM_H_
8 #define GPU_GLES2_GL2CHROMIUM_H_ 8 #define GPU_GLES2_GL2CHROMIUM_H_
9 9
10 #include <GLES2/gl2platform.h> 10 #include <GLES2/gl2platform.h>
11 11
12 #define GL_CONTEXT_LOST 0x300E 12 #define GL_CONTEXT_LOST 0x300E
13 #define GL_MODELVIEW_CHROMIUM 0x1700 13 #define GL_MODELVIEW_CHROMIUM 0x1700
14 #define GL_PROJECTION_CHROMIUM 0x1701 14 #define GL_PROJECTION_CHROMIUM 0x1701
15 #define GL_MODELVIEW_MATRIX_CHROMIUM 0x0BA6 15 #define GL_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
16 #define GL_PROJECTION_MATRIX_CHROMIUM 0x0BA7 16 #define GL_PROJECTION_MATRIX_CHROMIUM 0x0BA7
17 #define GL_FLAT_CHROMIUM 0x1D00
18 #define GL_EYE_LINEAR_CHROMIUM 0x2400
19 #define GL_OBJECT_LINEAR_CHROMIUM 0x2401
20 #define GL_MAX_TEXTURE_COORDS_CHROMIUM 0x8871
17 21
18 #if defined(GLES2_USE_MOJO) 22 #if defined(GLES2_USE_MOJO)
19 #define GLES2_GET_FUN(name) MojoGLES2gl ## name 23 #define GLES2_GET_FUN(name) MojoGLES2gl ## name
20 #else 24 #else
21 // Because we are using both the real system GL and our own 25 // Because we are using both the real system GL and our own
22 // emulated GL we need to use different names to avoid conflicts. 26 // emulated GL we need to use different names to avoid conflicts.
23 #if defined(GLES2_USE_CPP_BINDINGS) 27 #if defined(GLES2_USE_CPP_BINDINGS)
24 #define GLES2_GET_FUN(name) gles2::GetGLContext()->name 28 #define GLES2_GET_FUN(name) gles2::GetGLContext()->name
25 #else 29 #else
26 #define GLES2_GET_FUN(name) GLES2 ## name 30 #define GLES2_GET_FUN(name) GLES2 ## name
27 #endif 31 #endif
28 #endif 32 #endif
29 33
30 #include <GLES2/gl2chromium_autogen.h> 34 #include <GLES2/gl2chromium_autogen.h>
31 35
32 #endif // GPU_GLES2_GL2CHROMIUM_H_ 36 #endif // GPU_GLES2_GL2CHROMIUM_H_
33 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698