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

Unified Diff: src/core/Sk4x.h

Issue 1019773004: Port to real Sk2f. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 9 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 | « no previous file | src/core/SkGeometry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk4x.h
diff --git a/src/core/Sk4x.h b/src/core/Sk4x.h
index a53b97559bf5f26096ff09cb156221b699a95230..d280c1b3783a03a1217c09bf63c78ec8967345cc 100644
--- a/src/core/Sk4x.h
+++ b/src/core/Sk4x.h
@@ -37,18 +37,6 @@ public:
void store (T[4]) const;
void storeAligned(T[4]) const;
- // Experimental!
- static Sk4x Load2(const T src[2]) {
- const T padded[4] = { src[0], src[1], 0, 0 };
- return Load(padded);
- }
- void store2(T dst[2]) const {
- T padded[4];
- this->store(padded);
- dst[0] = padded[0];
- dst[1] = padded[1];
- }
-
template <typename Dst> Dst reinterpret() const;
template <typename Dst> Dst cast() const;
« no previous file with comments | « no previous file | src/core/SkGeometry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698