Home
last modified time | relevance | path

Searched refs:gpuConfig (Results 1 – 5 of 5) sorted by relevance

/external/skqp/dm/
DDM.cpp863 if (const SkCommandLineConfigGpu* gpuConfig = config->asConfigGpu()) { in create_sink() local
864 GrContextFactory::ContextType contextType = gpuConfig->getContextType(); in create_sink()
865 GrContextFactory::ContextOverrides contextOverrides = gpuConfig->getContextOverrides(); in create_sink()
869 "GM tests will be skipped.\n", gpuConfig->getTag().c_str()); in create_sink()
872 if (gpuConfig->getTestThreading()) { in create_sink()
873 SkASSERT(!gpuConfig->getTestPersistentCache()); in create_sink()
875 contextType, contextOverrides, gpuConfig->getSurfType(), in create_sink()
876 gpuConfig->getSamples(), gpuConfig->getUseDIText(), in create_sink()
877 gpuConfig->getColorType(), gpuConfig->getAlphaType(), in create_sink()
878 sk_ref_sp(gpuConfig->getColorSpace()), FLAGS_gpu_threading, grCtxOptions); in create_sink()
[all …]
/external/skia/dm/
DDM.cpp933 if (const SkCommandLineConfigGpu* gpuConfig = config->asConfigGpu()) { in create_sink() local
935 if (!testFactory.get(gpuConfig->getContextType(), gpuConfig->getContextOverrides())) { in create_sink()
937 "GM tests will be skipped.\n", gpuConfig->getTag().c_str()); in create_sink()
940 if (gpuConfig->getTestThreading()) { in create_sink()
941 SkASSERT(!gpuConfig->getTestPersistentCache()); in create_sink()
942 return new GPUThreadTestingSink(gpuConfig, grCtxOptions); in create_sink()
943 } else if (gpuConfig->getTestPersistentCache()) { in create_sink()
944 return new GPUPersistentCacheTestingSink(gpuConfig, grCtxOptions); in create_sink()
945 } else if (gpuConfig->getTestPrecompile()) { in create_sink()
946 return new GPUPrecompileTestingSink(gpuConfig, grCtxOptions); in create_sink()
[all …]
/external/skia/bench/
Dnanobench.cpp448 if (const auto* gpuConfig = config->asConfigGpu()) { in create_config() local
454 const auto ctxType = gpuConfig->getContextType(); in create_config()
455 const auto ctxOverrides = gpuConfig->getContextOverrides(); in create_config()
456 const auto sampleCount = gpuConfig->getSamples(); in create_config()
457 const auto colorType = gpuConfig->getColorType(); in create_config()
458 auto colorSpace = gpuConfig->getColorSpace(); in create_config()
459 if (gpuConfig->getSurfType() != SkCommandLineConfigGpu::SurfType::kDefault) { in create_config()
481 gpuConfig->getTag(), in create_config()
489 gpuConfig->getUseDIText() in create_config()
/external/skqp/bench/
Dnanobench.cpp409 if (const auto* gpuConfig = config->asConfigGpu()) { in create_config() local
415 const auto ctxType = gpuConfig->getContextType(); in create_config()
416 const auto ctxOverrides = gpuConfig->getContextOverrides(); in create_config()
417 const auto sampleCount = gpuConfig->getSamples(); in create_config()
418 const auto colorType = gpuConfig->getColorType(); in create_config()
419 auto colorSpace = gpuConfig->getColorSpace(); in create_config()
420 if (gpuConfig->getSurfType() != SkCommandLineConfigGpu::SurfType::kDefault) { in create_config()
442 gpuConfig->getTag(), in create_config()
450 gpuConfig->getUseDIText() in create_config()
/external/skqp/src/gpu/
DGrContext.cpp387 static bool valid_pixel_conversion(GrColorType cpuColorType, GrPixelConfig gpuConfig, in valid_pixel_conversion() argument
391 (!valid_premul_color_type(cpuColorType) || !valid_premul_config(gpuConfig))) { in valid_pixel_conversion()