/third_party/skia/src/core/ |
D | SkVertState.cpp | 23 const uint16_t* indices = state->fIndices; in TrianglesX() 53 const uint16_t* indices = state->fIndices; in TriangleStripX() 83 const uint16_t* indices = state->fIndices; in TriangleFanX() 98 return fIndices ? TrianglesX : Triangles; in chooseProc() 100 return fIndices ? TriangleStripX : TriangleStrip; in chooseProc() 102 return fIndices ? TriangleFanX : TriangleFan; in chooseProc()
|
D | SkVertices.cpp | 136 fVertices->fIndices = (uint16_t*)advance(sizes.fISize); in init() 153 fVertices->fIndices[3 * t + 0] = tempIndices[0]; in detach() 154 fVertices->fIndices[3 * t + 1] = tempIndices[t + 1]; in detach() 155 fVertices->fIndices[3 * t + 2] = tempIndices[t + 2]; in detach() 161 fVertices->fIndices[3 * t + 0] = 0; in detach() 162 fVertices->fIndices[3 * t + 1] = SkToU16(t + 1); in detach() 163 fVertices->fIndices[3 * t + 2] = SkToU16(t + 2); in detach() 194 return const_cast<uint16_t*>(fVertices->fIndices); in indices() 251 if (fIndices != nullptr) { in dump() 252 desc += split + "\t fIndices: " + std::to_string(*fIndices) + "\n"; in dump() [all …]
|
D | SkVertState.h | 28 : fIndices(indices) { in VertState() 48 const uint16_t* fIndices; member
|
D | SkVerticesPriv.h | 27 bool hasIndices() const { return SkToBool(fVertices->fIndices); } in hasIndices() 35 const uint16_t* indices() const { return fVertices->fIndices; } in indices()
|
D | SkCompressedDataUtils.cpp | 158 uint32_t fIndices; member 218 int index = (curBlock->fIndices >> shift) & 0x3; in decompress_bc1()
|
/third_party/skia/bench/ |
D | ImageCacheBudgetBench.cpp | 75 , fIndices(nullptr) { in ImageCacheBudgetBench() 98 fIndices.reset(new int[kSimulatedFrames * kImagesToDraw]); in onPerCanvasPreDraw() 100 int* base = fIndices.get() + frame * kImagesToDraw; in onPerCanvasPreDraw() 120 fIndices.reset(nullptr); in onPerCanvasPostDraw() 131 idx = fIndices[frame * kImagesToDraw + j]; in onDraw() 153 std::unique_ptr<int[]> fIndices; member in ImageCacheBudgetBench
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 138 *fIndices.push() = i0; in addTri() 139 *fIndices.push() = i1; in addTri() 140 *fIndices.push() = i2; in addTri() 147 fIndices.rewind(); in rewind() 274 fIndices.rewind(); in tessellate() 399 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath() 845 SkASSERT(0 == (fIndices.count() % 3)); in validate() 1086 for (int i = 0; i < fIndices.count(); i += 3) { in draw() 1087 SkASSERT(fIndices[i] < this->numPts()) ; in draw() 1088 SkASSERT(fIndices[i+1] < this->numPts()) ; in draw() [all …]
|
D | GrAAConvexTessellator.h | 52 int numIndices() const { return fIndices.count(); } in numIndices() 56 int index(int index) const { return fIndices[index]; } in index() 269 SkTDArray<int> fIndices; variable
|
/third_party/skia/src/gpu/ops/ |
D | DefaultPathRenderer.cpp | 69 , fIndices(nullptr) in PathGeoBuilder() 247 fCurIdx = fIndices = nullptr; in allocNewBuffers() 260 fIndices = fTarget->makeIndexSpaceAtLeast(kMinIndicesPerChunk, kFallbackIndicesPerChunk, in allocNewBuffers() 263 if (!fIndices) { in allocNewBuffers() 271 fCurIdx = fIndices; in allocNewBuffers() 294 int indexCount = fCurIdx - fIndices; in createMeshAndPutBackReserve() 324 fCurIdx + indicesNeeded > fIndices + fIndicesInChunk) { in ensureSpace() 378 uint16_t* fIndices; member in __anon4f9c9cd30111::PathGeoBuilder
|
/third_party/skia/src/utils/ |
D | SkShadowTessellator.cpp | 38 this->indexCount(), fIndices.begin()); in releaseVertices() 47 int indexCount() const { return fIndices.count(); } in indexCount() 97 SkTDArray<uint16_t> fIndices; member in SkBaseShadowTessellator 718 &fIndices); in stitchConcaveRings() 870 auto indices = fIndices.append(3); in appendTriangle() 879 auto indices = fIndices.append(6); in appendQuad() 931 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator() 1034 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 388 const void* fIndices[kMaxDrawCountPerBatch]; in multiDrawElementsANGLEOrWebGL() local 402 fIndices[i] = this->offsetForBaseIndex(baseIndex); in multiDrawElementsANGLEOrWebGL() 409 GR_GL_UNSIGNED_SHORT, fIndices[0], in multiDrawElementsANGLEOrWebGL() 415 GR_GL_UNSIGNED_SHORT, fIndices, in multiDrawElementsANGLEOrWebGL()
|
/third_party/skia/src/gpu/ |
D | GrDataUtils.cpp | 143 uint32_t fIndices; member 164 block->fIndices = 0xFFFFFFFF; in create_BC1_block() 167 block->fIndices = 0; in create_BC1_block() 315 block.fIndices = 0; // init all the pixels to color0 (i.e., opaque black) in GrTwoColorBC1Compress() 327 block.fIndices |= 3 << shift; in GrTwoColorBC1Compress() 329 block.fIndices |= 1 << shift; // color1 in GrTwoColorBC1Compress()
|
/third_party/skia/gm/ |
D | bc1_transparency.cpp | 27 uint32_t fIndices; member 74 block->fIndices = (byte << 24) | (byte << 16) | (byte << 8) | byte; in create_BC1_block()
|
/third_party/skia/include/core/ |
D | SkVertices.h | 127 uint16_t* fIndices; // [indexCount] or null variable
|