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

Unified Diff: dm/DM.cpp

Issue 1581653003: DM test for YUV (Closed) Base URL: https://skia.googlesource.com/skia.git@yuv
Patch Set: Created 4 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 | « no previous file | dm/DMSrcSink.h » ('j') | dm/DMSrcSink.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index c7e0934008f3b5a8b2d8dd982976d169b1c923e0..990e92c41c823531a3d1f9609e448177d51ed8c5 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -240,6 +240,9 @@ static void push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorTyp
case CodecSrc::kSubset_Mode:
folder.append("codec_subset");
break;
+ case CodecSrc::kYUV_Mode:
+ folder.append("yuv");
+ break;
}
switch (dstColorType) {
@@ -311,7 +314,7 @@ static void push_codec_srcs(Path path) {
const float nativeScales[] = { 0.125f, 0.25f, 0.375f, 0.5f, 0.625f, 0.750f, 0.875f, 1.0f };
const CodecSrc::Mode nativeModes[] = { CodecSrc::kCodec_Mode, CodecSrc::kScanline_Mode,
- CodecSrc::kStripe_Mode, CodecSrc::kSubset_Mode };
+ CodecSrc::kStripe_Mode, CodecSrc::kSubset_Mode, CodecSrc::kYUV_Mode };
CodecSrc::DstColorType colorTypes[3];
uint32_t numColorTypes;
« no previous file with comments | « no previous file | dm/DMSrcSink.h » ('j') | dm/DMSrcSink.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698