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

Unified Diff: gyp/gpu.gyp

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Replace magic number 32 with constant; fix comment in shader; fix Linux compiler error. Created 7 years, 1 month 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 | « gyp/edtaa.gyp ('k') | include/gpu/GrDistanceFieldTextContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/gpu.gyp
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 057c2fb72d8c6518186f8421ed6dce5a7e6437f1..29889f1211b916ebb446d2cf7ab42738f219e4c2 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -83,6 +83,7 @@
'dependencies': [
'angle.gyp:*',
'core.gyp:*',
+ 'edtaa.gyp:*',
'utils.gyp:*',
],
'includes': [
@@ -132,6 +133,17 @@
'GR_ANDROID_PATH_RENDERING=1',
],
}],
+ [ 'skia_distancefield_fonts', {
+ 'sources': [
+ '<(skia_include_path)/gpu/GrDistanceFieldTextContext.h',
+ '<(skia_src_path)/gpu/GrDistanceFieldTextContext.cpp',
+ '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.cpp',
+ '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.h',
+ ],
+ 'defines': [
+ 'GR_DISTANCEFIELD_FONTS=1',
+ ],
+ }],
[ 'skia_os == "linux" or skia_os == "chromeos"', {
'sources!': [
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',
« no previous file with comments | « gyp/edtaa.gyp ('k') | include/gpu/GrDistanceFieldTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698