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

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: address review comment Created 6 years, 4 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 | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »
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..d2e8c93a027fa7574124f7396f64ff38d7c0db4e
--- /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: August 14, 2014
+
+Dependencies
+
+ OpenGL ES 3.0 is required.
+
+Overview
+
+ This extensions implements path rendering using
+ OpenGL API.
+
+New Tokens
+
+ Accepted by the <matrixMode> parameter of MatrixLoadfCHROMIUM and
+ MatrixLoadIdentityCHROMIUM:
+ PATH_MODELVIEW_CHROMIUM 0x1700
+ PATH_PROJECTION_CHROMIUM 0x1701
+
+ Accepted by the <pname> parameter of GetIntegerv,
+ GetFloatv:
+ PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
+ PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
+
+
+New Procedures and Functions
+
+ void MatrixLoadfCHROMIUM(enum matrixMode, float* matrix)
+
+ Takes a pointer to a 4x4 matrix stored in column-major order as 16
+ consecutive floating-point values. The matrixMode specifies which
+ matrix, PATH_MODELVIEW_CHROMIUM or PATH_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
+ ----------------------------- ----- ------------ -------- -------------------
+ PATH_MODELVIEW_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current modelview
+ matrix for path rendering
+ PATH_PROJECTION_MATRIX_CHROMIUM 16xR GetFloatv all 0's Current projection
+ matrix for path rendering
+
+Revision History
+
+ 14/8/2014 Documented the extension
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698