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

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

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: rebase 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') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name 1 Name
2 2
3 CHROMIUM_path_rendering 3 CHROMIUM_path_rendering
4 4
5 Name Strings 5 Name Strings
6 6
7 GL_CHROMIUM_path_rendering 7 GL_CHROMIUM_path_rendering
8 8
9 Version 9 Version
10 10
(...skipping 13 matching lines...) Expand all
24 Accepted by the <matrixMode> parameter of MatrixLoadfCHROMIUM and 24 Accepted by the <matrixMode> parameter of MatrixLoadfCHROMIUM and
25 MatrixLoadIdentityCHROMIUM: 25 MatrixLoadIdentityCHROMIUM:
26 MODELVIEW_CHROMIUM 0x1700 26 MODELVIEW_CHROMIUM 0x1700
27 PROJECTION_CHROMIUM 0x1701 27 PROJECTION_CHROMIUM 0x1701
28 28
29 Accepted by the <pname> parameter of GetIntegerv, 29 Accepted by the <pname> parameter of GetIntegerv,
30 GetFloatv: 30 GetFloatv:
31 MODELVIEW_MATRIX_CHROMIUM 0x0BA6 31 MODELVIEW_MATRIX_CHROMIUM 0x0BA6
32 PROJECTION_MATRIX_CHROMIUM 0x0BA7 32 PROJECTION_MATRIX_CHROMIUM 0x0BA7
33 33
34 Accepted by the <pname> parameter of GetIntegerv:
35 MAX_TEXTURE_COORDS_CHROMIUM 0x8871
36
37 Accepted by the <value> parameter of PathParameter{if}NV:
38 FLAT_CHROMIUM 0x1D00
39 PATH_STROKE_WIDTH_CHROMIUM 0x9075
40 PATH_INITIAL_END_CAP_CHROMIUM 0x9077
41 PATH_TERMINAL_END_CAP_CHROMIUM 0x9078
42 PATH_JOIN_STYLE_CHROMIUM 0x9079
43 PATH_MITER_LIMIT_CHROMIUM 0x907a
44 COUNT_UP_CHROMIUM 0x9088
45 SQUARE_CHROMIUM 0x90a3
46 ROUND_CHROMIUM 0x90a4
47
48 Accepted by the <fillMode> parameter of StencilFillPathCHROMIUM and
49 StencilFillPathInstancedCHROMIUM:
50 COUNT_UP_CHROMIUM 0x9088
51 COUNT_DOWN_CHROMIUM 0x9089
52
53 Accepted by the <genMode> parameter of PathTexGenCHROMIUM:
54 OBJECT_LINEAR_CHROMIUM 0x2401
55 EYE_LINEAR_CHROMIUM 0x2400
56
57 Accepted by the <coverMode> parameter of CoverFillPathCHROMIUM,
58 CoverFillPathInstancedCHROMIUM, CoverStrokePathCHROMIUM and
59 CoverStrokePathInstancedCHROMIUM:
60 BOUNDING_BOX_CHROMIUM 0x908d
61
62 Accepted by the <transformType> parameter of
63 StencilFillPathInstancedCHROMIUM, StencilStrokePathInstancedCHROMIUM,
64 CoverFillPathInstancedCHROMIUM, and CoverStrokePathInstancedCHROMIUM:
65 TRANSLATE_X_CHROMIUM 0x908E
66 TRANSLATE_Y_CHROMIUM 0x908F
67 TRANSLATE_2D_CHROMIUM 0x9090
68 TRANSLATE_3D_CHROMIUM 0x9091
69 AFFINE_2D_CHROMIUM 0x9092
70 AFFINE_3D_CHROMIUM 0x9094
71 TRANSPOSE_AFFINE_2D_CHROMIUM 0x9096
72 TRANSPOSE_AFFINE_3D_CHROMIUM 0x9098
73
74 Accepted by the <coverMode> parameter of CoverFillPathInstancedCHROMIUM,
75 CoverStrokePathInstancedCHROMIUM:
76 BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C
77
78
34 79
35 New Procedures and Functions 80 New Procedures and Functions
36 81
37 void MatrixLoadfCHROMIUM(enum matrixMode, float* matrix); 82 void MatrixLoadfCHROMIUM(enum matrixMode, float* matrix);
38 83
39 Takes a pointer to a 4x4 matrix stored in column-major order as 16 84 Takes a pointer to a 4x4 matrix stored in column-major order as 16
40 consecutive floating-point values. The matrixMode specifies which 85 consecutive floating-point values. The matrixMode specifies which
41 matrix, MODELVIEW_CHROMIUM or PROJECTION_CHROMIUM is used. 86 matrix, MODELVIEW_CHROMIUM or PROJECTION_CHROMIUM is used.
42 87
43 The funcition specifies either modelview or projection matrix 88 The funcition specifies either modelview or projection matrix
44 to be used with path rendering API calls. 89 to be used with path rendering API calls.
45 90
46 void MatrixLoadIdentityCHROMIUM(enum matrixMode); 91 void MatrixLoadIdentityCHROMIUM(enum matrixMode);
47 92
48 Effectively calls MatrixLoadf with the identity matrix. 93 Effectively calls MatrixLoadf with the identity matrix.
49 94
95 uint GenPathsCHROMIUM(sizei range);
Kimmo Kinnunen 2014/04/23 12:44:22 TODO: I'll write the extension text for these.
96 void DeletePathsCHROMIUM(uint path, sizei range);
97 void PathCommandsCHROMIUM(uint path, sizei numCommands,
98 const ubyte* commands, sizei numCoords,
99 enum coordType, const void* coords);
100 void PathParameterfCHROMIUM(uint path, enum pname, float value);
101 void PathParameteriCHROMIUM(uint path, enum pname, int value);
102 void PathStencilFuncCHROMIUM(enum func, int ref, uint mask);
103 void StencilFillPathCHROMIUM(uint path, enum fillMode, uint mask);
104 void StencilStrokePathCHROMIUM(uint path, int reference, uint mask);
105 void PathTexGenCHROMIUM(enum texCoordSet, enum genMode, int components,
106 const float* coeffs);
107 void CoverFillPathCHROMIUM(uint path, enum coverMode);
108 void CoverStrokePathCHROMIUM(uint path, enum coverMode);
109
110
50 Errors 111 Errors
51 112
52 None. 113 None.
53 114
54 New State 115 New State
55 116
56 Get Value Type Get Command Initial Description 117 Get Value Type Get Command Initial Description
57 ------------------------- ----- ------------ -------- ------------------- 118 ------------------------- ----- ------------ -------- -------------------
58 MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelview 119 MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelview
59 matrix for path rend ering 120 matrix for path rend ering
60 PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current projection 121 PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current projection
61 matrix for path rend ering 122 matrix for path rend ering
62 123
63 Revision History 124 Revision History
64 125
65 23/4/2014 Documented the extension 126 23/4/2014 Documented the extension
OLDNEW
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698