зеркало из https://github.com/mozilla/moz-skia.git
Turn serialization back on in GM.
With https://codereview.appspot.com/6503106/ it is now safe to do serialization by default. Review URL: https://codereview.appspot.com/6498121 git-svn-id: http://skia.googlecode.com/svn/trunk@5551 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
d614c6a4e0
Коммит
39362527e9
|
@ -775,7 +775,7 @@ static void usage(const char * argv0) {
|
|||
SkDebugf(gRec[i].fName);
|
||||
}
|
||||
SkDebugf(" ]\n");
|
||||
SkDebugf(" [--noreplay] [--nopipe] [--serialize] [--forceBWtext] [--nopdf] \n"
|
||||
SkDebugf(" [--noreplay] [--nopipe] [--noserialize] [--forceBWtext] [--nopdf] \n"
|
||||
" [--tiledPipe] \n"
|
||||
" [--nodeferred] [--match substring] [--notexturecache]\n"
|
||||
" [-h|--help]\n"
|
||||
|
@ -791,7 +791,7 @@ static void usage(const char * argv0) {
|
|||
SkDebugf(" --nopipe: Skip SkGPipe replay.\n");
|
||||
SkDebugf(" --tiledPipe: Exercise tiled SkGPipe replay.\n");
|
||||
SkDebugf(
|
||||
" --serialize: exercise SkPicture serialization & deserialization.\n");
|
||||
" --noserialize: do not exercise SkPicture serialization & deserialization.\n");
|
||||
SkDebugf(" --forceBWtext: disable text anti-aliasing.\n");
|
||||
SkDebugf(" --nopdf: skip the pdf rendering test pass.\n");
|
||||
SkDebugf(" --nodeferred: skip the deferred rendering test pass.\n");
|
||||
|
@ -888,7 +888,7 @@ int main(int argc, char * const argv[]) {
|
|||
bool doReplay = true;
|
||||
bool doPipe = true;
|
||||
bool doTiledPipe = false;
|
||||
bool doSerialize = false;
|
||||
bool doSerialize = true;
|
||||
bool doDeferred = true;
|
||||
bool disableTextureCache = false;
|
||||
SkTDArray<size_t> configs;
|
||||
|
@ -941,7 +941,11 @@ int main(int argc, char * const argv[]) {
|
|||
} else if (strcmp(*argv, "--enable-missing-warning") == 0) {
|
||||
gNotifyMissingReadReference = true;
|
||||
} else if (strcmp(*argv, "--serialize") == 0) {
|
||||
// Leaving in this option so that a user need not modify their command line arguments
|
||||
// to still run.
|
||||
doSerialize = true;
|
||||
} else if (strcmp(*argv, "--noserialize") == 0) {
|
||||
doSerialize = false;
|
||||
} else if (strcmp(*argv, "--match") == 0) {
|
||||
++argv;
|
||||
if (argv < stop && **argv) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче