Home
last modified time | relevance | path

Searched refs:tcIdx (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLProgram.h63 static int TexCoordAttributeIdx(int tcIdx) { return 1 + tcIdx; } in TexCoordAttributeIdx() argument
DGrGLProgram.cpp776 int tcIdx = GrDrawTarget::VertexTexCoordsForStage(s, layout); in genProgram() local
778 GrAssert(tcIdx >= 0); in genProgram()
779 GrAssert(texCoordAttrs[tcIdx].size()); in genProgram()
780 inCoords = texCoordAttrs[tcIdx].c_str(); in genProgram()
893 int tcIdx = in genProgram() local
897 GrAssert(tcIdx >= 0); in genProgram()
898 GrAssert(texCoordAttrs[tcIdx].size()); in genProgram()
899 inCoords = texCoordAttrs[tcIdx].c_str(); in genProgram()
/external/skia/src/gpu/
DGrDrawTarget.cpp163 int tcIdx = VertexTexCoordsForStage(stage, vertexLayout); in VertexStageCoordOffset() local
164 if (tcIdx >= 0) { in VertexStageCoordOffset()
171 for (int t = 0; t < tcIdx; ++t) { in VertexStageCoordOffset()
307 int tcIdx; in VertexSizeAndOffsetsByStage() local
310 } else if ((tcIdx = VertexTexCoordsForStage(s, vertexLayout)) >= 0) { in VertexSizeAndOffsetsByStage()
311 texCoordOffsetsByStage[s] = texCoordOffsetsByIdx[tcIdx]; in VertexSizeAndOffsetsByStage()