#include <GrSurfaceProxyView.h>
|
static GrSurfaceProxyView | Copy (GrRecordingContext *context, GrSurfaceProxyView src, skgpu::Mipmapped mipmapped, SkIRect srcRect, SkBackingFit fit, skgpu::Budgeted budgeted, std::string_view label) |
|
static GrSurfaceProxyView | Copy (GrRecordingContext *rContext, GrSurfaceProxyView src, skgpu::Mipmapped mipmapped, SkBackingFit fit, skgpu::Budgeted budgeted, std::string_view label) |
|
Definition at line 34 of file GrSurfaceProxyView.h.
◆ sk_is_trivially_relocatable
◆ GrSurfaceProxyView() [1/5]
GrSurfaceProxyView::GrSurfaceProxyView |
( |
| ) |
|
|
default |
◆ GrSurfaceProxyView() [2/5]
Definition at line 38 of file GrSurfaceProxyView.h.
skgpu::Swizzle swizzle() const
GrSurfaceOrigin origin() const
GrSurfaceProxy * proxy() const
◆ GrSurfaceProxyView() [3/5]
◆ GrSurfaceProxyView() [4/5]
◆ GrSurfaceProxyView() [5/5]
◆ asRenderTargetProxy()
Definition at line 38 of file GrSurfaceProxyView.cpp.
38 {
39 if (!fProxy) {
40 return nullptr;
41 }
43}
virtual GrRenderTargetProxy * asRenderTargetProxy()
◆ asRenderTargetProxyRef()
◆ asTextureProxy()
Definition at line 27 of file GrSurfaceProxyView.cpp.
27 {
28 if (!fProxy) {
29 return nullptr;
30 }
32}
virtual GrTextureProxy * asTextureProxy()
◆ asTextureProxyRef()
◆ concatSwizzle()
Definition at line 49 of file GrSurfaceProxyView.cpp.
49 {
51}
static constexpr Swizzle Concat(const Swizzle &a, const Swizzle &b)
◆ Copy() [1/2]
Definition at line 63 of file GrSurfaceProxyView.cpp.
69 {
71 context,
src.refProxy(),
src.origin(),
mipmapped, srcRect, fit, budgeted, label);
72 return {std::move(
copy),
src.origin(),
src.swizzle()};
73}
skgpu::Mipmapped mipmapped() const
static sk_sp< GrSurfaceProxy > Copy(GrRecordingContext *, sk_sp< GrSurfaceProxy > src, GrSurfaceOrigin, skgpu::Mipmapped, SkIRect srcRect, SkBackingFit, skgpu::Budgeted, std::string_view label, RectsMustMatch=RectsMustMatch::kNo, sk_sp< GrRenderTask > *outTask=nullptr)
◆ Copy() [2/2]
◆ detachProxy()
◆ dimensions()
SkISize GrSurfaceProxyView::dimensions |
( |
| ) |
const |
|
inline |
◆ height()
int GrSurfaceProxyView::height |
( |
| ) |
const |
|
inline |
◆ makeSwizzle() [1/2]
◆ makeSwizzle() [2/2]
◆ mipmapped()
◆ operator bool()
GrSurfaceProxyView::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator!=()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
Definition at line 15 of file GrSurfaceProxyView.cpp.
15 {
16 return fProxy->
uniqueID() == view.fProxy->
uniqueID() && fOrigin == view.fOrigin &&
17 fSwizzle == view.fSwizzle;
18}
UniqueID uniqueID() const
◆ origin()
◆ proxy()
◆ refProxy()
◆ reset()
void GrSurfaceProxyView::reset |
( |
| ) |
|
◆ swizzle()
◆ width()
int GrSurfaceProxyView::width |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: