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

Unified Diff: src/core/SkLinearBitmapPipeline_sample.h

Issue 1886233006: Add 8888 fast SrcOver mode. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean CL Created 4 years, 8 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: src/core/SkLinearBitmapPipeline_sample.h
diff --git a/src/core/SkLinearBitmapPipeline_sample.h b/src/core/SkLinearBitmapPipeline_sample.h
index 539ce006156e6714d46e78159b37c5d731e6dc42..8f86fc6d954d24013ab895951d19e702b84e0360 100644
--- a/src/core/SkLinearBitmapPipeline_sample.h
+++ b/src/core/SkLinearBitmapPipeline_sample.h
@@ -560,14 +560,6 @@ private:
SourceStrategy fStrategy;
};
-class sRGBFast {
-public:
- static Sk4s VECTORCALL sRGBToLinear(Sk4s pixel) {
- Sk4s l = pixel * pixel;
- return Sk4s{l[0], l[1], l[2], pixel[3]};
- }
-};
-
enum class ColorOrder {
kRGBA = false,
kBGRA = true,

Powered by Google App Engine
This is Rietveld 408576698