Lines Matching refs:gralloc_
243 : gralloc_(gralloc), buffer_(buffer) {} in GrallocBuffer()
250 gralloc_ = rhs.gralloc_; in operator =()
252 rhs.gralloc_ = nullptr; in operator =()
258 if (gralloc_ && buffer_) { in Release()
259 gralloc_->Release(buffer_); in Release()
260 gralloc_ = nullptr; in Release()
266 if (gralloc_ && buffer_) { in Lock()
274 auto locked_opt = gralloc_->Lock(buffer_); in Lock()
280 auto locked_ycbcr_opt = gralloc_->LockYCbCr(buffer_); in Lock()
292 if (gralloc_ && buffer_) { in Unlock()
293 gralloc_->Unlock(buffer_); in Unlock()
298 if (gralloc_ && buffer_) { in GetWidth()
299 return gralloc_->GetWidth(buffer_); in GetWidth()
305 if (gralloc_ && buffer_) { in GetHeight()
306 return gralloc_->GetHeight(buffer_); in GetHeight()
312 if (gralloc_ && buffer_) { in GetDrmFormat()
313 return gralloc_->GetDrmFormat(buffer_); in GetDrmFormat()
319 if (gralloc_ && buffer_) { in GetPlaneLayouts()
320 return gralloc_->GetPlaneLayouts(buffer_); in GetPlaneLayouts()
326 if (gralloc_ && buffer_) { in GetMonoPlanarStrideBytes()
327 return gralloc_->GetMonoPlanarStrideBytes(buffer_); in GetMonoPlanarStrideBytes()