Lines Matching defs:data
237 // Chrome MSAN bots require the data to be initialized (hence the ()).
415 // data into it which requires the origins to match. If the final proxy is a render target
435 // When the data is really BGRA the write will cause the R and B channels to be swapped in
631 const void* data(int i) const override { return fPlanes[i].data(); }
645 sk_sp<SkData> data = SkData::MakeUninitialized(size);
646 result.fPixelConverter(data->writable_data(), mappedData);
647 this->addCpuPlane(std::move(data), rowBytes);
656 void addCpuPlane(sk_sp<SkData> data, size_t rowBytes) {
657 SkASSERT(data);
659 fPlanes.emplace_back(std::move(data), rowBytes);
663 void addMappedPlane(const void* data, size_t rowBytes, sk_sp<GrGpuBuffer> mappedBuffer) {
664 SkASSERT(data);
675 Plane(sk_sp<SkData> data, size_t rowBytes) : fData(std::move(data)), fRowBytes(rowBytes) {}
692 const void* data() const {
699 return fData->data();