Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.cpp279 GrUniqueKey vertexKey, indexKey; in drawNonVolatile() local
281 GrUniqueKey::Builder indexKeyBuilder(&indexKey, kDomain, 2); in drawNonVolatile()
291 rp->findByUniqueKey<GrBuffer>(indexKey) : in drawNonVolatile()
343 rp->assignUniqueKeyToResource(indexKey, indexBuffer.get()); in drawNonVolatile()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp1011 size_t indexKey = static_cast<size_t>(gl::log2(sampleCount)); in GetSamplePosition() local
1012 ASSERT(indexKey < kSamplePositions.size() && in GetSamplePosition()
1013 (2 * index + 1) < kSamplePositions[indexKey].size()); in GetSamplePosition()
1015 xy[0] = kSamplePositions[indexKey][2 * index]; in GetSamplePosition()
1016 xy[1] = kSamplePositions[indexKey][2 * index + 1]; in GetSamplePosition()
/external/angle/src/tests/gl_tests/
DTextureMultisampleTest.cpp425 size_t indexKey = static_cast<size_t>(ceil(log2(sampleCount))); in TEST_P() local
436 EXPECT_EQ(samplePosition[0], kSamplePositions[indexKey][2 * sampleIndex]); in TEST_P()
437 EXPECT_EQ(samplePosition[1], kSamplePositions[indexKey][2 * sampleIndex + 1]); in TEST_P()