/external/skia/src/core/ |
SkVertices.cpp | 72 return; // fVertices will already be null 76 fVertices.reset(new (storage) SkVertices); 81 fVertices->fPositions = (SkPoint*)ptr; ptr += sizes.fVSize; 82 fVertices->fTexs = sizes.fTSize ? (SkPoint*)ptr : nullptr; ptr += sizes.fTSize; 83 fVertices->fColors = sizes.fCSize ? (SkColor*)ptr : nullptr; ptr += sizes.fCSize; 84 fVertices->fIndices = sizes.fISize ? (uint16_t*)ptr : nullptr; 85 fVertices->fVertexCnt = vertexCount; 86 fVertices->fIndexCnt = indexCount; 87 fVertices->fMode = mode; 92 if (fVertices) { [all...] |
/external/skqp/src/core/ |
SkVertices.cpp | 72 return; // fVertices will already be null 76 fVertices.reset(new (storage) SkVertices); 81 fVertices->fPositions = (SkPoint*)ptr; ptr += sizes.fVSize; 82 fVertices->fTexs = sizes.fTSize ? (SkPoint*)ptr : nullptr; ptr += sizes.fTSize; 83 fVertices->fColors = sizes.fCSize ? (SkColor*)ptr : nullptr; ptr += sizes.fCSize; 84 fVertices->fIndices = sizes.fISize ? (uint16_t*)ptr : nullptr; 85 fVertices->fVertexCnt = vertexCount; 86 fVertices->fIndexCnt = indexCount; 87 fVertices->fMode = mode; 92 if (fVertices) { [all...] |
/external/skia/src/gpu/ops/ |
GrDrawVerticesOp.h | 81 sk_sp<SkVertices> fVertices; 87 return fVertices->hasTexCoords() && !fIgnoreTexCoords; 91 return fVertices->hasColors() && !fIgnoreColors; 97 return fMeshes[0].fVertices->hasIndices(); 121 // GrPrimitiveType is more expressive than fVertices.mode() so it is used instead and we ignore
|
GrTessellatingPathRenderer.cpp | 75 , fVertices(nullptr) { 85 fVertices = fVertexBuffer->map(); 87 fVertices = sk_malloc_throw(vertexCount * stride()); 89 return fVertices; 95 fVertexBuffer->updateData(fVertices, actualCount * stride()); 96 sk_free(fVertices); 98 fVertices = nullptr; 105 void* fVertices; 114 , fVertices(nullptr) {} 117 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex) [all...] |
GrDrawVerticesOp.cpp | 50 mesh.fVertices = std::move(vertices); 68 this->setTransformedBounds(mesh.fVertices->bounds(), viewMatrix, HasAABloat::kNo, zeroArea); 183 int indexCount = mesh.fVertices->indexCount(); 185 *indices++ = mesh.fVertices->indices()[j] + vertexOffset; 188 int vertexCount = mesh.fVertices->vertexCount(); 189 const SkPoint* positions = mesh.fVertices->positions(); 190 const SkColor* colors = mesh.fVertices->colors(); 191 const SkPoint* localCoords = mesh.fVertices->texCoords(); 264 if (fMeshes[0].fVertices->hasIndices() != that->fMeshes[0].fVertices->hasIndices()) [all...] |
GrDefaultPathRenderer.cpp | 216 uint16_t currentIndex() const { return fCurVert - fVertices; } 227 fVertices = static_cast<SkPoint*>(fTarget->makeVertexSpaceAtLeast(fVertexStride, 246 fCurVert = fVertices; 263 int vertexCount = fCurVert - fVertices; 283 if (fCurVert + vertsNeeded > fVertices + fVerticesInChunk || 292 SkPoint subpathStartPt = fVertices[fSubpathIndexStart]; 317 SkPoint* fVertices;
|
/external/skqp/src/gpu/ops/ |
GrDrawVerticesOp.h | 81 sk_sp<SkVertices> fVertices; 87 return fVertices->hasTexCoords() && !fIgnoreTexCoords; 91 return fVertices->hasColors() && !fIgnoreColors; 97 return fMeshes[0].fVertices->hasIndices(); 121 // GrPrimitiveType is more expressive than fVertices.mode() so it is used instead and we ignore
|
GrTessellatingPathRenderer.cpp | 75 , fVertices(nullptr) { 85 fVertices = fVertexBuffer->map(); 87 fVertices = sk_malloc_throw(vertexCount * stride()); 89 return fVertices; 95 fVertexBuffer->updateData(fVertices, actualCount * stride()); 96 sk_free(fVertices); 98 fVertices = nullptr; 105 void* fVertices; 114 , fVertices(nullptr) {} 117 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex) [all...] |
GrDrawVerticesOp.cpp | 50 mesh.fVertices = std::move(vertices); 68 this->setTransformedBounds(mesh.fVertices->bounds(), viewMatrix, HasAABloat::kNo, zeroArea); 183 int indexCount = mesh.fVertices->indexCount(); 185 *indices++ = mesh.fVertices->indices()[j] + vertexOffset; 188 int vertexCount = mesh.fVertices->vertexCount(); 189 const SkPoint* positions = mesh.fVertices->positions(); 190 const SkColor* colors = mesh.fVertices->colors(); 191 const SkPoint* localCoords = mesh.fVertices->texCoords(); 264 if (fMeshes[0].fVertices->hasIndices() != that->fMeshes[0].fVertices->hasIndices()) [all...] |
GrDefaultPathRenderer.cpp | 216 uint16_t currentIndex() const { return fCurVert - fVertices; } 227 fVertices = static_cast<SkPoint*>(fTarget->makeVertexSpaceAtLeast(fVertexStride, 246 fCurVert = fVertices; 263 int vertexCount = fCurVert - fVertices; 283 if (fCurVert + vertsNeeded > fVertices + fVerticesInChunk || 292 SkPoint subpathStartPt = fVertices[fSubpathIndexStart]; 317 SkPoint* fVertices;
|
/external/skia/include/core/ |
SkVertices.h | 58 bool isValid() const { return fVertices != nullptr; } 77 sk_sp<SkVertices> fVertices;
|
/external/skqp/include/core/ |
SkVertices.h | 58 bool isValid() const { return fVertices != nullptr; } 77 sk_sp<SkVertices> fVertices;
|
/external/skqp/src/utils/ |
SkShadowUtils.cpp | 232 return fEntries[i].fVertices; 249 fSize -= fEntries[i].fVertices->approximateSize(); 252 fEntries[i].fVertices = vertices; 261 sk_sp<SkVertices> fVertices; 321 sk_sp<SkVertices> fVertices; 340 findContext->fVertices = 342 if (findContext->fVertices) { 409 bool foundInCache = SkToBool(context.fVertices); 411 vertices = std::move(context.fVertices);
|
/external/skia/src/utils/ |
SkShadowUtils.cpp | 233 return fEntries[i].fVertices; 250 fSize -= fEntries[i].fVertices->approximateSize(); 253 fEntries[i].fVertices = vertices; 262 sk_sp<SkVertices> fVertices; 322 sk_sp<SkVertices> fVertices; 341 findContext->fVertices = 343 if (findContext->fVertices) { 410 bool foundInCache = SkToBool(context.fVertices); 412 vertices = std::move(context.fVertices);
|
/external/skqp/src/gpu/text/ |
GrAtlasTextBlobVertexRegenerator.cpp | 256 char* currVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + 347 result.fFirstVertex = fBlob->fVertices + fSubRun->vertexStartIndex() +
|
GrAtlasTextBlob.cpp | 38 cacheBlob->fVertices = sizeof(GrAtlasTextBlob) + reinterpret_cast<char*>(cacheBlob.get()); 39 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); 113 intptr_t vertex = reinterpret_cast<intptr_t>(this->fVertices + subRun->vertexEndIndex());
|
GrAtlasTextBlob.h | 535 char* fVertices;
|
/external/skia/src/gpu/text/ |
GrAtlasTextBlob.cpp | 44 cacheBlob->fVertices = sizeof(GrAtlasTextBlob) + reinterpret_cast<char*>(cacheBlob.get()); 45 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); 127 intptr_t vertex = reinterpret_cast<intptr_t>(this->fVertices + subRun->vertexEndIndex());
|
GrAtlasTextBlobVertexRegenerator.cpp | 260 char* currVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + 352 result.fFirstVertex = fBlob->fVertices + fSubRun->vertexStartIndex() +
|
GrAtlasTextBlob.h | 530 char* fVertices;
|
/external/skia/tools/debugger/ |
SkDrawCommand.h | 707 sk_sp<SkVertices> fVertices;
|
SkDrawCommand.cpp | [all...] |
/external/skqp/tools/debugger/ |
SkDrawCommand.h | 707 sk_sp<SkVertices> fVertices;
|
SkDrawCommand.cpp | [all...] |