Searched defs:devBounds (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/
H A DGrClipData.cpp24 SkRect devBounds; local
30 &devBounds,
33 devBounds.roundOut(devResult);
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);
H A DGrGpu.cpp345 const SkRect* devBounds) {
346 if (!fClipMaskManager.setupClipping(this->getClip(), are, devBounds)) {
343 setupClipAndFlushState(DrawType type, const GrDeviceCoordTexture* dstCopy, GrDrawState::AutoRestoreEffects* are, const SkRect* devBounds) argument
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.cpp215 const SkRect* devBounds) {
269 (requiresAA && this->installClipEffects(elements, are, clipToRTOffset, devBounds))) {
272 if (NULL == devBounds ||
273 !SkRect::Make(scissorSpaceIBounds).contains(*devBounds)) {
213 setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects* are, const SkRect* devBounds) argument
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 DGrInOrderDrawBuffer.cpp189 SkRect devBounds; local
192 get_vertex_bounds(geo.vertices(), vsize, 4, &devBounds);
213 this->drawIndexedInstances(kTriangles_GrPrimitiveType, 1, 4, 6, &devBounds);
219 bool GrInOrderDrawBuffer::quickInsideClip(const SkRect& devBounds) { argument
252 return fClipProxy.contains(devBounds);
256 SkRect clipSpaceBounds = 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...]
/external/skia/src/gpu/
H A DGrClipData.cpp24 SkRect devBounds; local
30 &devBounds,
33 devBounds.roundOut(devResult);
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);
H A DGrGpu.cpp345 const SkRect* devBounds) {
346 if (!fClipMaskManager.setupClipping(this->getClip(), are, devBounds)) {
343 setupClipAndFlushState(DrawType type, const GrDeviceCoordTexture* dstCopy, GrDrawState::AutoRestoreEffects* are, const SkRect* devBounds) argument
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.cpp215 const SkRect* devBounds) {
269 (requiresAA && this->installClipEffects(elements, are, clipToRTOffset, devBounds))) {
272 if (NULL == devBounds ||
273 !SkRect::Make(scissorSpaceIBounds).contains(*devBounds)) {
213 setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects* are, const SkRect* devBounds) argument
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 DGrInOrderDrawBuffer.cpp189 SkRect devBounds; local
192 get_vertex_bounds(geo.vertices(), vsize, 4, &devBounds);
213 this->drawIndexedInstances(kTriangles_GrPrimitiveType, 1, 4, 6, &devBounds);
219 bool GrInOrderDrawBuffer::quickInsideClip(const SkRect& devBounds) { argument
252 return fClipProxy.contains(devBounds);
256 SkRect clipSpaceBounds = 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...]
/external/chromium_org/third_party/skia/src/core/
H A DSkMaskFilter.cpp305 bool SkMaskFilter::canFilterMaskGPU(const SkRect& devBounds, argument
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
H A DSkDraw.cpp125 SkIRect devBounds = fRC->getBounds(); local
127 devBounds.outset(1, 1);
128 inverse.mapRect(localBounds, SkRect::Make(devBounds));
1149 SkIRect devBounds; local
1150 devBounds.set(0, 0, fBitmap->width(), fBitmap->height());
1152 if (!mask.fBounds.intersect(devBounds)) {
/external/skia/src/core/
H A DSkMaskFilter.cpp305 bool SkMaskFilter::canFilterMaskGPU(const SkRect& devBounds, argument
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
H A DSkDraw.cpp125 SkIRect devBounds = fRC->getBounds(); local
127 devBounds.outset(1, 1);
128 inverse.mapRect(localBounds, SkRect::Make(devBounds));
1149 SkIRect devBounds; local
1150 devBounds.set(0, 0, fBitmap->width(), fBitmap->height());
1152 if (!mask.fBounds.intersect(devBounds)) {

Completed in 303 milliseconds