Home | History | Annotate | Download | only in CHROMIUM
      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 oating-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 modelview
     59                                                                  matrix for path rendering
     60     PATH_PROJECTION_MATRIX_CHROMIUM 16xR   GetFloatv    all 0's  Current projection
     61                                                                  matrix for path rendering
     62 
     63 Revision History
     64 
     65     14/8/2014    Documented the extension
     66