Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
ProtectedUtils.cpp File Reference
#include "tools/gpu/ProtectedUtils.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "tools/gpu/BackendSurfaceFactory.h"
#include "tools/gpu/BackendTextureImageFactory.h"

Go to the source code of this file.

Namespaces

namespace  ProtectedUtils
 

Functions

sk_sp< SkSurfaceProtectedUtils::CreateProtectedSkSurface (GrDirectContext *dContext, SkISize size, bool textureable, bool isProtected, const SkSurfaceProps *surfaceProps)
 
void ProtectedUtils::CheckImageBEProtection (SkImage *image, bool expectingProtected)
 
sk_sp< SkImageProtectedUtils::CreateProtectedSkImage (GrDirectContext *dContext, SkISize size, SkColor4f color, bool isProtected)