aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-23 19:13:56 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-23 19:13:56 +0000
commitf21991b1046a0e8cb0ed263d06bc48f3c05c944b (patch)
tree7a3762c078c81f02881db9e118c51299cdb8326a /include
parent334ec002344d555d02e99e7e768f843e5fe64de6 (diff)
Revert of Modify sample buffer size for larger displays. (https://codereview.chromium.org/240433002/)
Reason for revert: This also changes verylargebitmap, and the difference appears to be meaningful. Henrik, I have emailed you the images that differ. Original issue's description: > Modify sample buffer size for larger displays. > > Increases the intermediate buffer size for sample pixel indexes, > used in the sample proc function calls. If the operation is bigger > than the buffer it's split into multiple calls, creating overhead. > This would especially impact the performance of SIMD optimizations. > Also, aligns the start address of the buffer to 16 bytes, to enable > more efficient SIMD optimizations. > > Author: henrik.smiding@intel.com > > Signed-off-by: Henrik Smiding <henrik.smiding@intel.com> > > Committed: http://code.google.com/p/skia/source/detail?r=14825 > > Committed: http://code.google.com/p/skia/source/detail?r=14872 R=reed@google.com, mtklein@google.com, tomhudson@google.com, djsollen@google.com, joakim.landberg@intel.com, bsalomon@chromium.org, bsalomon@google.com, henrik.smiding@intel.com TBR=reed@google.com NOTREECHECKS=true NOTRY=true Author: scroggo@google.com Review URL: https://codereview.chromium.org/294023016 git-svn-id: http://skia.googlecode.com/svn/trunk@14878 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPostConfig.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 325343425a..88a2bfcb64 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -68,16 +68,6 @@
# endif
#endif
-/**
- * Used to align stack allocated variables/buffers.
- * Different compilers have different ways to accomplish this.
- */
-#if defined(_MSC_VER)
-# define SK_ALIGN(x) __declspec(align(x))
-#else
-# define SK_ALIGN(x) __attribute__((aligned(x)))
-#endif
-
#if !defined(SK_SUPPORT_GPU)
# define SK_SUPPORT_GPU 1
#endif