Home | History | Annotate | Download | only in utils

Lines Matching full:skdeferredcanvas

9 #include "SkDeferredCanvas.h"
147 void setNotificationClient(SkDeferredCanvas::NotificationClient* notificationClient);
249 SkDeferredCanvas::NotificationClient* fNotificationClient;
317 SkDeferredCanvas::NotificationClient* notificationClient) {
500 // Save layer usage not supported, and not required by SkDeferredCanvas.
519 AutoImmediateDrawIfNeeded(SkDeferredCanvas& canvas, const SkBitmap* bitmap,
524 AutoImmediateDrawIfNeeded(SkDeferredCanvas& canvas, const SkPaint* paint) {
534 void init(SkDeferredCanvas& canvas, const SkBitmap* bitmap, const SkPaint* paint)
546 SkDeferredCanvas* fCanvas;
549 SkDeferredCanvas* SkDeferredCanvas::Create(SkSurface* surface) {
551 return SkNEW_ARGS(SkDeferredCanvas, (deferredDevice));
554 SkDeferredCanvas* SkDeferredCanvas::Create(SkBaseDevice* device) {
556 return SkNEW_ARGS(SkDeferredCanvas, (deferredDevice));
559 SkDeferredCanvas::SkDeferredCanvas(DeferredDevice* device) : SkCanvas (device) {
563 void SkDeferredCanvas::init() {
567 void SkDeferredCanvas::setMaxRecordingStorage(size_t maxStorage) {
572 size_t SkDeferredCanvas::storageAllocatedForRecording() const {
576 size_t SkDeferredCanvas::freeMemoryIfPossible(size_t bytesToFree) {
580 void SkDeferredCanvas::setBitmapSizeThreshold(size_t sizeThreshold) {
586 void SkDeferredCanvas::recordedDrawCommand() {
592 void SkDeferredCanvas::validate() const {
596 SkCanvas* SkDeferredCanvas::drawingCanvas() const {
602 SkCanvas* SkDeferredCanvas::immediateCanvas() const {
607 DeferredDevice* SkDeferredCanvas::getDeferredDevice() const {
611 void SkDeferredCanvas::setDeferredDrawing(bool val) {
622 bool SkDeferredCanvas::isDeferredDrawing() const {
626 bool SkDeferredCanvas::isFreshFrame() const {
630 bool SkDeferredCanvas::hasPendingCommands() const {
634 void SkDeferredCanvas::silentFlush() {
640 SkDeferredCanvas::~SkDeferredCanvas() {
643 SkSurface* SkDeferredCanvas::setSurface(SkSurface* surface) {
653 SkDeferredCanvas::NotificationClient* SkDeferredCanvas::setNotificationClient(
664 SkImage* SkDeferredCanvas::newImageSnapshot() {
670 bool SkDeferredCanvas::isFullFrame(const SkRect* rect,
708 int SkDeferredCanvas::save(SaveFlags flags) {
716 int SkDeferredCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint,
726 void SkDeferredCanvas::restore() {
732 bool SkDeferredCanvas::isDrawingToLayer() const {
736 bool SkDeferredCanvas::translate(SkScalar dx, SkScalar dy) {
743 bool SkDeferredCanvas::scale(SkScalar sx, SkScalar sy) {
750 bool SkDeferredCanvas::rotate(SkScalar degrees) {
757 bool SkDeferredCanvas::skew(SkScalar sx, SkScalar sy) {
764 bool SkDeferredCanvas::concat(const SkMatrix& matrix) {
771 void SkDeferredCanvas::setMatrix(const SkMatrix& matrix) {
777 bool SkDeferredCanvas::clipRect(const SkRect& rect,
786 bool SkDeferredCanvas::clipRRect(const SkRRect& rrect,
795 bool SkDeferredCanvas::clipPath(const SkPath& path,
804 bool SkDeferredCanvas::clipRegion(const SkRegion& deviceRgn,
812 void SkDeferredCanvas::clear(SkColor color) {
822 void SkDeferredCanvas::drawPaint(const SkPaint& paint) {
832 void SkDeferredCanvas::drawPoints(PointMode mode, size_t count,
839 void SkDeferredCanvas::drawOval(const SkRect& rect, const SkPaint& paint) {
845 void SkDeferredCanvas::drawRect(const SkRect& rect, const SkPaint& paint) {
856 void SkDeferredCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) {
858 this->SkDeferredCanvas::drawRect(rrect.getBounds(), paint);
860 this->SkDeferredCanvas::drawOval(rrect.getBounds(), paint);
868 void SkDeferredCanvas::drawPath(const SkPath& path, const SkPaint& paint) {
874 void SkDeferredCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar left,
889 void SkDeferredCanvas::drawBitmapRectToRect(const SkBitmap& bitmap,
906 void SkDeferredCanvas::drawBitmapMatrix(const SkBitmap& bitmap,
916 void SkDeferredCanvas::drawBitmapNine(const SkBitmap& bitmap,
926 void SkDeferredCanvas::drawSprite(const SkBitmap& bitmap, int left, int top,
944 void SkDeferredCanvas::drawText(const void* text, size_t byteLength,
951 void SkDeferredCanvas::drawPosText(const void* text, size_t byteLength,
958 void SkDeferredCanvas::drawPosTextH(const void* text, size_t byteLength,
966 void SkDeferredCanvas::drawTextOnPath(const void* text, size_t byteLength,
975 void SkDeferredCanvas::drawPicture(SkPicture& picture) {
980 void SkDeferredCanvas::drawVertices(VertexMode vmode, int vertexCount,
992 SkBounder* SkDeferredCanvas::setBounder(SkBounder* bounder) {
999 SkDrawFilter* SkDeferredCanvas::setDrawFilter(SkDrawFilter* filter) {
1006 SkCanvas* SkDeferredCanvas::canvasForDrawIter() {