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:
parent
a7e930f640
commit
3b4d077fba
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user