Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
gpu
ganesh
image
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
10
#include "
include/core/SkRefCnt.h
"
11
#include "
include/core/SkTypes.h
"
12
#include "
src/image/SkImage_Lazy.h
"
13
14
class
GrDirectContext
;
15
class
SkImage
;
16
class
SkPixmap
;
17
struct
SkIRect
;
18
19
class
SkImage_LazyTexture
final :
public
SkImage_Lazy
{
20
public
:
21
SkImage_LazyTexture
(
SkImage_Lazy::Validator
*validator) :
SkImage_Lazy
(validator) {}
22
23
bool
readPixelsProxy
(
GrDirectContext
*,
const
SkPixmap
&)
const override
;
24
25
sk_sp<SkImage>
onMakeSubset
(
GrDirectContext
*,
const
SkIRect
&)
const override
;
26
};
27
28
#endif
SkImage_Lazy.h
SkRefCnt.h
SkTypes.h
GrDirectContext
Definition
GrDirectContext.h:60
SkImage_LazyTexture
Definition
SkImage_LazyTexture.h:19
SkImage_LazyTexture::onMakeSubset
sk_sp< SkImage > onMakeSubset(GrDirectContext *, const SkIRect &) const override
Definition
SkImage_LazyTexture.cpp:32
SkImage_LazyTexture::SkImage_LazyTexture
SkImage_LazyTexture(SkImage_Lazy::Validator *validator)
Definition
SkImage_LazyTexture.h:21
SkImage_LazyTexture::readPixelsProxy
bool readPixelsProxy(GrDirectContext *, const SkPixmap &) const override
Definition
SkImage_LazyTexture.cpp:39
SkImage_Lazy
Definition
SkImage_Lazy.h:38
SkImage
Definition
SkImage.h:272
SkPixmap
Definition
SkPixmap.h:40
sk_sp
Definition
SkRefCnt.h:220
SkIRect
Definition
SkRect.h:32
SkImage_Lazy::Validator
Definition
SkImage_Lazy.h:40
Generated on Fri Apr 26 2024 06:17:06 for Flutter Engine by
1.9.8