예제 #1
0
bool SkSurface::getRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) {
    return asSB(this)->onGetRenderTargetHandle(obj, access);
}
예제 #2
0
void SkSurface::prepareForExternalIO() {
  asSB(this)->onPrepareForExternalIO();
}
예제 #3
0
void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y,
                     const SkPaint* paint) {
    return asSB(this)->onDraw(canvas, x, y, paint);
}
예제 #4
0
GrBackendObject SkSurface::getTextureHandle(BackendHandleAccess access) {
    return asSB(this)->onGetTextureHandle(access);
}
예제 #5
0
sk_sp<SkImage> SkSurface::makeImageSnapshot(SkBudgeted budgeted, ForceUnique unique) {
    // the caller will call unref() to balance this
    return asSB(this)->refCachedImage(budgeted, unique);
}
예제 #6
0
sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) {
    return asSB(this)->onNewSurface(info);
}
예제 #7
0
SkCanvas* SkSurface::getCanvas() {
    return asSB(this)->getCachedCanvas();
}
예제 #8
0
void SkSurface::notifyContentWillChange(ContentChangeMode mode) {
    asSB(this)->aboutToDraw(mode);
}
예제 #9
0
uint32_t SkSurface::generationID() {
    if (0 == fGenerationID) {
        fGenerationID = asSB(this)->newGenerationID();
    }
    return fGenerationID;
}
예제 #10
0
파일: SkSurface.cpp 프로젝트: yck12345/skia
SkSurface* SkSurface::newSurface(const SkImageInfo& info) {
    return asSB(this)->onNewSurface(info);
}
예제 #11
0
파일: SkSurface.cpp 프로젝트: yck12345/skia
SkImage* SkSurface::newImageSnapshot(Budgeted budgeted) {
    SkImage* image = asSB(this)->getCachedImage(budgeted);
    SkSafeRef(image);   // the caller will call unref() to balance this
    return image;
}