Searched refs:indexCount (Results 1 - 25 of 109) sorted by relevance

12345

/external/skia/src/core/
H A DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
31 fCount = indexCount;
H A DSkVertices.cpp26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { argument
32 fISize = safe.mul(indexCount, sizeof(uint16_t));
56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
60 this->init(mode, vertexCount, indexCount,
61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors));
64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
66 this->init(mode, vertexCount, indexCount, sizes);
69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, argument
86 fVertices->fIndexCnt = indexCount;
104 int SkVertices::Builder::indexCount() cons function in class:SkVertices::Builder
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
203 const int indexCount = safe.checkGE(reader.readInt(), 0); local
[all...]
/external/skqp/src/core/
H A DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
31 fCount = indexCount;
H A DSkVertices.cpp26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { argument
32 fISize = safe.mul(indexCount, sizeof(uint16_t));
56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
60 this->init(mode, vertexCount, indexCount,
61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors));
64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
66 this->init(mode, vertexCount, indexCount, sizes);
69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, argument
86 fVertices->fIndexCnt = indexCount;
104 int SkVertices::Builder::indexCount() cons function in class:SkVertices::Builder
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
203 const int indexCount = safe.checkGE(reader.readInt(), 0); local
[all...]
/external/skia/src/gpu/
H A DGrMesh.h37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex,
39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount,
44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount,
56 const GrBuffer* indexBuffer, int indexCount,
67 const GrBuffer* indexBuffer, int indexCount,
138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, argument
141 SkASSERT(indexCount >= 1);
146 fIndexData.fIndexCount = indexCount;
153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, argument
157 SkASSERT(indexCount >
181 setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, const GrBuffer* instanceBuffer, int instanceCount, int baseInstance) argument
[all...]
H A DGrOpFlushState.cpp166 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { argument
167 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex));
184 void GrOpFlushState::putBackIndices(int indexCount) { argument
185 fIndexPool.putBack(indexCount * sizeof(uint16_t));
H A DGrOpFlushState.h79 uint16_t* makeIndexSpace(int indexCount, const GrBuffer**, int* startIndex) final;
84 void putBackIndices(int indexCount) final;
H A DGrBufferAllocPool.h250 * @param indexCount number of indices to allocate space for
255 void* makeSpace(int indexCount,
/external/skqp/src/gpu/
H A DGrMesh.h37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex,
39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount,
44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount,
56 const GrBuffer* indexBuffer, int indexCount,
67 const GrBuffer* indexBuffer, int indexCount,
138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, argument
141 SkASSERT(indexCount >= 1);
146 fIndexData.fIndexCount = indexCount;
153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, argument
157 SkASSERT(indexCount >
181 setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, const GrBuffer* instanceBuffer, int instanceCount, int baseInstance) argument
[all...]
H A DGrOpFlushState.cpp162 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { argument
163 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex));
180 void GrOpFlushState::putBackIndices(int indexCount) { argument
181 fIndexPool.putBack(indexCount * sizeof(uint16_t));
H A DGrOpFlushState.h79 uint16_t* makeIndexSpace(int indexCount, const GrBuffer**, int* startIndex) final;
84 void putBackIndices(int indexCount) final;
H A DGrBufferAllocPool.h250 * @param indexCount number of indices to allocate space for
255 void* makeSpace(int indexCount,
/external/skia/include/core/
H A DSkVertices.h32 * and indices is ignored if indexCount == 0.
38 int indexCount,
56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags);
62 int indexCount() const;
72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
95 int indexCount() const { return fIndexCnt; } function in class:SkVertices
/external/skqp/include/core/
H A DSkVertices.h32 * and indices is ignored if indexCount == 0.
38 int indexCount,
56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags);
62 int indexCount() const;
72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
95 int indexCount() const { return fIndexCnt; } function in class:SkVertices
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp209 int indexCount, uint16_t* indices) const {
210 if (vertexCount == 0 || indexCount == 0) {
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
231 memcpy(idxs, indices, indexCount * sizeof(uint16_t));
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
259 int indexCount = 0; variable
274 if (indexCount + currentIndices > UINT16_MAX) {
278 indexCount, indices);
280 indexCount = 0;
287 if (indexCount
207 draw(GrMeshDrawOp::Target* target, const GrGeometryProcessor* gp, const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const argument
[all...]
/external/skqp/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp209 int indexCount, uint16_t* indices) const {
210 if (vertexCount == 0 || indexCount == 0) {
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
231 memcpy(idxs, indices, indexCount * sizeof(uint16_t));
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
259 int indexCount = 0; variable
275 if (indexCount + currentIndices > UINT16_MAX) {
279 indexCount, indices);
281 indexCount = 0;
288 if (indexCount
207 draw(GrMeshDrawOp::Target* target, const GrGeometryProcessor* gp, const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const argument
[all...]
/external/skia/tests/
H A DVerticesTest.cpp21 if (v0->indexCount() != v1->indexCount()) {
47 for (int i = 0; i < v0->indexCount(); ++i) {
77 for (int i = 0; i < builder.indexCount(); ++i) {
/external/skqp/tests/
H A DVerticesTest.cpp21 if (v0->indexCount() != v1->indexCount()) {
47 for (int i = 0; i < v0->indexCount(); ++i) {
77 for (int i = 0; i < builder.indexCount(); ++i) {
/external/skia/src/gpu/vk/
H A DGrVkGpuCommandBuffer.h111 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex,
124 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
/external/replicaisland/src/com/replica/replicaisland/
H A DGrid.java108 int indexCount = quadCount * 6;
109 mIndexCount = indexCount;
110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
240 public void drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) { argument
241 int count = indexCount;
242 if (startIndex + indexCount >= mIndexCount) {
/external/icu/icu4c/source/test/letest/
H A Dxmlreader.cpp183 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
229 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
234 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
235 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
236 id, charCount, glyphCount, indexCount, positionCount);
/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.cpp187 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
233 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
238 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
239 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
240 id, charCount, glyphCount, indexCount, positionCount);
/external/libunwind_llvm/include/mach-o/
H A Dcompact_unwind_encoding.h418 uint32_t indexCount; member in struct:unwind_info_section_header
/external/skqp/src/gpu/vk/
H A DGrVkGpuCommandBuffer.h111 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex,
124 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
/external/skqp/src/gpu/ccpr/
H A DGrCCPathParser.cpp210 int indexCount, const Sk2f& atlasOffset,
212 if (indexCount < 3) {
216 int32_t oneThirdCount = indexCount / 3;
217 int32_t twoThirdsCount = (2 * indexCount) / 3;
225 int endIndex = firstIndex + indexCount;
229 indexCount - twoThirdsCount + 1, atlasOffset, out);
208 emit_recursive_fan(const SkTArray<SkPoint, true>& pts, SkTArray<int32_t, true>& indices, int firstIndex, int indexCount, const Sk2f& atlasOffset, TriangleInstance out[]) argument

Completed in 951 milliseconds

12345