Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp160 const DefaultGeoProc& dgp = gp.cast<DefaultGeoProc>(); in setData() local
162 if (!dgp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dgp.viewMatrix())) { in setData()
163 fViewMatrix = dgp.viewMatrix(); in setData()
169 if (dgp.color() != fColor && !dgp.hasVertexColor()) { in setData()
171 GrColorToRGBAFloat(dgp.color(), c); in setData()
173 fColor = dgp.color(); in setData()
176 if (!dgp.coverageWillBeIgnored() && in setData()
177 dgp.coverage() != fCoverage && !dgp.hasVertexCoverage()) { in setData()
178 pdman.set1f(fCoverageUniform, GrNormalizeByteToFloat(dgp.coverage())); in setData()
179 fCoverage = dgp.coverage(); in setData()