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

Unified Diff: src/core/SkSpriteBlitter_RGB16.cpp

Issue 847443003: rename blitrow::proc and add (uncalled) hook for colorproc16 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « src/core/SkBlitter_RGB16.cpp ('k') | src/opts/SkBlitRow_opts_arm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkSpriteBlitter_RGB16.cpp
diff --git a/src/core/SkSpriteBlitter_RGB16.cpp b/src/core/SkSpriteBlitter_RGB16.cpp
index 2f257a0b0e6c36fe6c4e3ad2e535a2088c124498..77073365e3c66a8132123cecce77b623ec5e6326 100644
--- a/src/core/SkSpriteBlitter_RGB16.cpp
+++ b/src/core/SkSpriteBlitter_RGB16.cpp
@@ -278,7 +278,7 @@ public:
if (paint.isDither()) {
flags |= SkBlitRow::kDither_Flag;
}
- fProc = SkBlitRow::Factory(flags, kRGB_565_SkColorType);
+ fProc = SkBlitRow::Factory16(flags);
}
void blitRect(int x, int y, int width, int height) SK_OVERRIDE {
@@ -287,7 +287,7 @@ public:
y - fTop);
size_t dstRB = fDevice->rowBytes();
size_t srcRB = fSource->rowBytes();
- SkBlitRow::Proc proc = fProc;
+ SkBlitRow::Proc16 proc = fProc;
U8CPU alpha = fPaint->getAlpha();
while (--height >= 0) {
@@ -299,7 +299,7 @@ public:
}
private:
- SkBlitRow::Proc fProc;
+ SkBlitRow::Proc16 fProc;
typedef SkSpriteBlitter INHERITED;
};
« no previous file with comments | « src/core/SkBlitter_RGB16.cpp ('k') | src/opts/SkBlitRow_opts_arm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698