Flutter Engine
The Flutter Engine
|
#include "tools/skottie_ios_app/SkMetalViewBridge.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkColorType.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContextOptions.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/ganesh/mtl/GrMtlBackendContext.h"
#include "include/gpu/ganesh/mtl/GrMtlDirectContext.h"
#include "include/gpu/ganesh/mtl/GrMtlTypes.h"
#include "include/gpu/ganesh/mtl/SkSurfaceMetal.h"
#import <Metal/Metal.h>
#import <MetalKit/MetalKit.h>
Go to the source code of this file.
Functions | |
sk_sp< SkSurface > | SkMtkViewToSurface (MTKView *mtkView, GrRecordingContext *rContext) |
GrContextHolder | SkMetalDeviceToGrContext (id< MTLDevice > device, id< MTLCommandQueue > queue) |
void | SkMtkViewConfigForSkia (MTKView *mtkView) |
GrContextHolder SkMetalDeviceToGrContext | ( | id< MTLDevice > | device, |
id< MTLCommandQueue > | queue | ||
) |
Definition at line 42 of file SkMetalViewBridge.mm.
void SkMtkViewConfigForSkia | ( | MTKView * | mtkView | ) |
Definition at line 50 of file SkMetalViewBridge.mm.
sk_sp< SkSurface > SkMtkViewToSurface | ( | MTKView * | mtkView, |
GrRecordingContext * | rContext | ||
) |
Definition at line 20 of file SkMetalViewBridge.mm.