Flutter Engine
The Flutter Engine
|
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/ganesh/mtl/GrMtlBackendSurface.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/mtl/GrMtlCaps.h"
#include "tests/Test.h"
#include "tools/gpu/ManagedBackendTexture.h"
#import <Metal/Metal.h>
Go to the source code of this file.
Functions | |
void | test_wrapping (GrDirectContext *, skiatest::Reporter *, const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, skgpu::Mipmapped, GrRenderable)> &create, GrColorType, skgpu::Mipmapped, GrRenderable) |
void | test_color_init (GrDirectContext *, skiatest::Reporter *, const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, const SkColor4f &, skgpu::Mipmapped, GrRenderable)> &create, GrColorType, const SkColor4f &, skgpu::Mipmapped, GrRenderable) |
void | test_pixmap_init (GrDirectContext *, skiatest::Reporter *, const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, const SkPixmap srcData[], int numLevels, GrSurfaceOrigin, GrRenderable)> &create, SkColorType, GrSurfaceOrigin, skgpu::Mipmapped, GrRenderable) |
DEF_GANESH_TEST_FOR_METAL_CONTEXT (MtlBackendAllocationTest, reporter, ctxInfo) | |
DEF_GANESH_TEST_FOR_METAL_CONTEXT | ( | MtlBackendAllocationTest | , |
reporter | , | ||
ctxInfo | |||
) |
Definition at line 50 of file MtlBackendAllocationTest.mm.
void test_color_init | ( | GrDirectContext * | dContext, |
skiatest::Reporter * | reporter, | ||
const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, const SkColor4f &, skgpu::Mipmapped, GrRenderable)> & | create, | ||
GrColorType | colorType, | ||
const SkColor4f & | color, | ||
skgpu::Mipmapped | mipmapped, | ||
GrRenderable | renderable | ||
) |
Definition at line 368 of file BackendAllocationTest.cpp.
void test_pixmap_init | ( | GrDirectContext * | dContext, |
skiatest::Reporter * | reporter, | ||
const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, const SkPixmap srcData[], int numLevels, GrSurfaceOrigin, GrRenderable)> & | create, | ||
SkColorType | skColorType, | ||
GrSurfaceOrigin | origin, | ||
skgpu::Mipmapped | mipmapped, | ||
GrRenderable | renderable | ||
) |
Definition at line 493 of file BackendAllocationTest.cpp.
void test_wrapping | ( | GrDirectContext * | dContext, |
skiatest::Reporter * | reporter, | ||
const std::function< sk_sp< ManagedBackendTexture >(GrDirectContext *, skgpu::Mipmapped, GrRenderable)> & | create, | ||
GrColorType | grColorType, | ||
skgpu::Mipmapped | mipmapped, | ||
GrRenderable | renderable | ||
) |
Definition at line 97 of file BackendAllocationTest.cpp.