Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
vk
GrVkBackendSurfacePriv.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
8
#ifndef GrVkBackendSurfacePriv_DEFINED
9
#define GrVkBackendSurfacePriv_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
include/gpu/vk/GrVkTypes.h
"
13
#include "
include/private/base/SkAPI.h
"
14
15
class
GrBackendTexture
;
16
class
GrBackendRenderTarget
;
17
18
namespace
skgpu
{
19
class
MutableTextureState;
20
}
21
22
namespace
GrBackendTextures
{
23
24
SK_API
GrBackendTexture
MakeVk
(
int
width
,
25
int
height
,
26
const
GrVkImageInfo
&,
27
sk_sp<skgpu::MutableTextureState>
);
28
29
}
// namespace GrBackendTextures
30
31
32
namespace
GrBackendRenderTargets
{
33
34
SK_API
GrBackendRenderTarget
MakeVk
(
int
width
,
35
int
height
,
36
const
GrVkImageInfo
&,
37
sk_sp<skgpu::MutableTextureState>
);
38
39
}
// namespace GrBackendRenderTargets
40
41
#endif
GrVkTypes.h
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkRefCnt.h
GrBackendRenderTarget
Definition:
GrBackendSurface.h:283
GrBackendTexture
Definition:
GrBackendSurface.h:149
sk_sp< skgpu::MutableTextureState >
GrBackendRenderTargets
Definition:
GrGLBackendSurface.h:46
GrBackendRenderTargets::MakeVk
SK_API GrBackendRenderTarget MakeVk(int width, int height, const GrVkImageInfo &)
Definition:
GrVkBackendSurface.cpp:406
GrBackendTextures
Definition:
GrGLBackendSurface.h:29
GrBackendTextures::MakeVk
SK_API GrBackendTexture MakeVk(int width, int height, const GrVkImageInfo &, std::string_view label={})
Definition:
GrVkBackendSurface.cpp:278
skgpu
Definition:
GpuTools.h:21
height
int32_t height
Definition:
serialization_callbacks.cc:1
width
int32_t width
Definition:
serialization_callbacks.cc:0
GrVkImageInfo
Definition:
GrVkTypes.h:25
Generated on Sun Jun 23 2024 21:56:24 for Flutter Engine by
1.9.4