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.
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.
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.
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.
|
staticconstexpr |
Definition at line 16 of file FenceSync.h.
|
staticconstexpr |
Definition at line 18 of file GpuTimer.h.