Flutter Engine
The Flutter Engine
GrOpsTypes.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef GrOpsTypes_DEFINED
9#define GrOpsTypes_DEFINED
10
12#include "include/core/SkRect.h"
16
17/** Used by SDC::drawQuadSet and FillRectOp */
20 SkPMColor4f fColor; // Overrides any color on the GrPaint
23};
24
25/** Used by SDC::drawTextureSet and TextureOp */
31 const SkPoint* fDstClipQuad; // Must be null, or point to an array of 4 points
32 const SkMatrix* fPreViewMatrix; // If not null, entry's CTM is 'viewMatrix' * fPreViewMatrix
33 SkPMColor4f fColor; // {a,a,a,a} for rgb textures, {r,g,b,a} for alpha-only textures
35};
36
37#endif
GrQuadAAFlags
Definition: GrTypesPriv.h:247
SkAlphaType
Definition: SkAlphaType.h:26
SkPMColor4f fColor
Definition: GrOpsTypes.h:20
GrQuadAAFlags fAAFlags
Definition: GrOpsTypes.h:22
SkMatrix fLocalMatrix
Definition: GrOpsTypes.h:21
SkRect fRect
Definition: GrOpsTypes.h:19
SkPMColor4f fColor
Definition: GrOpsTypes.h:33
const SkPoint * fDstClipQuad
Definition: GrOpsTypes.h:31
const SkMatrix * fPreViewMatrix
Definition: GrOpsTypes.h:32
SkAlphaType fSrcAlphaType
Definition: GrOpsTypes.h:28
GrSurfaceProxyView fProxyView
Definition: GrOpsTypes.h:27
GrQuadAAFlags fAAFlags
Definition: GrOpsTypes.h:34