Searched refs:AutoAHBRelease (Results 1 – 2 of 2) sorted by relevance
108 class AutoAHBRelease { in makeView() class110 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeView() function in GrAHardwareBufferImageGenerator::makeView::AutoAHBRelease112 AutoAHBRelease(const AutoAHBRelease&) { SkASSERT(0); } in makeView() argument113 AutoAHBRelease(AutoAHBRelease&& that) : fAhb(that.fAhb) { that.fAhb = nullptr; } in makeView() function in GrAHardwareBufferImageGenerator::makeView::AutoAHBRelease114 ~AutoAHBRelease() { fAhb ? AHardwareBuffer_release(fAhb) : void(); } in makeView()116 AutoAHBRelease& operator=(AutoAHBRelease&& that) { in makeView()120 AutoAHBRelease& operator=(const AutoAHBRelease&) = delete; in makeView()129 [direct, buffer = AutoAHBRelease(hardwareBuffer)]( in makeView()
132 class AutoAHBRelease { in makeProxy() class134 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease136 AutoAHBRelease(const AutoAHBRelease&) { SkASSERT(0); } in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease137 AutoAHBRelease(AutoAHBRelease&& that) : fAhb(that.fAhb) { that.fAhb = nullptr; } in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease138 ~AutoAHBRelease() { fAhb ? AHardwareBuffer_release(fAhb) : void(); } in makeProxy()140 AutoAHBRelease& operator=(AutoAHBRelease&& that) { in makeProxy()144 AutoAHBRelease& operator=(const AutoAHBRelease&) = delete; in makeProxy()153 [direct, buffer = AutoAHBRelease(hardwareBuffer), width, height, in makeProxy()