Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrDrawOpAtlas.cpp107 , fBytesPerPixel(GrColorTypeBytesPerPixel(colorType)) in Plot()
113 SkASSERT(((width*fBytesPerPixel) & 0x3) == 0); in Plot()
115 SkASSERT(fBytesPerPixel != 3 && fBytesPerPixel <= 4); in Plot()
136 sk_calloc_throw(fBytesPerPixel * fWidth * fHeight)); in addSubImage()
138 size_t rowBytes = width * fBytesPerPixel; in addSubImage()
142 dataPtr += fBytesPerPixel * fWidth * rect.fTop; in addSubImage()
143 dataPtr += fBytesPerPixel * rect.fLeft; in addSubImage()
145 if (4 == fBytesPerPixel && kN32_SkColorType == kBGRA_8888_SkColorType) { in addSubImage()
148 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
154 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
[all …]
DGrDrawOpAtlas.h437 SkDEBUGCODE(size_t bpp() const { return fBytesPerPixel; })
495 const size_t fBytesPerPixel; variable