Home
last modified time | relevance | path

Searched refs:fCaps (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp139 ASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
152 if (!fProgram.fSettings.fCaps->canUseMinAndAbsTogether() && c.fFunction.fName == "min" && in writeFunctionCall()
166 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
181 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
182 ASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
184 fHeader.writeText(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
239 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
277 fProgram.fSettings.fCaps->fragCoordConventionsExtensionString()) { in writeFragCoord()
279 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFragCoord()
295 const char* precision = fProgram.fSettings.fCaps->usesPrecisionModifiers() ? "highp " in writeFragCoord()
[all …]
DSkSLMain.cpp44 settings.fCaps = caps.get(); in main()
DSkSLIRGenerator.cpp142 if (settings->fCaps) { in start()
143 fill_caps(*settings->fCaps, &fCapsMap); in start()
745 (!fSettings->fCaps || in convertIdentifier()
746 !fSettings->fCaps->fragCoordConventionsExtensionString())) { in convertIdentifier()
/external/skia/src/core/
DSkImageCacherator.cpp284 CacheCaps(const GrCaps* caps) : fCaps(caps) {} in CacheCaps()
288 return !fCaps || in supportsHalfFloat()
289 (fCaps->isConfigTexturable(kRGBA_half_GrPixelConfig) && in supportsHalfFloat()
290 fCaps->isConfigRenderable(kRGBA_half_GrPixelConfig, false)); in supportsHalfFloat()
294 return !fCaps || in supportsSRGB()
295 (fCaps->srgbSupport() && fCaps->isConfigTexturable(kSRGBA_8888_GrPixelConfig)); in supportsSRGB()
299 return !fCaps || fCaps->srgbSupport(); in supportsSBGR()
307 const GrCaps* fCaps; member
/external/skia/tests/
DSkSLGLSLTest.cpp39 settings.fCaps = &caps; in test()
652 settings.fCaps = caps.get(); in DEF_TEST()
667 settings.fCaps = caps.get(); in DEF_TEST()
681 settings.fCaps = caps.get(); in DEF_TEST()
DSkSLErrorTest.cpp19 settings.fCaps = caps.get(); in test_failure()
39 settings.fCaps = caps.get(); in test_success()
DGpuSampleLocationsTest.cpp104 args.fCaps = dc->caps(); in construct_dummy_pipeline()
/external/skia/include/gpu/
DGrContext.h170 const GrCaps* caps() const { return fCaps; } in caps()
387 const GrCaps* fCaps; variable
459 : fCaps(std::move(caps)) in GrContextThreadSafeProxy()
462 sk_sp<const GrCaps> fCaps; variable
/external/skia/src/gpu/gl/
DGrGLPathRendering.h51 return fCaps.bindFragmentInputSupport; in shouldBindFragmentInputs()
129 Caps fCaps; variable
DGrGLPathRendering.cpp84 fCaps.bindFragmentInputSupport = in GrGLPathRendering()
DGrGLGpu.cpp218 fCaps.reset(SkRef(ctx->caps())); in GrGLGpu()
3593 settings.fCaps = shaderCaps; in createCopyProgram()
3751 settings.fCaps = shaderCaps; in createMipmapProgram()
3845 settings.fCaps = this->caps()->shaderCaps(); in createWireRectProgram()
/external/skia/src/gpu/
DGrResourceProvider.h249 const GrCaps* caps() const { return fCaps.get(); } in caps()
283 sk_sp<const GrCaps> fCaps; variable
DGrContext.cpp68 fCaps = nullptr; in GrContext()
90 fCaps = SkRef(fGpu->caps()); in initCommon() local
91 fResourceCache = new GrResourceCache(fCaps); in initCommon()
115 SkASSERT(!fCaps); in ~GrContext()
132 fCaps->unref(); in ~GrContext()
137 fThreadSafeProxy.reset(new GrContextThreadSafeProxy(sk_ref_sp(fCaps), this->uniqueID())); in threadSafeProxy()
DGrPipeline.cpp60 &args.fDstTexture, *args.fCaps)); in init()
65 *args.fCaps, *args.fAnalysis, hasMixedSamples, &args.fDstTexture)); in init()
DGrPipeline.h65 const GrCaps* fCaps = nullptr; member
DGrGpu.h64 const GrCaps* caps() const { return fCaps.get(); } in caps()
523 sk_sp<const GrCaps> fCaps; variable
DGrResourceProvider.cpp40 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider()
/external/skia/src/sksl/ir/
DSkSLProgram.h29 const GrShaderCaps* fCaps = nullptr; member
/external/skia/bench/
DGLBench.cpp72 settings.fCaps = context->caps()->shaderCaps(); in CompileShader()
/external/skia/src/image/
DSkImage_Gpu.cpp605 const int maxTextureSize = proxy.fCaps->maxTextureSize(); in getDeferredTextureImageData()
627 dstColorSpace, proxy.fCaps.get()); in getDeferredTextureImageData()
704 if (proxy.fCaps->srgbSupport() && SkToBool(dstColorSpace) && in getDeferredTextureImageData()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp117 settings.fCaps = this->gpu()->glCaps().shaderCaps(); in finalize()
/external/skia/src/gpu/ops/
DGrDrawPathOp.cpp47 args.fCaps = &state.caps(); in initPipeline()
/external/skia/tools/gpu/
DGrTest.cpp286 fCaps.reset(new MockCaps(options)); in MockGpu()
/external/skia/fuzz/
Dfuzz.cpp564 settings.fCaps = caps.get(); in fuzz_sksl2glsl()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp493 args.fCaps = &state->caps(); in onExecute()

12