Home
last modified time | relevance | path

Searched refs:graphic_buffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libdvr/
Ddvr_buffer.cpp28 int ConvertToAHardwareBuffer(GraphicBuffer* graphic_buffer, in ConvertToAHardwareBuffer() argument
30 if (!hardware_buffer || !graphic_buffer) { in ConvertToAHardwareBuffer()
33 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer()
/frameworks/native/libs/gui/
DBufferHubProducer.cpp73 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in requestBuffer() local
75 buffers_[slot].mGraphicBuffer = graphic_buffer; in requestBuffer()
78 *buf = graphic_buffer; in requestBuffer()
257 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in DetachBufferLocked() local
258 if (graphic_buffer == nullptr) { in DetachBufferLocked()
350 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in detachNextBuffer() local
357 *out_buffer = graphic_buffer; in detachNextBuffer()
/frameworks/base/native/android/
Dsurface_control.cpp364 sp<GraphicBuffer> graphic_buffer(reinterpret_cast<GraphicBuffer*>(buffer)); in ASurfaceTransaction_setBuffer() local
366 transaction->setBuffer(surfaceControl, graphic_buffer); in ASurfaceTransaction_setBuffer()