Initial support for GL_NV_path_renering. Experimental, there are still some issues to resolve, set gyp variable skia_nv_path_rendering=1 or build flag GR_GL_USE_NV_PATH_RENDERING to enable.
http://codereview.appspot.com/6349049/
git-svn-id: http://skia.googlecode.com/svn/trunk@4390 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 5aa3cb7..381d6bc 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -264,6 +264,8 @@
'../src/gpu/GrResourceCache.h',
'../src/gpu/GrStencil.cpp',
'../src/gpu/GrStencil.h',
+ '../src/gpu/GrStencilAndCoverPathRenderer.cpp',
+ '../src/gpu/GrStencilAndCoverPathRenderer.h',
'../src/gpu/GrStencilBuffer.cpp',
'../src/gpu/GrStencilBuffer.h',
'../src/gpu/GrStringBuilder.h',
@@ -365,6 +367,11 @@
'GR_IMPLEMENTATION=1',
],
'conditions': [
+ [ 'skia_nv_path_rendering', {
+ 'defines': [
+ 'GR_GL_USE_NV_PATH_RENDERING=1',
+ ],
+ }],
[ 'skia_os == "linux"', {
'sources!': [
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',