Lines Matching refs:rowBytes
42 size_t rowBytes, in NewDirect() argument
48 (info, addr, rowBytes, ctable, NULL, NULL)); in NewDirect()
68 int32_t rowBytes; in NewAllocate() local
70 rowBytes = SkToS32(requestedRowBytes); in NewAllocate()
72 rowBytes = minRB; in NewAllocate()
75 int64_t bigSize = (int64_t)info.height() * rowBytes; in NewAllocate()
81 SkASSERT(size >= info.getSafeSize(rowBytes)); in NewAllocate()
88 (info, addr, rowBytes, ctable, in NewAllocate()
93 size_t rowBytes, in NewWithProc() argument
102 (info, addr, rowBytes, ctable, proc, context)); in NewWithProc()
110 size_t rowBytes, in NewWithData() argument
117 if ((rowBytes < info.minRowBytes()) in NewWithData()
118 || (data->size() < info.getSafeSize(rowBytes))) { in NewWithData()
124 (info, const_cast<void*>(data->data()), rowBytes, ctable, in NewWithData()
136 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() argument
143 SkASSERT(rowBytes >= info.minRowBytes()); in SkMallocPixelRef()
151 fRB = rowBytes; in SkMallocPixelRef()
154 this->setPreLocked(fStorage, rowBytes, fCTable); in SkMallocPixelRef()
158 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() argument
166 SkASSERT(rowBytes >= info.minRowBytes()); in SkMallocPixelRef()
174 fRB = rowBytes; in SkMallocPixelRef()
177 this->setPreLocked(fStorage, rowBytes, fCTable); in SkMallocPixelRef()
205 SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, size_t rowBytes, in create() argument
207 return SkMallocPixelRef::NewAllocate(info, rowBytes, ctable); in create()