Flutter Engine
The Flutter Engine
Public Attributes | List of all members
GrCaps::DstCopyRestrictions Struct Reference

#include <GrCaps.h>

Public Attributes

GrSurfaceProxy::RectsMustMatch fRectsMustMatch = GrSurfaceProxy::RectsMustMatch::kNo
 
bool fMustCopyWholeSrc = false
 

Detailed Description

This is used to try to ensure a successful copy a dst in order to perform shader-based blending.

fRectsMustMatch will be set to true if the copy operation must ensure that the src and dest rects are identical.

fMustCopyWholeSrc will be set to true if copy rect must equal src's bounds.

Caller will detect cases when copy cannot succeed and try copy-as-draw as a fallback.

Definition at line 457 of file GrCaps.h.

Member Data Documentation

◆ fMustCopyWholeSrc

bool GrCaps::DstCopyRestrictions::fMustCopyWholeSrc = false

Definition at line 459 of file GrCaps.h.

◆ fRectsMustMatch

GrSurfaceProxy::RectsMustMatch GrCaps::DstCopyRestrictions::fRectsMustMatch = GrSurfaceProxy::RectsMustMatch::kNo

Definition at line 458 of file GrCaps.h.


The documentation for this struct was generated from the following file: