Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp108 class AutoAHBRelease { in makeView() class
110 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeView() function in GrAHardwareBufferImageGenerator::makeView::AutoAHBRelease
112 AutoAHBRelease(const AutoAHBRelease&) { SkASSERT(0); } in makeView() argument
113 AutoAHBRelease(AutoAHBRelease&& that) : fAhb(that.fAhb) { that.fAhb = nullptr; } in makeView() function in GrAHardwareBufferImageGenerator::makeView::AutoAHBRelease
114 ~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()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp132 class AutoAHBRelease { in makeProxy() class
134 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease
136 AutoAHBRelease(const AutoAHBRelease&) { SkASSERT(0); } in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease
137 AutoAHBRelease(AutoAHBRelease&& that) : fAhb(that.fAhb) { that.fAhb = nullptr; } in makeProxy() function in GrAHardwareBufferImageGenerator::makeProxy::AutoAHBRelease
138 ~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()