Flutter Engine
The Flutter Engine
|
#include <GrCaps.h>
Public Attributes | |
GrSurfaceProxy::RectsMustMatch | fRectsMustMatch = GrSurfaceProxy::RectsMustMatch::kNo |
bool | fMustCopyWholeSrc = false |
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.
bool GrCaps::DstCopyRestrictions::fMustCopyWholeSrc = false |
GrSurfaceProxy::RectsMustMatch GrCaps::DstCopyRestrictions::fRectsMustMatch = GrSurfaceProxy::RectsMustMatch::kNo |