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.cpp72 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in requestBuffer() local
74 buffers_[slot].mGraphicBuffer = graphic_buffer; in requestBuffer()
77 *buf = graphic_buffer; in requestBuffer()
256 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in DetachBufferLocked() local
257 if (graphic_buffer == nullptr) { in DetachBufferLocked()
349 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in detachNextBuffer() local
356 *out_buffer = graphic_buffer; in detachNextBuffer()
/frameworks/base/native/android/
Dsurface_control.cpp371 sp<GraphicBuffer> graphic_buffer(reinterpret_cast<GraphicBuffer*>(buffer)); in ASurfaceTransaction_setBuffer() local
373 transaction->setBuffer(surfaceControl, graphic_buffer); in ASurfaceTransaction_setBuffer()