зеркало из https://github.com/mozilla/moz-skia.git
Add NVPR configs to bench
BUG=skia:2042 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/145943003 git-svn-id: http://skia.googlecode.com/svn/trunk@13188 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
440ddf433b
Коммит
e8989578cd
|
@ -197,6 +197,7 @@ static SkBaseDevice* make_device(SkBitmap::Config config, const SkIPoint& size,
|
|||
GrContextFactory gContextFactory;
|
||||
typedef GrContextFactory::GLContextType GLContextType;
|
||||
static const GLContextType kNative = GrContextFactory::kNative_GLContextType;
|
||||
static const GLContextType kNVPR = GrContextFactory::kNVPR_GLContextType;
|
||||
#if SK_ANGLE
|
||||
static const GLContextType kANGLE = GrContextFactory::kANGLE_GLContextType;
|
||||
#endif
|
||||
|
@ -228,6 +229,8 @@ static const struct Config {
|
|||
{ SkBitmap::kARGB_8888_Config, "GPU", 0, SkBenchmark::kGPU_Backend, kNative, true},
|
||||
{ SkBitmap::kARGB_8888_Config, "MSAA4", 4, SkBenchmark::kGPU_Backend, kNative, false},
|
||||
{ SkBitmap::kARGB_8888_Config, "MSAA16", 16, SkBenchmark::kGPU_Backend, kNative, false},
|
||||
{ SkBitmap::kARGB_8888_Config, "NVPRMSAA4", 4, SkBenchmark::kGPU_Backend, kNVPR, true},
|
||||
{ SkBitmap::kARGB_8888_Config, "NVPRMSAA16", 16, SkBenchmark::kGPU_Backend, kNVPR, false},
|
||||
#if SK_ANGLE
|
||||
{ SkBitmap::kARGB_8888_Config, "ANGLE", 0, SkBenchmark::kGPU_Backend, kANGLE, true},
|
||||
#endif // SK_ANGLE
|
||||
|
|
Загрузка…
Ссылка в новой задаче