Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | test_ops |
Classes | |
class | ContextInfo |
class | FenceSync |
class | FlushFinishTracker |
class | GLTestContext |
class | GpuTimer |
class | GrContextFactory |
class | LazyYUVImage |
class | MemoryCache |
class | TestContext |
class | VkTestMemoryAllocator |
Typedefs | |
using | Mipmapped = skgpu::Mipmapped |
using | Protected = skgpu::Protected |
using | Renderable = skgpu::Renderable |
using | PlatformFence = uint64_t |
using | PlatformTimerQuery = uint64_t |
Enumerations | |
enum class | ANGLEBackend { kD3D9 , kD3D11 , kOpenGL , kMetal } |
enum class | ANGLEContextVersion { kES2 , kES3 } |
Variables | |
static constexpr PlatformFence | kInvalidFence = 0 |
static constexpr PlatformTimerQuery | kInvalidTimerQuery = 0 |
using sk_gpu_test::Mipmapped = typedef skgpu::Mipmapped |
Definition at line 32 of file BackendTextureImageFactory.h.
using sk_gpu_test::PlatformFence = typedef uint64_t |
Definition at line 15 of file FenceSync.h.
using sk_gpu_test::PlatformTimerQuery = typedef uint64_t |
Definition at line 17 of file GpuTimer.h.
using sk_gpu_test::Protected = typedef skgpu::Protected |
Definition at line 33 of file BackendTextureImageFactory.h.
using sk_gpu_test::Renderable = typedef skgpu::Renderable |
Definition at line 34 of file BackendTextureImageFactory.h.
|
strong |
|
strong |
Enumerator | |
---|---|
kES2 | |
kES3 |
Definition at line 28 of file GLTestContext_angle.h.
sk_sp< const GrGLInterface > sk_gpu_test::CreateANGLEGLInterface | ( | ) |
Creates a GrGLInterface for the current ANGLE GLES Context. Here current means bound in ANGLE's implementation of EGL.
Definition at line 502 of file GLTestContext_angle.cpp.
TestContext * sk_gpu_test::CreateMockTestContext | ( | TestContext * | shareContext = nullptr | ) |
Creates mock context object for use with GrContexts created with GrBackendApi::kMock. It will trivially succeed at everything.
Definition at line 44 of file MockTestContext.cpp.
GLTestContext * sk_gpu_test::CreatePlatformGLTestContext | ( | GrGLStandard | forcedGpuAPI, |
GLTestContext * | shareContext = nullptr |
||
) |
Creates platform-dependent GL context object. The shareContext parameter is in an optional context with which to share display lists. This should be a pointer to an GLTestContext created with SkCreatePlatformGLTestContext. NULL indicates that no sharing is to take place. Returns a valid gl context object or NULL if such can not be created.
Definition at line 340 of file gm_bindings.cpp.
MtlTestContext * sk_gpu_test::CreatePlatformMtlTestContext | ( | MtlTestContext * | sharedContext | ) |
Definition at line 79 of file MtlTestContext.mm.
|
static |
Definition at line 163 of file GLTestContext.cpp.
GrTextureProxy * sk_gpu_test::GetTextureImageProxy | ( | SkImage * | , |
GrRecordingContext * | |||
) |
Returns the proxy backing an image if it is texture backed, otherwise nullptr.
Definition at line 32 of file ProxyUtils.cpp.
std::unique_ptr< GLTestContext > sk_gpu_test::MakeANGLETestContext | ( | ANGLEBackend | , |
ANGLEContextVersion | , | ||
GLTestContext * | shareContext = nullptr , |
||
void * | display = nullptr |
||
) |
Creates a GLTestContext backed by ANGLE.
Definition at line 527 of file GLTestContext_angle.cpp.
sk_sp< SkSurface > sk_gpu_test::MakeBackendRenderTargetSurface | ( | GrDirectContext * | , |
const SkImageInfo & | , | ||
GrSurfaceOrigin | , | ||
int | sampleCnt, | ||
GrProtected | = GrProtected::kNo , |
||
const SkSurfaceProps * | = nullptr |
||
) |
Creates an SkSurface backed by a non-textureable render target.
Definition at line 70 of file BackendSurfaceFactory.cpp.
sk_sp< SkSurface > sk_gpu_test::MakeBackendRenderTargetSurface | ( | GrDirectContext * | dContext, |
SkISize | dimensions, | ||
GrSurfaceOrigin | origin, | ||
int | sampleCnt, | ||
SkColorType | colorType, | ||
sk_sp< SkColorSpace > | colorSpace, | ||
GrProtected | isProtected, | ||
const SkSurfaceProps * | props | ||
) |
Definition at line 103 of file BackendSurfaceFactory.cpp.
sk_sp< SkSurface > sk_gpu_test::MakeBackendTextureSurface | ( | GrDirectContext * | dContext, |
const SkImageInfo & | ii, | ||
GrSurfaceOrigin | origin, | ||
int | sampleCnt, | ||
skgpu::Mipmapped | mipmapped, | ||
GrProtected | isProtected, | ||
const SkSurfaceProps * | props | ||
) |
Definition at line 26 of file BackendSurfaceFactory.cpp.
sk_sp< SkSurface > sk_gpu_test::MakeBackendTextureSurface | ( | GrDirectContext * | dContext, |
SkISize | dimensions, | ||
GrSurfaceOrigin | origin, | ||
int | sampleCnt, | ||
SkColorType | colorType, | ||
sk_sp< SkColorSpace > | colorSpace, | ||
skgpu::Mipmapped | mipmapped, | ||
GrProtected | isProtected, | ||
const SkSurfaceProps * | props | ||
) |
Definition at line 57 of file BackendSurfaceFactory.cpp.
GrSurfaceProxyView sk_gpu_test::MakeTextureProxyViewFromData | ( | GrDirectContext * | , |
GrRenderable | , | ||
GrSurfaceOrigin | , | ||
GrCPixmap | pixmap | ||
) |
Makes a texture proxy containing the passed in color data.
Definition at line 56 of file ProxyUtils.cpp.
std::tuple< std::array< sk_sp< SkImage >, SkYUVAInfo::kMaxPlanes >, SkYUVAInfo > sk_gpu_test::MakeYUVAPlanesAsA8 | ( | SkImage * | src, |
SkYUVColorSpace | cs, | ||
SkYUVAInfo::Subsampling | ss, | ||
GrRecordingContext * | rContext | ||
) |
Definition at line 152 of file YUVUtils.cpp.
|
staticconstexpr |
Definition at line 16 of file FenceSync.h.
|
staticconstexpr |
Definition at line 18 of file GpuTimer.h.