Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1586)

Unified Diff: include/core/SkBlitRow.h

Issue 5494076: The SSE32 BlitRow function mistakenly degrades opaque pixels to be non-opaque when blending (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: addressed feedback, strengthened test Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/core/SkBlitRow.h
diff --git a/include/core/SkBlitRow.h b/include/core/SkBlitRow.h
index fb62f5ab53a1ab3195c4121c906f22424bc5a3b8..8ee2e8a7c52f39177e65897ff1d5237a4de33f38 100644
--- a/include/core/SkBlitRow.h
+++ b/include/core/SkBlitRow.h
@@ -73,6 +73,13 @@ public:
static ColorProc ColorProcFactory();
+ /** Control if platform optimized procedures will be returned by
+ Factory32 and ColorProcFactory. The default setting is true.
+ This is only present for testing, and may be ignored in a
+ production environment.
+ */
+ static void UsePlatformOptsForFactory(bool);
+
/** These static functions are called by the Factory and Factory32
functions, and should return either NULL, or a
platform-specific function-ptr to be used in place of the
« no previous file with comments | « gyp/tests.gyp ('k') | include/core/SkColorPriv.h » ('j') | include/core/SkColorPriv.h » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b