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

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: 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
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('J')
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: April 15, 2014
12
13 Dependencies
14
15 OpenGL ES 2.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 MODELVIEW_CHROMIUM 0x1700
27 PROJECTION_CHROMIUM 0x1701
28
29 Accepted by the <pname> parameter of GetIntegerv,
30 GetFloatv:
31 MODELVIEW_MATRIX_CHROMIUM 0x0BA6
32 PROJECTION_MATRIX_CHROMIUM 0x0BA7
33
34
35 New Procedures and Functions
36
37 void MatrixLoadfCHROMIUM(enum matrixMode, GLfloat* 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, MODELVIEW_CHROMIUM or 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 MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelview
59 matrix for path rend ering
60 PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current projection
61 matrix for path rend ering
62
63 Revision History
64
65 15/4/2014 Documented the extension
OLDNEW
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698