22#if defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
30 : fMCStack(sizeof(MCRec), fMCRecStorage, sizeof(fMCRecStorage)), fProps(props) {
31 this->
init(sk_make_sp<SkBitmapDevice>(
bitmap, fProps));
35 std::unique_ptr<SkRasterHandleAllocator> alloc,
38 : fMCStack(sizeof(MCRec), fMCRecStorage, sizeof(fMCRecStorage))
40 , fAllocator(
std::move(alloc)) {
41 this->
init(sk_make_sp<SkBitmapDevice>(
bitmap, fProps, hndl));
46#if defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
48 : fMCStack(sizeof(MCRec), fMCRecStorage, sizeof(fMCRecStorage)) {
51 this->
init(sk_make_sp<SkBitmapDevice>(tmp, fProps));
static SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps *props)
SkImageInfo makeColorSpace(sk_sp< SkColorSpace > cs) const