Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Name | |
| 2 | |
| 3 CHROMIUM_NV_path_rendering | |
|
piman
2014/04/11 22:19:27
nit: s/CHROMIUM_NV/CHROMIUM/
Kimmo Kinnunen
2014/04/15 16:16:58
Done.
| |
| 4 | |
| 5 Name Strings | |
| 6 | |
| 7 GL_CHROMIUM_NV_path_rendering | |
| 8 | |
| 9 Version | |
| 10 | |
| 11 Last Modifed Date: March 26, 2014 | |
| 12 | |
| 13 Dependencies | |
| 14 | |
| 15 OpenGL ES 2.0 is required. | |
| 16 | |
| 17 Overview | |
| 18 | |
| 19 This extensions is pretty much the same as NV_path_rendering | |
|
piman
2014/04/11 22:19:27
Can we document the extension independently of the
piman
2014/04/11 22:19:27
Also, I don't see any path rendering in this exten
Kimmo Kinnunen
2014/04/14 12:56:30
Well, the path-rendering part is rather elaborate
Kimmo Kinnunen
2014/04/14 12:56:30
This is augmented in the next patch:
https://chrom
Kimmo Kinnunen
2014/04/15 16:16:58
Done.
| |
| 20 except it also includes minimal set of functionality from OpenGL | |
| 21 4.4 Compatibility Profile to enable fixed-function vertex | |
| 22 processing. | |
| 23 | |
| 24 New Tokens | |
| 25 | |
| 26 Accepted by the <mode> parameter of MatrixMode: | |
| 27 MODELVIEW 0x1700 | |
| 28 PROJECTION 0x1701 | |
|
vmiura
2014/04/11 21:54:48
Should add GL_MATRIX_MODE?
Kimmo Kinnunen
2014/04/15 16:16:58
Removed.
| |
| 29 | |
| 30 New Procedures and Functions | |
| 31 | |
| 32 void MatrixMode(enum mode); | |
| 33 | |
| 34 Selects current matrix mode, eg. which matrix is affected by the | |
| 35 matrix operations. Takes one of the pre-defined constants | |
| 36 MODELVIEW or PROJECTION as the argument value. | |
| 37 | |
| 38 Otherwise functions as specified in The OpenGL Graphics System: A | |
| 39 Specification (Version 4.4 (Compatibility Profile) - October 18, | |
| 40 2013) Section 12.1.1. | |
| 41 | |
| 42 void LoadMatrixf(const float* m); | |
| 43 | |
| 44 Takes a pointer to a 4x4 matrix stored in column-major order as 16 | |
| 45 consecutive floating-point values. | |
| 46 | |
| 47 Functions as specified in The OpenGL Graphics System: A | |
| 48 Specification (Version 4.4 (Compatibility Profile) - October 18, | |
| 49 2013) Section 12.1.1. | |
| 50 | |
| 51 void LoadIdentity(void); | |
| 52 | |
| 53 Effectively calls LoadMatrix with the identity matrix. | |
| 54 | |
| 55 Functions as specified in The OpenGL Graphics System: A | |
| 56 Specification (Version 4.4 (Compatibility Profile) - October 18, | |
| 57 2013) Section 12.1.1. | |
| 58 | |
| 59 | |
| 60 Errors | |
| 61 | |
| 62 None. | |
| 63 | |
| 64 New State | |
| 65 | |
| 66 Get Value Type Get Command Initial Value Description | |
| 67 ------------ ----- ------------ -------------- ------------------- | |
| 68 MATRIX_MODE enum GetInteger MODELVIEW Current matrix mode | |
| 69 | |
| 70 Revision History | |
| 71 | |
| 72 26/3/2014 Documented the extension | |
| OLD | NEW |