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

Unified Diff: gyp/opts.gyp

Issue 326913004: MIPS: added optimization for functions from SkBlitRow. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « gyp/common_conditions.gypi ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/opts.gyp
diff --git a/gyp/opts.gyp b/gyp/opts.gyp
index dc5ff5c9e926e9305ebcdbef4afeccbf29d9755c..69e3946c349b44c8aeac64f81fe925d3de6818cc 100644
--- a/gyp/opts.gyp
+++ b/gyp/opts.gyp
@@ -100,7 +100,29 @@
}],
],
}],
- [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_version < 7) \
+ [ 'skia_arch_type == "mips"', {
+ 'sources': [
+ '../src/opts/SkBitmapProcState_opts_none.cpp',
+ '../src/opts/SkBlitMask_opts_none.cpp',
+ '../src/opts/SkBlurImage_opts_none.cpp',
+ '../src/opts/SkMorphology_opts_none.cpp',
+ '../src/opts/SkUtils_opts_none.cpp',
+ '../src/opts/SkXfermode_opts_none.cpp',
+ ],
+ 'conditions': [
+ [ '(mips_arch_variant == "mips32r2") \
+ and (mips_dsp == 1 or mips_dsp == 2)', {
+ 'sources': [
+ '../src/opts/SkBlitRow_opts_mips_dsp.cpp',
+ ],
+ }, {
+ 'sources': [
+ '../src/opts/SkBlitRow_opts_none.cpp',
+ ],
+ }],
+ ],
+ }],
+ [ '(skia_arch_type == "arm" and arm_version < 7) \
or (skia_os == "ios") \
or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "mips", "arm64"])', {
'sources': [
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698