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

Unified Diff: Source/platform/graphics/filters/FEBlend.h

Issue 604373003: [WIP] Supporting arm_neon_optional flag for blink platform. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
Index: Source/platform/graphics/filters/FEBlend.h
diff --git a/Source/platform/graphics/filters/FEBlend.h b/Source/platform/graphics/filters/FEBlend.h
index 3dd1fcd5c9bcb29669521ab799fb730c757ee8c5..7055e1b7444034bb18f1384e72932f94b0f1cdb5 100644
--- a/Source/platform/graphics/filters/FEBlend.h
+++ b/Source/platform/graphics/filters/FEBlend.h
@@ -35,10 +35,6 @@ public:
WebBlendMode blendMode() const;
bool setBlendMode(WebBlendMode);
- void platformApplyGeneric(unsigned char* srcPixelArrayA, unsigned char* srcPixelArrayB, unsigned char* dstPixelArray,
- unsigned colorArrayLength);
- void platformApplyNEON(unsigned char* srcPixelArrayA, unsigned char* srcPixelArrayB, unsigned char* dstPixelArray,
- unsigned colorArrayLength);
virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) OVERRIDE;
virtual TextStream& externalRepresentation(TextStream&, int indention) const OVERRIDE;
@@ -47,7 +43,12 @@ private:
FEBlend(Filter*, WebBlendMode);
virtual void applySoftware() OVERRIDE;
- bool applySoftwareNEON();
+ void applySoftwareInternal();
+
+#if HAVE(ARM_NEON_INTRINSICS)
+ void applySoftwareInternalNEON();
+ void platformApplyNEON(unsigned char* srcPixelArrayA, unsigned char* srcPixelArrayB, unsigned char* dstPixelArray, unsigned colorArrayLength);
+#endif
WebBlendMode m_mode;
};
« no previous file with comments | « Source/platform/graphics/cpu/arm/gpu/WebGLImageConversionNEON.h ('k') | Source/platform/graphics/filters/FEBlend.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698