Lines Matching defs:ctx
1892 auto ctx = fWindow->directContext();
1933 if (ctx && ImGui::Checkbox("Wireframe Mode", wire)) {
1938 if (ctx && ImGui::Checkbox("Reduced shaders", reducedShaders)) {
1942 if (ctx) {
1946 ctx->maxSurfaceSampleCountForColorType(kRGBA_8888_SkColorType) :
2015 if (!ctx) {
2021 const auto* caps = ctx->priv().caps();
2022 if (skgpu::v1::AtlasPathRenderer::IsSupported(ctx)) {
2605 ctx->priv().getGpu()->resetShaderCacheForTesting();
2616 ctx->priv().getGpu()->resetShaderCacheForTesting();
2630 *ctx->priv().caps()->shaderCaps());
2936 auto ctx = fWindow->directContext();
2937 if (!ctx) {
2943 const auto* caps = ctx->priv().caps();
2944 if (skgpu::v1::AtlasPathRenderer::IsSupported(ctx)) {