Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
BackendSurfaceFactory.cpp File Reference
#include "tools/gpu/BackendSurfaceFactory.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "tools/gpu/ManagedBackendTexture.h"

Go to the source code of this file.

Namespaces

namespace  sk_gpu_test
 

Functions

sk_sp< SkSurfacesk_gpu_test::MakeBackendTextureSurface (GrDirectContext *dContext, const SkImageInfo &ii, GrSurfaceOrigin origin, int sampleCnt, skgpu::Mipmapped mipmapped, GrProtected isProtected, const SkSurfaceProps *props)
 
sk_sp< SkSurfacesk_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)
 
sk_sp< SkSurfacesk_gpu_test::MakeBackendRenderTargetSurface (GrDirectContext *dContext, const SkImageInfo &ii, GrSurfaceOrigin origin, int sampleCnt, GrProtected isProtected, const SkSurfaceProps *props)
 
sk_sp< SkSurfacesk_gpu_test::MakeBackendRenderTargetSurface (GrDirectContext *dContext, SkISize dimensions, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, GrProtected isProtected, const SkSurfaceProps *props)