Flutter Engine
The Flutter Engine
SkImage_LazyTexture.h
Go to the documentation of this file.
1/*
2 * Copyright 2023 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7#ifndef SkImage_LazyTexture_DEFINED
8#define SkImage_LazyTexture_DEFINED
9
13
14class GrDirectContext;
15class SkImage;
16class SkPixmap;
17struct SkIRect;
18
19class SkImage_LazyTexture final : public SkImage_Lazy {
20public:
22
23 bool readPixelsProxy(GrDirectContext*, const SkPixmap&) const override;
24
25 sk_sp<SkImage> onMakeSubset(GrDirectContext*, const SkIRect&) const override;
26};
27
28#endif
sk_sp< SkImage > onMakeSubset(GrDirectContext *, const SkIRect &) const override
SkImage_LazyTexture(SkImage_Lazy::Validator *validator)
bool readPixelsProxy(GrDirectContext *, const SkPixmap &) const override
Definition: SkRect.h:32