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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 4 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
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_path_rendering
4
5 Name Strings
6
7 GL_CHROMIUM_path_rendering
8
9 Version
10
11 Last Modifed Date: August 14, 2014
12
13 Dependencies
14
15 OpenGL ES 3.0 is required.
16
17 Overview
18
19 This extensions implements path rendering using
20 OpenGL API.
21
22 New Tokens
23
24 Accepted by the <matrixMode> parameter of MatrixLoadfCHROMIUM and
25 MatrixLoadIdentityCHROMIUM:
26 PATH_MODELVIEW_CHROMIUM 0x1700
27 PATH_PROJECTION_CHROMIUM 0x1701
28
29 Accepted by the <pname> parameter of GetIntegerv,
30 GetFloatv:
31 PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
32 PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
33
34
35 New Procedures and Functions
36
37 void MatrixLoadfCHROMIUM(enum matrixMode, float* matrix)
38
39 Takes a pointer to a 4x4 matrix stored in column-major order as 16
40 consecutive floating-point values. The matrixMode specifies which
41 matrix, PATH_MODELVIEW_CHROMIUM or PATH_PROJECTION_CHROMIUM is used.
42
43 The funcition specifies either modelview or projection matrix
44 to be used with path rendering API calls.
45
46 void MatrixLoadIdentityCHROMIUM(enum matrixMode)
47
48 Effectively calls MatrixLoadf with the identity matrix.
49
50 Errors
51
52 None.
53
54 New State
55
56 Get Value Type Get Command Initial Description
57 ----------------------------- ----- ------------ -------- ---------------- ---
58 PATH_MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelvi ew
59 matrix for path rendering
60 PATH_PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current project ion
61 matrix for path rendering
62
63 Revision History
64
65 14/8/2014 Documented the extension
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698