Home
last modified time | relevance | path

Searched refs:ANativeWindowBuffer (Results 1 – 24 of 24) sorted by relevance

/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DAndroidWindow.cpp41 static int hook_dequeueBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer**…
42 static int hook_lockBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* buf…
43 static int hook_queueBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* bu…
46 static int hook_cancelBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* b…
47 static int hook_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in…
48 static int hook_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, int f…
49 static int hook_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, int …
81 int AndroidWindow::dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer()
91 int AndroidWindow::queueBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer()
97 int AndroidWindow::cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer()
[all …]
DGraphicBuffer.cpp34 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) { in from()
101 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer()
103 return static_cast<ANativeWindowBuffer*>( in getNativeBuffer()
159 ANativeWindowBuffer::width = static_cast<int>(inWidth); in initWithHandle()
160 ANativeWindowBuffer::height = static_cast<int>(inHeight); in initWithHandle()
161 ANativeWindowBuffer::stride = static_cast<int>(inStride); in initWithHandle()
162 ANativeWindowBuffer::format = inFormat; in initWithHandle()
163 ANativeWindowBuffer::usage = inUsage; in initWithHandle()
164 ANativeWindowBuffer::usage_deprecated = int(inUsage); in initWithHandle()
165 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
[all …]
DAndroidBufferQueue.h18 class ANativeWindowBuffer; variable
28 Item(ANativeWindowBuffer* buf = 0, int fd = -1) :
30 ANativeWindowBuffer* buffer = 0;
DAndroidWindow.h40 int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd);
41 int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd);
42 int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
DANativeWindow.cpp139 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb) { in ANativeWindowBuffer_getHardwareBuffer()
190 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in ANativeWindow_dequeueBuffer()
193 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_queueBuffer()
196 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_cancelBuffer()
DAndroidWindowBuffer.h25 class AndroidWindowBuffer : public ANativeWindowBuffer {
DAHardwareBuffer.cpp422 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_ANativeWindowBuffer()
425 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer) { in AHardwareBuffer_to_ANativeWindowBuffer()
DSurfaceFlinger.h49 std::vector<ANativeWindowBuffer*> appBuffers,
DAndroidWindowBuffer.cpp51 : ANativeWindowBuffer() { in AndroidWindowBuffer()
DSurfaceFlinger.cpp31 std::vector<ANativeWindowBuffer*> appBuffers, in SurfaceFlinger()
/device/generic/opengl-transport/host/libs/virglrenderer/include/system/
Dwindow.h32 common.version = sizeof(ANativeWindowBuffer); in ANativeWindow()
46 int (*dequeueBuffer_DEPRECATED)(ANativeWindow*, ANativeWindowBuffer**);
47 int (*lockBuffer_DEPRECATED)(ANativeWindow*, ANativeWindowBuffer*);
48 int (*queueBuffer_DEPRECATED)(ANativeWindow*, ANativeWindowBuffer*);
51 int (*cancelBuffer_DEPRECATED)(ANativeWindow*, ANativeWindowBuffer*);
52 int (*dequeueBuffer)(ANativeWindow*, ANativeWindowBuffer**, int*);
53 int (*queueBuffer)(ANativeWindow*, ANativeWindowBuffer*, int);
54 int (*cancelBuffer)(ANativeWindow*, ANativeWindowBuffer*, int);
63 ANativeWindowBuffer** anwb) { in native_window_dequeue_buffer_and_wait()
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp49 ANativeWindowBuffer* anwb = reinterpret_cast<ANativeWindowBuffer*>(base); in incRefANWB()
54 ANativeWindowBuffer* anwb = reinterpret_cast<ANativeWindowBuffer*>(base); in decRefANWB()
61 struct FakeANativeWindowBuffer : public ANativeWindowBuffer {
63 ANativeWindowBuffer(); in FakeANativeWindowBuffer()
90 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer) { in dequeueBuffer_DEPRECATED()
93 *buffer = reinterpret_cast<ANativeWindowBuffer*>(window->oem[1]); in dequeueBuffer_DEPRECATED()
98 static int lockBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer*) { in lockBuffer_DEPRECATED() argument
103 static int queueBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer*) { in queueBuffer_DEPRECATED() argument
124 static int cancelBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer*) { in cancelBuffer_DEPRECATED() argument
129 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer()
[all …]
/device/generic/vulkan-cereal/fake-android-guest/nativebase/
Dnativebase.h53 typedef struct ANativeWindowBuffer struct
56 ANativeWindowBuffer() { in ANativeWindowBuffer() argument
58 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer()
85 typedef struct ANativeWindowBuffer ANativeWindowBuffer; argument
/device/generic/vulkan-cereal/fake-android-guest/system/
Dwindow.h338 struct ANativeWindowBuffer** buffer);
351 struct ANativeWindowBuffer* buffer);
372 struct ANativeWindowBuffer* buffer);
414 struct ANativeWindowBuffer* buffer);
435 struct ANativeWindowBuffer** buffer, int* fenceFd);
456 struct ANativeWindowBuffer* buffer, int fenceFd);
483 struct ANativeWindowBuffer* buffer, int fenceFd);
761 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait()
/device/generic/vulkan-cereal/fake-android-guest/vndk/
Dwindow.h25 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb);
174 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
194 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
220 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/device/generic/vulkan-cereal/fake-android-guest/android/
DAHardwareBufferHelpers.h27 struct ANativeWindowBuffer;
42 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer);
43 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
/device/generic/opengl-transport/host/libs/virglrenderer/include/nativebase/
Dnativebase.h42 struct ANativeWindowBuffer { struct
43 ANativeWindowBuffer() { in ANativeWindowBuffer() function
45 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer()
/device/generic/vulkan-cereal/fake-android-guest/ui/
DGraphicBuffer.h36 : public ANativeObjectBase<ANativeWindowBuffer, GraphicBuffer, RefBase>,
60 static sp<GraphicBuffer> from(ANativeWindowBuffer *);
150 ANativeWindowBuffer* getNativeBuffer() const;
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/
DGoldfishVPX.cpp397 sp<ANativeWindowBuffer> nBuf = mNWBuffers[header]; in getHostColorBufferId()
452 sp<ANativeWindowBuffer> nBuf = use_buffer_params->nativeBuffer; in internalSetParameter()
DGoldfishVPX.h79 std::map<void*, sp<ANativeWindowBuffer>> mNWBuffers;
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp283 sp<ANativeWindowBuffer> nBuf = mNWBuffers[header]; in getHostColorBufferId()
580 sp<ANativeWindowBuffer> nBuf = use_buffer_params->nativeBuffer; in internalSetParameter()
DGoldfishAVCDec.h82 std::map<void*, sp<ANativeWindowBuffer>> mNWBuffers;
/device/generic/vulkan-cereal/fake-android-guest/libvulkan/
Dswapchain.cpp230 android::sp<ANativeWindowBuffer> buffer;
1234 ANativeWindowBuffer* buffer; in CreateSwapchainKHR()
1387 ANativeWindowBuffer* buffer; in AcquireNextImageKHR()
1640 ANativeWindowBuffer* buffer; in QueuePresentKHR()
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp66 ANativeWindowBuffer* b = bufferItem.mGraphicBuffer->getNativeBuffer(); in onFrameAvailable()