/external/skqp/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers() 254 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack() 490 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall() 510 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall() 526 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 527 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall() 528 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall() 533 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall() 540 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall() 553 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 426 this->write(fProgram.fSettings.fFlipY ? "_frontFacing" : "(!_frontFacing)"); in writeVariableReference() 628 switch (fProgram.fKind) { in writeFunction() 651 for (const auto& e : fProgram) { in writeFunction() 691 if (fProgram.fKind == Program::kFragment_Kind) { in writeFunction() 703 } else if (fProgram.fKind == Program::kVertex_Kind) { in writeFunction() 758 SkASSERT(!fProgram.fSettings.fFragColorIsInOut); in writeFunction() 804 switch (fProgram.fKind) { in writeFunction() 848 if (fProgram.fKind == Program::kFragment_Kind) { in writeInterfaceBlock() 980 if (fProgram.fSettings.fCaps->imageLoadStoreExtensionString()) { in writeVarDeclarations() 982 fHeader.writeText(fProgram.fSettings.fCaps->imageLoadStoreExtensionString()); in writeVarDeclarations() [all …]
|
D | SkSLCodeGenerator.h | 23 : fProgram(*program) in CodeGenerator() 35 const Program& fProgram;
|
D | SkSLInterpreter.h | 55 : fProgram(std::move(program)) in Interpreter() 80 std::unique_ptr<Program> fProgram;
|
D | SkSLJIT.h | 102 : fProgram(std::move(program)) in Module() 106 std::unique_ptr<Program> fProgram; variable 299 std::unique_ptr<Program> fProgram; variable
|
D | SkSLCPPCodeGenerator.cpp | 353 for (const auto& p : fProgram) { in getChildFPIndex() 542 for (const auto& p : fProgram) { in writePrivateVars() 582 for (const auto& p : fProgram) { in writePrivateVarValues() 807 for (const auto& p : fProgram) { in writeEmitCode() 923 for (const auto& p : fProgram) { in writeSetData() 1104 for (const auto& p : fProgram) { in generateCode() 1144 this->writef("%s\n", HCodeGenerator::GetHeader(fProgram, fErrors).c_str()); in generateCode()
|
D | SkSLPipelineStageCodeGenerator.cpp | 85 for (const auto& p : fProgram) { in writeFunctionCall() 137 for (const auto& e : fProgram) { in writeVariableReference()
|
D | SkSLJIT.cpp | 131 for (const auto& pair : *fProgram->fSymbols) { in addBuiltinFunction() 849 for (const auto& pe : *fProgram) { in appendStage() 1746 return f.fReturnType == *fProgram->fContext->fVoid_Type && in hasStageSignature() 1748 f.fParameters[0]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature() 1750 f.fParameters[1]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature() 1752 f.fParameters[2]->fType == *fProgram->fContext->fHalf4_Type && in hasStageSignature() 1790 if (f.fDeclaration.fReturnType == *fProgram->fContext->fVoid_Type) { in compileFunction() 1841 for (const auto& e : *fProgram) { in createModule() 1850 fProgram = std::move(program); in compile() 1853 return std::unique_ptr<Module>(new Module(std::move(fProgram), fSharedModule, fJITStack)); in compile()
|
D | SkSLHCodeGenerator.cpp | 323 this->writef("%s\n", GetHeader(fProgram, fErrors).c_str()); in generateCode() 336 for (const auto& p : fProgram) { in generateCode()
|
/external/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers() 250 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack() 486 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall() 506 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall() 521 if (fProgram.fSettings.fFlipY) { in writeFunctionCall() 530 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 531 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall() 532 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall() 537 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall() 544 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 222 this->write((fProgram.fSettings.fFlipY) ? "-dfdy" : "dfdy"); in writeFunctionCall() 501 if (fProgram.fInputs.fRTHeight) { in writeFragCoord() 526 this->write(fProgram.fSettings.fFlipY ? "_frontFacing" : "(!_frontFacing)"); in writeVariableReference() 774 switch (fProgram.fKind) { in writeFunction() 797 for (const auto& e : fProgram) { in writeFunction() 837 if (fProgram.fKind == Program::kFragment_Kind) { in writeFunction() 838 if (fProgram.fInputs.fRTHeight && fInterfaceBlockNameMap.empty()) { in writeFunction() 847 } else if (fProgram.fKind == Program::kVertex_Kind) { in writeFunction() 902 SkASSERT(!fProgram.fSettings.fFragColorIsInOut); in writeFunction() 948 switch (fProgram.fKind) { in writeFunction() [all …]
|
D | SkSLCodeGenerator.h | 23 : fProgram(*program) in CodeGenerator() 35 const Program& fProgram;
|
D | SkSLInterpreter.h | 55 : fProgram(std::move(program)) in Interpreter() 80 std::unique_ptr<Program> fProgram;
|
D | SkSLJIT.h | 102 : fProgram(std::move(program)) in Module() 106 std::unique_ptr<Program> fProgram; variable 299 std::unique_ptr<Program> fProgram; variable
|
D | SkSLPipelineStageCodeGenerator.cpp | 86 for (const auto& p : fProgram) { in writeFunctionCall() 138 for (const auto& e : fProgram) { in writeVariableReference()
|
D | SkSLCPPCodeGenerator.cpp | 380 for (const auto& p : fProgram) { in getChildFPIndex() 574 for (const auto& p : fProgram) { in writePrivateVars() 614 for (const auto& p : fProgram) { in writePrivateVarValues() 840 for (const auto& p : fProgram) { in writeEmitCode() 956 for (const auto& p : fProgram) { in writeSetData() 1146 for (const auto& p : fProgram) { in generateCode() 1186 this->writef("%s\n", HCodeGenerator::GetHeader(fProgram, fErrors).c_str()); in generateCode()
|
D | SkSLJIT.cpp | 131 for (const auto& pair : *fProgram->fSymbols) { in addBuiltinFunction() 849 for (const auto& pe : *fProgram) { in appendStage() 1746 return f.fReturnType == *fProgram->fContext->fVoid_Type && in hasStageSignature() 1748 f.fParameters[0]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature() 1750 f.fParameters[1]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature() 1752 f.fParameters[2]->fType == *fProgram->fContext->fHalf4_Type && in hasStageSignature() 1790 if (f.fDeclaration.fReturnType == *fProgram->fContext->fVoid_Type) { in compileFunction() 1841 for (const auto& e : *fProgram) { in createModule() 1850 fProgram = std::move(program); in compile() 1853 return std::unique_ptr<Module>(new Module(std::move(fProgram), fSharedModule, fJITStack)); in compile()
|
D | SkSLHCodeGenerator.cpp | 339 this->writef("%s\n", GetHeader(fProgram, fErrors).c_str()); in generateCode() 352 for (const auto& p : fProgram) { in generateCode()
|
D | SkSLInterpreter.cpp | 31 for (const auto& e : *fProgram) { in run() 246 for (const auto& e : *fProgram) { in appendStage()
|
/external/skia/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 41 bool initialized() const { return 0 != fProgram; } in initialized() 59 GrGLuint fProgram = 0; member in __anonfd3647410111::GLTestAtlasTextRenderer 212 fProgram = callgl(CreateProgram); in GLTestAtlasTextRenderer() 213 if (!fProgram) { in GLTestAtlasTextRenderer() 219 callgl(AttachShader, fProgram, vs); in GLTestAtlasTextRenderer() 220 callgl(AttachShader, fProgram, fs); in GLTestAtlasTextRenderer() 221 callgl(LinkProgram, fProgram); in GLTestAtlasTextRenderer() 223 callgl(GetProgramiv, fProgram, GR_GL_LINK_STATUS, &linkStatus); in GLTestAtlasTextRenderer() 233 callgl(DeleteProgram, fProgram); in GLTestAtlasTextRenderer() 234 fProgram = 0; in GLTestAtlasTextRenderer() [all …]
|
/external/skqp/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 41 bool initialized() const { return 0 != fProgram; } in initialized() 59 GrGLuint fProgram = 0; member in __anon5e2a32580111::GLTestAtlasTextRenderer 212 fProgram = callgl(CreateProgram); in GLTestAtlasTextRenderer() 213 if (!fProgram) { in GLTestAtlasTextRenderer() 219 callgl(AttachShader, fProgram, vs); in GLTestAtlasTextRenderer() 220 callgl(AttachShader, fProgram, fs); in GLTestAtlasTextRenderer() 221 callgl(LinkProgram, fProgram); in GLTestAtlasTextRenderer() 223 callgl(GetProgramiv, fProgram, GR_GL_LINK_STATUS, &linkStatus); in GLTestAtlasTextRenderer() 233 callgl(DeleteProgram, fProgram); in GLTestAtlasTextRenderer() 234 fProgram = 0; in GLTestAtlasTextRenderer() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpuProgramCache.cpp | 26 Entry(sk_sp<GrGLProgram> program) : fProgram(std::move(program)) {} in Entry() 28 sk_sp<GrGLProgram> fProgram; member 66 (*e)->fProgram->abandon(); in abandon() 108 return SkRef((*entry)->fProgram.get()); in refProgram()
|
D | GrGLGpu.cpp | 441 if (0 != fCopyPrograms[i].fProgram) { in ~GrGLGpu() 442 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu() 447 if (0 != fMipmapPrograms[i].fProgram) { in ~GrGLGpu() 448 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu() 472 if (fCopyPrograms[i].fProgram) { in disconnect() 473 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect() 477 if (fMipmapPrograms[i].fProgram) { in disconnect() 478 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect() 504 fCopyPrograms[i].fProgram = 0; in disconnect() 508 fMipmapPrograms[i].fProgram = 0; in disconnect() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpuProgramCache.cpp | 26 Entry(sk_sp<GrGLProgram> program) : fProgram(std::move(program)) {} in Entry() 28 sk_sp<GrGLProgram> fProgram; member 66 (*e)->fProgram->abandon(); in abandon() 108 return SkRef((*entry)->fProgram.get()); in refProgram()
|
D | GrGLGpu.cpp | 398 if (0 != fCopyPrograms[i].fProgram) { in ~GrGLGpu() 399 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu() 404 if (0 != fMipmapPrograms[i].fProgram) { in ~GrGLGpu() 405 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu() 429 if (fCopyPrograms[i].fProgram) { in disconnect() 430 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect() 434 if (fMipmapPrograms[i].fProgram) { in disconnect() 435 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect() 461 fCopyPrograms[i].fProgram = 0; in disconnect() 465 fMipmapPrograms[i].fProgram = 0; in disconnect() [all …]
|