Home
last modified time | relevance | path

Searched refs:fDirtyRect (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DAtlasTypes.cpp42 fDirtyRect.setEmpty(); in Plot()
86 fDirtyRect.join({rect.fLeft, rect.fTop, rect.fRight, rect.fBottom}); in addSubImage()
104 if (!fDirtyRect.isEmpty()) { in prepareForUpload()
107 fDirtyRect.fLeft &= ~clearBits; in prepareForUpload()
108 fDirtyRect.fRight += clearBits; in prepareForUpload()
109 fDirtyRect.fRight &= ~clearBits; in prepareForUpload()
110 SkASSERT(fDirtyRect.fRight <= fWidth); in prepareForUpload()
114 dataPtr += rowBytes * fDirtyRect.fTop; in prepareForUpload()
115 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in prepareForUpload()
116 offsetRect = fDirtyRect.makeOffset(fOffset.fX, fOffset.fY); in prepareForUpload()
[all …]
DAtlasTypes.h471 bool needsUpload() { return !fDirtyRect.isEmpty(); } in needsUpload()
515 SkIRect fDirtyRect; // area in the Plot that needs to be uploaded variable