Searched refs:devBounds (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/
H A DGrClipData.cpp24 SkRect devBounds; local
30 &devBounds,
33 devBounds.roundOut(devResult);
H A DGrAAHairLinePathRenderer.h45 SkRect* devBounds);
56 SkRect* devBounds);
H A DGrAAHairLinePathRenderer.cpp536 SkRect* devBounds) {
601 devBounds->growToInclude(&verts[0].fPos, sizeof(BezierVertex), kVertsPerQuad);
634 SkRect* devBounds) {
635 bloat_quad(p, toDevice, toSrc, *vert, devBounds);
645 SkRect* devBounds) {
650 add_quads(newP + 0, subdiv-1, toDevice, toSrc, vert, devBounds);
651 add_quads(newP + 2, subdiv-1, toDevice, toSrc, vert, devBounds);
653 bloat_quad(p, toDevice, toSrc, *vert, devBounds);
727 SkRect* devBounds) {
751 devBounds
534 bloat_quad(const SkPoint qpts[3], const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex verts[kVertsPerQuad], SkRect* devBounds) argument
629 add_conics(const SkPoint p[3], const SkScalar weight, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument
640 add_quads(const SkPoint p[3], int subdiv, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument
722 createLineGeom(const SkPath& path, GrDrawTarget* target, const PtArray& lines, int lineCnt, GrDrawTarget::AutoReleaseGeometry* arg, SkRect* devBounds) argument
764 createBezierGeom( const SkPath& path, GrDrawTarget* target, const PtArray& quads, int quadCnt, const PtArray& conics, int conicCnt, const IntArray& qSubdivs, const FloatArray& cWeights, GrDrawTarget::AutoReleaseGeometry* arg, SkRect* devBounds) argument
851 check_bounds(GrDrawState* drawState, const SkRect& devBounds, void* vertices, int vCount) argument
921 SkRect devBounds; local
967 SkRect devBounds; local
[all...]
H A DGrPictureUtils.cpp84 // Each of these devBounds fields is the state of the device bounds after the op.
85 // So Restore's devBounds are those bounds saved by its paired Save or SaveLayer.
86 void updateClipBounds(const SkRecords::Restore& op) { fCurrentClipBounds = op.devBounds; }
87 void updateClipBounds(const SkRecords::ClipPath& op) { fCurrentClipBounds = op.devBounds; }
88 void updateClipBounds(const SkRecords::ClipRRect& op) { fCurrentClipBounds = op.devBounds; }
89 void updateClipBounds(const SkRecords::ClipRect& op) { fCurrentClipBounds = op.devBounds; }
90 void updateClipBounds(const SkRecords::ClipRegion& op) { fCurrentClipBounds = op.devBounds; }
H A DGrAAConvexPathRenderer.cpp227 SkRect* devBounds) {
231 devBounds->growToInclude(pt.fX, pt.fY);
242 SkRect* devBounds) {
245 add_line_to_segment(pts[2], segments, devBounds);
252 SkASSERT(contains_inclusive(*devBounds, pts[0]));
253 devBounds->growToInclude(pts + 1, 2);
260 SkRect* devBounds) {
265 add_quad_segment(&quads[q], segments, devBounds);
275 SkRect* devBounds) {
298 devBounds
225 add_line_to_segment(const SkPoint& pt, SegmentArray* segments, SkRect* devBounds) argument
240 add_quad_segment(const SkPoint pts[3], SegmentArray* segments, SkRect* devBounds) argument
257 add_cubic_segments(const SkPoint pts[4], SkPath::Direction dir, SegmentArray* segments, SkRect* devBounds) argument
269 get_segments(const SkPath& path, const SkMatrix& m, SegmentArray* segments, SkPoint* fanPt, int* vCount, int* iCount, SkRect* devBounds) argument
674 SkRect devBounds; local
[all...]
H A DGrAARectRenderer.cpp678 SkRect devBounds = { local
685 verts[0].fPos = SkPoint::Make(devBounds.fLeft, devBounds.fTop);
686 verts[1].fPos = SkPoint::Make(devBounds.fLeft, devBounds.fBottom);
687 verts[2].fPos = SkPoint::Make(devBounds.fRight, devBounds.fBottom);
688 verts[3].fPos = SkPoint::Make(devBounds.fRight, devBounds.fTop);
719 SkRect devBounds local
[all...]
H A DGrClipMaskManager.h51 * clip. devBounds is optional but can help optimize clipping.
54 const SkRect* devBounds);
117 const SkRect* devBounds);
H A DGrDrawTarget.cpp478 const SkRect* devBounds) {
491 if (devBounds) {
492 info.setDevBounds(*devBounds);
505 const SkRect* devBounds) {
518 if (devBounds) {
519 info.setDevBounds(*devBounds);
543 SkRect devBounds; local
545 devBounds = SkRect::MakeWH(SkIntToScalar(drawState->getRenderTarget()->width()),
548 devBounds = path->getBounds();
551 viewM.mapRect(&devBounds);
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
626 drawIndexedInstances(GrPrimitiveType type, int instanceCount, int verticesPerInstance, int indicesPerInstance, const SkRect* devBounds) argument
[all...]
H A DGrDefaultPathRenderer.cpp463 SkRect devBounds; local
464 GetPathDevBounds(path, drawState->getRenderTarget(), viewM, &devBounds);
481 bounds = devBounds;
501 vertexCnt, indexCnt, &devBounds);
503 target->drawNonIndexed(primType, 0, vertexCnt, &devBounds);
/external/skia/src/gpu/
H A DGrClipData.cpp24 SkRect devBounds; local
30 &devBounds,
33 devBounds.roundOut(devResult);
H A DGrAAHairLinePathRenderer.h45 SkRect* devBounds);
56 SkRect* devBounds);
H A DGrAAHairLinePathRenderer.cpp536 SkRect* devBounds) {
601 devBounds->growToInclude(&verts[0].fPos, sizeof(BezierVertex), kVertsPerQuad);
634 SkRect* devBounds) {
635 bloat_quad(p, toDevice, toSrc, *vert, devBounds);
645 SkRect* devBounds) {
650 add_quads(newP + 0, subdiv-1, toDevice, toSrc, vert, devBounds);
651 add_quads(newP + 2, subdiv-1, toDevice, toSrc, vert, devBounds);
653 bloat_quad(p, toDevice, toSrc, *vert, devBounds);
727 SkRect* devBounds) {
751 devBounds
534 bloat_quad(const SkPoint qpts[3], const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex verts[kVertsPerQuad], SkRect* devBounds) argument
629 add_conics(const SkPoint p[3], const SkScalar weight, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument
640 add_quads(const SkPoint p[3], int subdiv, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument
722 createLineGeom(const SkPath& path, GrDrawTarget* target, const PtArray& lines, int lineCnt, GrDrawTarget::AutoReleaseGeometry* arg, SkRect* devBounds) argument
764 createBezierGeom( const SkPath& path, GrDrawTarget* target, const PtArray& quads, int quadCnt, const PtArray& conics, int conicCnt, const IntArray& qSubdivs, const FloatArray& cWeights, GrDrawTarget::AutoReleaseGeometry* arg, SkRect* devBounds) argument
851 check_bounds(GrDrawState* drawState, const SkRect& devBounds, void* vertices, int vCount) argument
921 SkRect devBounds; local
967 SkRect devBounds; local
[all...]
H A DGrAAConvexPathRenderer.cpp226 SkRect* devBounds) {
230 devBounds->growToInclude(pt.fX, pt.fY);
241 SkRect* devBounds) {
244 add_line_to_segment(pts[2], segments, devBounds);
251 SkASSERT(contains_inclusive(*devBounds, pts[0]));
252 devBounds->growToInclude(pts + 1, 2);
259 SkRect* devBounds) {
264 add_quad_segment(&quads[q], segments, devBounds);
274 SkRect* devBounds) {
297 devBounds
224 add_line_to_segment(const SkPoint& pt, SegmentArray* segments, SkRect* devBounds) argument
239 add_quad_segment(const SkPoint pts[3], SegmentArray* segments, SkRect* devBounds) argument
256 add_cubic_segments(const SkPoint pts[4], SkPath::Direction dir, SegmentArray* segments, SkRect* devBounds) argument
268 get_segments(const SkPath& path, const SkMatrix& m, SegmentArray* segments, SkPoint* fanPt, int* vCount, int* iCount, SkRect* devBounds) argument
667 SkRect devBounds; local
[all...]
H A DGrAARectRenderer.cpp649 SkRect devBounds = { local
656 verts[0].fPos = SkPoint::Make(devBounds.fLeft, devBounds.fTop);
657 verts[1].fPos = SkPoint::Make(devBounds.fLeft, devBounds.fBottom);
658 verts[2].fPos = SkPoint::Make(devBounds.fRight, devBounds.fBottom);
659 verts[3].fPos = SkPoint::Make(devBounds.fRight, devBounds.fTop);
691 SkRect devBounds local
[all...]
H A DGrClipMaskManager.h51 * clip. devBounds is optional but can help optimize clipping.
54 const SkRect* devBounds);
113 const SkRect* devBounds);
H A DGrDrawTarget.cpp468 const SkRect* devBounds) {
481 if (NULL != devBounds) {
482 info.setDevBounds(*devBounds);
495 const SkRect* devBounds) {
508 if (NULL != devBounds) {
509 info.setDevBounds(*devBounds);
533 SkRect devBounds; local
535 devBounds = SkRect::MakeWH(SkIntToScalar(drawState->getRenderTarget()->width()),
538 devBounds = path->getBounds();
541 viewM.mapRect(&devBounds);
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
562 SkRect devBounds; local
646 drawIndexedInstances(GrPrimitiveType type, int instanceCount, int verticesPerInstance, int indicesPerInstance, const SkRect* devBounds) argument
[all...]
H A DGrDefaultPathRenderer.cpp463 SkRect devBounds; local
464 GetPathDevBounds(path, drawState->getRenderTarget(), viewM, &devBounds);
481 bounds = devBounds;
501 vertexCnt, indexCnt, &devBounds);
503 target->drawNonIndexed(primType, 0, vertexCnt, &devBounds);
/external/chromium_org/third_party/skia/src/core/
H A DSkRecorder.h127 SkIRect devBounds() const { function in class:SkRecorder
128 SkIRect devBounds; local
129 this->getClipDeviceBounds(&devBounds);
130 return devBounds;
H A DSkRecorder.cpp253 APPEND(Restore, this->devBounds(), this->getTotalMatrix());
279 APPEND(ClipRect, this->devBounds(), rect, op, edgeStyle == kSoft_ClipEdgeStyle);
284 APPEND(ClipRRect, this->devBounds(), rrect, op, edgeStyle == kSoft_ClipEdgeStyle);
289 APPEND(ClipPath, this->devBounds(), delay_copy(path), op, edgeStyle == kSoft_ClipEdgeStyle);
294 APPEND(ClipRegion, this->devBounds(), delay_copy(deviceRgn), op);
H A DSkRecords.h201 RECORD2(Restore, SkIRect, devBounds, SkMatrix, matrix);
210 RECORD4(ClipPath, SkIRect, devBounds, SkPath, path, SkRegion::Op, op, bool, doAA);
211 RECORD4(ClipRRect, SkIRect, devBounds, SkRRect, rrect, SkRegion::Op, op, bool, doAA);
212 RECORD4(ClipRect, SkIRect, devBounds, SkRect, rect, SkRegion::Op, op, bool, doAA);
213 RECORD3(ClipRegion, SkIRect, devBounds, SkRegion, region, SkRegion::Op, op);
H A DSkRecordDraw.cpp192 void updateClipBounds(const ClipPath& op) { this->updateClipBoundsForClipOp(op.devBounds); }
193 void updateClipBounds(const ClipRRect& op) { this->updateClipBoundsForClipOp(op.devBounds); }
194 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); }
195 void updateClipBounds(const ClipRegion& op) { this->updateClipBoundsForClipOp(op.devBounds); }
198 void updateClipBoundsForClipOp(const SkIRect& devBounds) { argument
199 Bounds clip = SkRect::Make(devBounds);
205 // Restore holds the devBounds for the clip after the {save,saveLayer}/restore block completes.
209 // devBounds reflect the state of the world after the saveLayer/restore block is done,
212 Bounds clip = SkRect::Make(op.devBounds);
H A DSkClipStack.cpp807 SkRect* devBounds,
809 SkASSERT(devBounds);
811 devBounds->setLTRB(0, 0,
826 if (!devBounds->intersect(temp)) {
827 devBounds->setEmpty();
803 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const argument
/external/chromium_org/third_party/skia/include/core/
H A DSkMaskFilter.h89 virtual bool canFilterMaskGPU(const SkRect& devBounds,
/external/skia/include/core/
H A DSkMaskFilter.h91 virtual bool canFilterMaskGPU(const SkRect& devBounds,
/external/skia/src/core/
H A DSkClipStack.cpp807 SkRect* devBounds,
809 SkASSERT(NULL != devBounds);
811 devBounds->setLTRB(0, 0,
826 if (!devBounds->intersect(temp)) {
827 devBounds->setEmpty();
803 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const argument

Completed in 2134 milliseconds

12