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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a1a95c5d972baf52460ea5554f5b2d26830181e
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt
@@ -0,0 +1,65 @@
+Name
+
+ CHROMIUM_path_rendering
+
+Name Strings
+
+ GL_CHROMIUM_path_rendering
+
+Version
+
+ Last Modifed Date: April 15, 2014
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+
+Overview
+
+ This extensions implements path rendering using
+ OpenGL API.
+
+New Tokens
+
+ Accepted by the <matrixMode> parameter of MatrixLoadfCHROMIUM and
+ MatrixLoadIdentityCHROMIUM:
+ MODELVIEW_CHROMIUM 0x1700
+ PROJECTION_CHROMIUM 0x1701
+
+ Accepted by the <pname> parameter of GetIntegerv,
+ GetFloatv:
+ MODELVIEW_MATRIX_CHROMIUM 0x0BA6
+ PROJECTION_MATRIX_CHROMIUM 0x0BA7
+
+
+New Procedures and Functions
+
+ void MatrixLoadfCHROMIUM(enum matrixMode, GLfloat* matrix);
+
+ Takes a pointer to a 4x4 matrix stored in column-major order as 16
+ consecutive floating-point values. The matrixMode specifies which
+ matrix, MODELVIEW_CHROMIUM or PROJECTION_CHROMIUM is used.
+
+ The funcition specifies either modelview or projection matrix
+ to be used with path rendering API calls.
+
+ void MatrixLoadIdentityCHROMIUM(enum matrixMode);
+
+ Effectively calls MatrixLoadf with the identity matrix.
+
+Errors
+
+ None.
+
+New State
+
+ Get Value Type Get Command Initial Description
+ ------------------------- ----- ------------ -------- -------------------
+ MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelview
+ matrix for path rendering
+ PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current projection
+ matrix for path rendering
+
+Revision History
+
+ 15/4/2014 Documented the extension
« 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