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.cpp950 if (const SkCommandLineConfigGpu* gpuConfig = config->asConfigGpu()) { in create_sink() local
952 if (!testFactory.get(gpuConfig->getContextType(), gpuConfig->getContextOverrides())) { in create_sink()
954 "GM tests will be skipped.\n", gpuConfig->getTag().c_str()); in create_sink()
957 if (gpuConfig->getTestThreading()) { in create_sink()
958 SkASSERT(!gpuConfig->getTestPersistentCache()); in create_sink()
959 return new GPUThreadTestingSink(gpuConfig, grCtxOptions); in create_sink()
960 } else if (gpuConfig->getTestPersistentCache()) { in create_sink()
961 return new GPUPersistentCacheTestingSink(gpuConfig, grCtxOptions); in create_sink()
962 } else if (gpuConfig->getTestPrecompile()) { in create_sink()
963 return new GPUPrecompileTestingSink(gpuConfig, grCtxOptions); in create_sink()
[all …]
/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/skia/bench/
Dnanobench.cpp469 if (const auto* gpuConfig = config->asConfigGpu()) { in create_config() local
475 const auto ctxType = gpuConfig->getContextType(); in create_config()
476 const auto ctxOverrides = gpuConfig->getContextOverrides(); in create_config()
477 const auto sampleCount = gpuConfig->getSamples(); in create_config()
478 const auto colorType = gpuConfig->getColorType(); in create_config()
479 auto colorSpace = gpuConfig->getColorSpace(); in create_config()
480 if (gpuConfig->getSurfType() != SkCommandLineConfigGpu::SurfType::kDefault) { in create_config()
502 gpuConfig->getTag(), in create_config()
510 gpuConfig->getSurfaceFlags() 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()