Add angle config to nanobench and make angle a default config for dm and nanobench.

NOTREECHECKS=true
R=mtklein@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/441333003
This commit is contained in:
bsalomon 2014-08-06 10:52:33 -07:00 committed by Commit bot
parent a7e930f640
commit 3b4d077fba
2 changed files with 4 additions and 1 deletions

View File

@ -282,6 +282,9 @@ static void create_configs(SkTDArray<Config>* configs) {
GPU_CONFIG(nvprmsaa16, kNVPR_GLContextType, 16) GPU_CONFIG(nvprmsaa16, kNVPR_GLContextType, 16)
GPU_CONFIG(debug, kDebug_GLContextType, 0) GPU_CONFIG(debug, kDebug_GLContextType, 0)
GPU_CONFIG(nullgpu, kNull_GLContextType, 0) GPU_CONFIG(nullgpu, kNull_GLContextType, 0)
#ifdef SK_ANGLE
GPU_CONFIG(angle, kANGLE_GLContextType, 0)
#endif
} }
#endif #endif
} }

View File

@ -8,7 +8,7 @@
#include "SkCommonFlags.h" #include "SkCommonFlags.h"
#include "SkThreadPool.h" #include "SkThreadPool.h"
DEFINE_string(config, "565 8888 pdf gpu nonrendering", DEFINE_string(config, "565 8888 pdf gpu nonrendering angle",
"Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvprmsaa16 " "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvprmsaa16 "
"gpunull gpudebug angle mesa"); "gpunull gpudebug angle mesa");