Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkVertState.cpp23 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()
DSkVertices.cpp136 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 …]
DSkVertState.h28 : fIndices(indices) { in VertState()
48 const uint16_t* fIndices; member
DSkVerticesPriv.h27 bool hasIndices() const { return SkToBool(fVertices->fIndices); } in hasIndices()
35 const uint16_t* indices() const { return fVertices->fIndices; } in indices()
DSkCompressedDataUtils.cpp158 uint32_t fIndices; member
218 int index = (curBlock->fIndices >> shift) & 0x3; in decompress_bc1()
/third_party/flutter/skia/src/core/
DSkVertState.cpp23 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()
DSkVertices.cpp130 fVertices->fIndices = sizes.fISize ? (uint16_t*)ptr : nullptr; in init()
147 fVertices->fIndices[3 * t + 0] = tempIndices[0]; in detach()
148 fVertices->fIndices[3 * t + 1] = tempIndices[t + 1]; in detach()
149 fVertices->fIndices[3 * t + 2] = tempIndices[t + 2]; in detach()
155 fVertices->fIndices[3 * t + 0] = 0; in detach()
156 fVertices->fIndices[3 * t + 1] = SkToU16(t + 1); in detach()
157 fVertices->fIndices[3 * t + 2] = SkToU16(t + 2); in detach()
372 writer.writePad(fIndices, sizes.fISize); in encode()
DSkVertState.h28 : fIndices(indices) { in VertState()
48 const uint16_t* fIndices; member
/third_party/skia/bench/
DImageCacheBudgetBench.cpp75 , 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/flutter/skia/bench/
DImageCacheBudgetBench.cpp76 , fIndices(nullptr) { in ImageCacheBudgetBench()
99 fIndices.reset(new int[kSimulatedFrames * kImagesToDraw]); in onPerCanvasPreDraw()
101 int* base = fIndices.get() + frame * kImagesToDraw; in onPerCanvasPreDraw()
121 fIndices.reset(nullptr); in onPerCanvasPostDraw()
130 idx = fIndices[frame * kImagesToDraw + j]; in onDraw()
150 std::unique_ptr<int[]> fIndices; member in ImageCacheBudgetBench
/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp128 *fIndices.push() = i0; in addTri()
129 *fIndices.push() = i1; in addTri()
130 *fIndices.push() = i2; in addTri()
137 fIndices.rewind(); in rewind()
264 fIndices.rewind(); in tessellate()
389 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath()
836 SkASSERT(0 == (fIndices.count() % 3)); in validate()
1072 for (int i = 0; i < fIndices.count(); i += 3) { in draw()
1073 SkASSERT(fIndices[i] < this->numPts()) ; in draw()
1074 SkASSERT(fIndices[i+1] < this->numPts()) ; in draw()
[all …]
DGrDefaultPathRenderer.cpp77 , fIndices(nullptr) { in PathGeoBuilder()
244 fIndices = fTarget->makeIndexSpaceAtLeast(kMinIndicesPerChunk, kFallbackIndicesPerChunk, in allocNewBuffers()
250 fCurIdx = fIndices; in allocNewBuffers()
267 int indexCount = fCurIdx - fIndices; in emitMeshAndPutBackReserve()
289 fCurIdx + indicesNeeded > fIndices + fIndicesInChunk) { in needSpace()
327 uint16_t* fIndices; member in __anon30e8e0b30111::PathGeoBuilder
DGrAAConvexTessellator.h52 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/geometry/
DGrAAConvexTessellator.cpp138 *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 …]
DGrAAConvexTessellator.h52 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/
DDefaultPathRenderer.cpp69 , 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 __anonc7ae49a50111::PathGeoBuilder
/third_party/flutter/skia/include/core/
DSkVertices.h255 const uint16_t* indices() const { return fIndices; } in indices()
311 if (fIndices != nullptr) { in dump()
312 desc += split + "\t fIndices: " + std::to_string(*fIndices) + "\n"; in dump()
345 uint16_t* fIndices; variable
/third_party/skia/src/gpu/
DGrDataUtils.cpp133 uint32_t fIndices; member
154 block->fIndices = 0xFFFFFFFF; in create_BC1_block()
157 block->fIndices = 0; in create_BC1_block()
267 block.fIndices = 0; // init all the pixels to color0 (i.e., opaque black) in GrTwoColorBC1Compress()
279 block.fIndices |= 3 << shift; in GrTwoColorBC1Compress()
281 block.fIndices |= 1 << shift; // color1 in GrTwoColorBC1Compress()
/third_party/skia/src/utils/
DSkShadowTessellator.cpp38 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/flutter/skia/src/utils/
DSkShadowTessellator.cpp37 this->indexCount(), fIndices.begin()); in releaseVertices()
46 int indexCount() const { return fIndices.count(); } in indexCount()
96 SkTDArray<uint16_t> fIndices; member in SkBaseShadowTessellator
721 &fIndices); in stitchConcaveRings()
873 auto indices = fIndices.append(3); in appendTriangle()
882 auto indices = fIndices.append(6); in appendQuad()
934 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator()
1037 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp388 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/gm/
Dbc1_transparency.cpp27 uint32_t fIndices; member
74 block->fIndices = (byte << 24) | (byte << 16) | (byte << 8) | byte; in create_BC1_block()
/third_party/skia/include/core/
DSkVertices.h127 uint16_t* fIndices; // [indexCount] or null variable