Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
SurfaceContext.cpp File Reference
#include "src/gpu/ganesh/SurfaceContext.h"
#include "include/core/SkColorSpace.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "src/core/SkMipmap.h"
#include "src/core/SkYUVMath.h"
#include "src/gpu/ganesh/GrClientMappedBufferManager.h"
#include "src/gpu/ganesh/GrColorSpaceXform.h"
#include "src/gpu/ganesh/GrDataUtils.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrDrawingManager.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "src/gpu/ganesh/GrImageInfo.h"
#include "src/gpu/ganesh/GrProxyProvider.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include "src/gpu/ganesh/GrTracing.h"
#include "src/gpu/ganesh/SkGr.h"
#include "src/gpu/ganesh/SurfaceFillContext.h"
#include "src/gpu/ganesh/effects/GrBicubicEffect.h"
#include "src/gpu/ganesh/effects/GrTextureEffect.h"
#include "src/gpu/ganesh/geometry/GrRect.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::ganesh
 

Macros

#define ASSERT_SINGLE_OWNER   SKGPU_ASSERT_SINGLE_OWNER(this->singleOwner())
 
#define RETURN_FALSE_IF_ABANDONED   if (this->fContext->abandoned()) { return false; }
 
#define RETURN_NULLPTR_IF_ABANDONED   if (this->fContext->abandoned()) { return nullptr; }
 

Functions

static bool skgpu::ganesh::alpha_types_compatible (SkAlphaType srcAlphaType, SkAlphaType dstAlphaType)
 

Macro Definition Documentation

◆ ASSERT_SINGLE_OWNER

#define ASSERT_SINGLE_OWNER   SKGPU_ASSERT_SINGLE_OWNER(this->singleOwner())

Definition at line 37 of file SurfaceContext.cpp.

◆ RETURN_FALSE_IF_ABANDONED

#define RETURN_FALSE_IF_ABANDONED   if (this->fContext->abandoned()) { return false; }

Definition at line 38 of file SurfaceContext.cpp.

◆ RETURN_NULLPTR_IF_ABANDONED

#define RETURN_NULLPTR_IF_ABANDONED   if (this->fContext->abandoned()) { return nullptr; }

Definition at line 39 of file SurfaceContext.cpp.