Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Typedefs | Functions
SurfaceDrawContext.cpp File Reference
#include "src/gpu/ganesh/SurfaceDrawContext.h"
#include "include/core/SkArc.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkDrawable.h"
#include "include/core/SkTypes.h"
#include "include/core/SkVertices.h"
#include "include/gpu/GrBackendSemaphore.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/private/gpu/ganesh/GrImageContext.h"
#include "include/utils/SkShadowUtils.h"
#include "src/base/SkVx.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "src/core/SkBlendModePriv.h"
#include "src/core/SkConvertPixels.h"
#include "src/core/SkDrawProcs.h"
#include "src/core/SkDrawShadowInfo.h"
#include "src/core/SkLatticeIter.h"
#include "src/core/SkMatrixPriv.h"
#include "src/core/SkMeshPriv.h"
#include "src/core/SkPointPriv.h"
#include "src/core/SkRRectPriv.h"
#include "src/core/SkStrikeCache.h"
#include "src/gpu/ganesh/GrAppliedClip.h"
#include "src/gpu/ganesh/GrAttachment.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrClip.h"
#include "src/gpu/ganesh/GrColor.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/GrGpuResourcePriv.h"
#include "src/gpu/ganesh/GrImageContextPriv.h"
#include "src/gpu/ganesh/GrImageInfo.h"
#include "src/gpu/ganesh/GrMemoryPool.h"
#include "src/gpu/ganesh/GrProxyProvider.h"
#include "src/gpu/ganesh/GrRenderTarget.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include "src/gpu/ganesh/GrSemaphore.h"
#include "src/gpu/ganesh/GrStencilSettings.h"
#include "src/gpu/ganesh/GrStyle.h"
#include "src/gpu/ganesh/GrTracing.h"
#include "src/gpu/ganesh/GrXferProcessor.h"
#include "src/gpu/ganesh/PathRenderer.h"
#include "src/gpu/ganesh/SkGr.h"
#include "src/gpu/ganesh/effects/GrBlendFragmentProcessor.h"
#include "src/gpu/ganesh/effects/GrDisableColorXP.h"
#include "src/gpu/ganesh/effects/GrTextureEffect.h"
#include "src/gpu/ganesh/geometry/GrQuad.h"
#include "src/gpu/ganesh/geometry/GrQuadUtils.h"
#include "src/gpu/ganesh/geometry/GrStyledShape.h"
#include "src/gpu/ganesh/ops/ClearOp.h"
#include "src/gpu/ganesh/ops/DrawAtlasOp.h"
#include "src/gpu/ganesh/ops/DrawMeshOp.h"
#include "src/gpu/ganesh/ops/DrawableOp.h"
#include "src/gpu/ganesh/ops/FillRRectOp.h"
#include "src/gpu/ganesh/ops/FillRectOp.h"
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/ops/GrOp.h"
#include "src/gpu/ganesh/ops/GrOvalOpFactory.h"
#include "src/gpu/ganesh/ops/LatticeOp.h"
#include "src/gpu/ganesh/ops/RegionOp.h"
#include "src/gpu/ganesh/ops/ShadowRRectOp.h"
#include "src/gpu/ganesh/ops/StrokeRectOp.h"
#include "src/gpu/ganesh/ops/TextureOp.h"
#include "src/text/gpu/SDFTControl.h"
#include "src/text/gpu/TextBlobRedrawCoordinator.h"

Go to the source code of this file.

Classes

class  skgpu::ganesh::AutoCheckFlush
 

Namespaces

namespace  skgpu
 
namespace  skgpu::ganesh
 

Macros

#define ASSERT_OWNED_RESOURCE(R)   SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getContext())
 
#define ASSERT_SINGLE_OWNER   SKGPU_ASSERT_SINGLE_OWNER(this->singleOwner())
 
#define RETURN_IF_ABANDONED   if (fContext->abandoned()) { return; }
 
#define RETURN_FALSE_IF_ABANDONED   if (fContext->abandoned()) { return false; }
 

Typedefs

using skgpu::ganesh::DoSimplify = GrStyledShape::DoSimplify
 

Functions

static SkIRect skgpu::ganesh::get_clip_bounds (const SurfaceDrawContext *sdc, const GrClip *clip)
 

Macro Definition Documentation

◆ ASSERT_OWNED_RESOURCE

#define ASSERT_OWNED_RESOURCE (   R)    SkASSERT(!(R) || (R)->getContext() == this->drawingManager()->getContext())

Definition at line 78 of file SurfaceDrawContext.cpp.

◆ ASSERT_SINGLE_OWNER

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

Definition at line 79 of file SurfaceDrawContext.cpp.

◆ RETURN_FALSE_IF_ABANDONED

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

Definition at line 81 of file SurfaceDrawContext.cpp.

◆ RETURN_IF_ABANDONED

#define RETURN_IF_ABANDONED   if (fContext->abandoned()) { return; }

Definition at line 80 of file SurfaceDrawContext.cpp.