Home
last modified time | relevance | path

Searched refs:fProgram (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp141 ASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
154 if (!fProgram.fSettings.fCaps->canUseMinAndAbsTogether() && c.fFunction.fName == "min" && in writeFunctionCall()
168 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
183 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
184 ASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
186 fHeader.writeText(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
241 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
276 if (!fProgram.fSettings.fFlipY) { in writeFragCoord()
279 fProgram.fSettings.fCaps->fragCoordConventionsExtensionString()) { in writeFragCoord()
281 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFragCoord()
[all …]
DSkSLCodeGenerator.h23 : fProgram(*program) in CodeGenerator()
33 const Program& fProgram;
DSkSLCPPCodeGenerator.cpp361 for (const auto& p : fProgram.fElements) { in writePrivateVars()
377 for (const auto& p : fProgram.fElements) { in writePrivateVarValues()
469 for (const auto& p : fProgram.fElements) { in writeSetData()
569 for (const auto& p : fProgram.fElements) { in generateCode()
DSkSLSPIRVCodeGenerator.cpp1916 fProgram.fSettings.fFlipY) { in writeVariableReference()
2696 if (fProgram.fInputs.fRTHeight) { in writeInterfaceBlock()
2717 if (fProgram.fInputs.fRTHeight) { in writeInterfaceBlock()
3108 this->writeInstructions(fProgram, buffer); in generateCode()
/external/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp27 : fProgram(std::move(program)) {} in Entry()
29 sk_sp<GrGLProgram> fProgram; member
102 return SkRef((*entry)->fProgram.get()); in refProgram()
DGrGLGpu.cpp220 fCopyPrograms[i].fProgram = 0; in GrGLGpu()
223 fMipmapPrograms[i].fProgram = 0; in GrGLGpu()
304 if (0 != fCopyPrograms[i].fProgram) { in ~GrGLGpu()
305 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
310 if (0 != fMipmapPrograms[i].fProgram) { in ~GrGLGpu()
311 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu()
338 if (fCopyPrograms[i].fProgram) { in disconnect()
339 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect()
343 if (fMipmapPrograms[i].fProgram) { in disconnect()
344 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect()
[all …]
DGrGLGpu.h604 GrGLuint fProgram; member
613 GrGLuint fProgram; member
/external/skia/bench/
DGLVec4ScalarBench.cpp48 , fProgram(0) { in GLVec4ScalarBench()
89 GrGLuint fProgram; member in GLVec4ScalarBench
252 fProgram = this->setupShader(ctx); in setup()
261 GR_GL_CALL(gl, UseProgram(fProgram)); in setup()
285 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
DGLVertexAttributesBench.cpp30 , fProgram(0) in GLVertexAttributesBench()
55 GrGLuint fProgram; member in GLVertexAttributesBench
159 fProgram = setupShader(ctx, fAttribs, kMaxAttribs); in setup()
206 GR_GL_CALL(gl, UseProgram(fProgram)); in setup()
253 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
DGLInstancedArraysBench.cpp54 , fProgram(0) in GLCpuPosInstancedArraysBench()
102 GrGLuint fProgram; member in GLCpuPosInstancedArraysBench
307 fProgram = this->setupShader(ctx); in setup()
337 GR_GL_CALL(gl, UseProgram(fProgram)); in setup()
376 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
/external/skia/tools/gpu/gl/debug/
DDebugGLTestContext.cpp44 , fProgram(nullptr) in DebugInterface()
940 GrProgramObj* fProgram; member in __anonfa2854ca0111::DebugInterface
1140 if (fProgram) { in useProgram()
1141 GrAlwaysAssert(fProgram->getInUse()); in useProgram()
1142 fProgram->resetInUse(); in useProgram()
1144 GrAlwaysAssert(!fProgram->getDeleted()); in useProgram()
1145 fProgram->unref(); in useProgram()
1148 fProgram = program; in useProgram()
1150 if (fProgram) { in useProgram()
1151 GrAlwaysAssert(!fProgram->getDeleted()); in useProgram()
[all …]