Searched refs:vertexCount (Results 1 - 25 of 123) sorted by relevance

12345

/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.h150 * vertexCount then the vertex source will be unmodified and likewise for
157 * return false. If vertexCount was non-zero then upon failure the vertex
165 * @param vertexCount the number of vertices to reserve space for. Can be
168 * @param vertices will point to reserved vertex space if vertexCount is
169 * non-zero. Illegal to pass NULL if vertexCount > 0.
173 bool reserveVertexAndIndexSpace(int vertexCount,
186 * @param vertexCount in: hint about how many vertices the caller would
200 virtual bool geometryHints(int* vertexCount,
208 * @param vertexCount the number of vertices in the array. Vertex size is
211 void setVertexSourceToArray(const void* vertexArray, int vertexCount);
801 int vertexCount() const { return fVertexCount; } function in class:GrDrawTarget::DrawInfo
861 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
[all...]
H A DGrDrawTarget.cpp150 int vertexCount,
154 if (vertexCount > 0) {
160 vertexCount,
165 geoSrc.fVertexCount = vertexCount;
194 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount, argument
199 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
200 if (vertexCount) {
201 if (!this->reserveVertexSpace(vertexStride, vertexCount, vertices)) {
210 if (vertexCount) {
219 bool GrDrawTarget::geometryHints(int32_t* vertexCount, argument
149 reserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
276 setVertexSourceToArray(const void* vertexArray, int vertexCount) argument
349 checkDraw(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount) const argument
473 drawIndexed(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount, const SkRect* devBounds) argument
502 drawNonIndexed(GrPrimitiveType type, int startVertex, int vertexCount, const SkRect* devBounds) argument
798 AutoReleaseGeometry( GrDrawTarget* target, int vertexCount, int indexCount) argument
814 set(GrDrawTarget* target, int vertexCount, int indexCount) argument
[all...]
H A DGrBufferAllocPool.h221 * @param vertexCount number of vertices to allocate space for
229 int vertexCount,
237 int vertexCount,
H A DGrInOrderDrawBuffer.cpp59 int vertexCount,
62 SkASSERT(vertexCount > 0);
66 for (int i = 1; i < vertexCount; ++i) {
251 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) {
255 SkASSERT(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount());
349 size_t bytes = (info.vertexCount() + info.startVertex()) * drawState.getVertexStride();
633 void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount, argument
644 !vertexCount &&
655 int vcount = vertexCount;
668 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount, argument
57 get_vertex_bounds(const void* vertices, size_t vertexSize, int vertexCount, SkRect* bounds) argument
698 onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
764 onSetVertexSourceToArray(const void* vertexArray, int vertexCount) argument
[all...]
H A DGrBufferAllocPool.cpp401 int vertexCount,
405 SkASSERT(vertexCount >= 0);
411 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
423 int vertexCount,
427 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex);
431 vertexSize * vertexCount);
400 makeSpace(size_t vertexSize, int vertexCount, const GrVertexBuffer** buffer, int* startVertex) argument
422 appendVertices(size_t vertexSize, int vertexCount, const void* vertices, const GrVertexBuffer** buffer, int* startVertex) argument
H A DGrInOrderDrawBuffer.h75 virtual bool geometryHints(int* vertexCount,
213 int vertexCount,
220 int vertexCount) SK_OVERRIDE;
227 virtual void willReserveVertexAndIndexSpace(int vertexCount,
H A DGrGpu.cpp422 int vertexCount,
426 SkASSERT(vertexCount > 0);
432 vertexCount,
476 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) { argument
483 vertexCount,
421 onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
H A DGrGpu.h399 virtual bool onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) SK_OVERRIDE;
403 virtual void onSetVertexSourceToArray(const void* vertexArray, int vertexCount) SK_OVERRIDE;
/external/skia/src/gpu/
H A DGrDrawTarget.h170 * vertexCount then the vertex source will be unmodified and likewise for
177 * return false. If vertexCount was non-zero then upon failure the vertex
185 * @param vertexCount the number of vertices to reserve space for. Can be
188 * @param vertices will point to reserved vertex space if vertexCount is
189 * non-zero. Illegal to pass NULL if vertexCount > 0.
193 bool reserveVertexAndIndexSpace(int vertexCount,
206 * @param vertexCount in: hint about how many vertices the caller would
220 virtual bool geometryHints(int* vertexCount,
228 * @param vertexCount the number of vertices in the array. Vertex size is
231 void setVertexSourceToArray(const void* vertexArray, int vertexCount);
819 int vertexCount() const { return fVertexCount; } function in class:GrDrawTarget::DrawInfo
879 willReserveVertexAndIndexSpace(int vertexCount, int indexCount) argument
[all...]
H A DGrDrawTarget.cpp149 int vertexCount,
153 if (vertexCount > 0) {
159 vertexCount,
164 geoSrc.fVertexCount = vertexCount;
193 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount, argument
198 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
199 if (vertexCount) {
200 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) {
209 if (vertexCount) {
218 bool GrDrawTarget::geometryHints(int32_t* vertexCount, argument
148 reserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
275 setVertexSourceToArray(const void* vertexArray, int vertexCount) argument
348 checkDraw(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount) const argument
463 drawIndexed(GrPrimitiveType type, int startVertex, int startIndex, int vertexCount, int indexCount, const SkRect* devBounds) argument
492 drawNonIndexed(GrPrimitiveType type, int startVertex, int vertexCount, const SkRect* devBounds) argument
824 AutoReleaseGeometry( GrDrawTarget* target, int vertexCount, int indexCount) argument
840 set(GrDrawTarget* target, int vertexCount, int indexCount) argument
[all...]
H A DGrBufferAllocPool.h221 * @param vertexCount number of vertices to allocate space for
229 int vertexCount,
237 int vertexCount,
H A DGrInOrderDrawBuffer.cpp63 int vertexCount,
66 SkASSERT(vertexCount > 0);
70 for (int i = 1; i < vertexCount; ++i) {
294 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) {
298 SkASSERT(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount());
381 size_t vertexBytes = (info.vertexCount() + info.startVertex()) *
716 void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount, argument
727 !vertexCount &&
738 int vcount = vertexCount;
751 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount, argument
61 get_vertex_bounds(const void* vertices, size_t vertexSize, int vertexCount, SkRect* bounds) argument
781 onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
847 onSetVertexSourceToArray(const void* vertexArray, int vertexCount) argument
[all...]
H A DGrInOrderDrawBuffer.h70 virtual bool geometryHints(int* vertexCount,
163 int vertexCount,
170 int vertexCount) SK_OVERRIDE;
177 virtual void willReserveVertexAndIndexSpace(int vertexCount,
H A DGrBufferAllocPool.cpp390 int vertexCount,
394 SkASSERT(vertexCount >= 0);
400 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
412 int vertexCount,
416 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex);
420 vertexSize * vertexCount);
389 makeSpace(size_t vertexSize, int vertexCount, const GrVertexBuffer** buffer, int* startVertex) argument
411 appendVertices(size_t vertexSize, int vertexCount, const void* vertices, const GrVertexBuffer** buffer, int* startVertex) argument
H A DGrGpu.cpp475 int vertexCount,
479 SkASSERT(vertexCount > 0);
485 vertexCount,
529 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) { argument
536 vertexCount,
474 onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) argument
/external/skia/src/core/
H A DSkRecorder.cpp194 int vertexCount, const SkPoint vertices[],
200 vertexCount,
201 this->copy(vertices, vertexCount),
202 texs ? this->copy(texs, vertexCount) : NULL,
203 colors ? this->copy(colors, vertexCount) : NULL,
193 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkBBoxRecord.h52 virtual void drawVertices(VertexMode mode, int vertexCount,
H A DSkRecords.h250 int vertexCount,
259 , vertexCount(vertexCount)
269 int vertexCount; member in struct:SkRecords::DrawVertices
248 DrawVertices(const SkPaint& paint, SkCanvas::VertexMode vmode, int vertexCount, SkPoint* vertices, SkPoint* texs, SkColor* colors, SkXfermode* xmode, uint16_t* indices, int indexCount) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkRecorder.cpp209 int vertexCount, const SkPoint vertices[],
215 vertexCount,
216 this->copy(vertices, vertexCount),
217 texs ? this->copy(texs, vertexCount) : NULL,
218 colors ? this->copy(colors, vertexCount) : NULL,
208 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkRecords.h285 int vertexCount,
294 , vertexCount(vertexCount)
304 int vertexCount; member in struct:SkRecords::DrawVertices
283 DrawVertices(const SkPaint& paint, SkCanvas::VertexMode vmode, int vertexCount, SkPoint* vertices, SkPoint* texs, SkColor* colors, SkXfermode* xmode, uint16_t* indices, int indexCount) argument
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A Dgeometry_utils.cpp15 size_t vertexCount = (parellelCount + 1) * (sliceCount + 1); local
19 result->positions.resize(vertexCount);
20 result->normals.resize(vertexCount);
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkTrackDevice.h138 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, argument
144 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
/external/chromium_org/third_party/skia/src/utils/
H A DSkProxyCanvas.cpp149 void SkProxyCanvas::drawVertices(VertexMode vmode, int vertexCount, argument
154 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,
/external/skia/experimental/PdfViewer/
H A DSkTrackDevice.h142 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, argument
148 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
/external/skia/src/utils/
H A DSkProxyCanvas.cpp143 void SkProxyCanvas::drawVertices(VertexMode vmode, int vertexCount, argument
148 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,

Completed in 285 milliseconds

12345