Home
last modified time | relevance | path

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

123

/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h55 ANativeWindowBuffer* mReservedBuffer = nullptr;
60 bool isFallbackBuffer(const ANativeWindowBuffer* windowBuffer) const;
61 ANativeWindowBuffer* acquireFallbackBuffer();
65 int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
66 int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd);
67 int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd);
72 static int hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
73 static int hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer,
75 static int hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
81 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
[all …]
DReliableSurface.cpp113 ANativeWindowBuffer* buffer = nullptr; in reserveNext()
127 ANativeWindowBuffer* buffer = nullptr; in clearReservedBuffer()
145 int ReliableSurface::cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer()
157 int ReliableSurface::dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer()
181 int ReliableSurface::queueBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer()
195 bool ReliableSurface::isFallbackBuffer(const ANativeWindowBuffer* windowBuffer) const { in isFallbackBuffer()
199 ANativeWindowBuffer* scratchBuffer = in isFallbackBuffer()
204 ANativeWindowBuffer* ReliableSurface::acquireFallbackBuffer() { in acquireFallbackBuffer()
239 int ReliableSurface::hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, in hook_dequeueBuffer()
244 int ReliableSurface::hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, in hook_cancelBuffer()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.h34 MOCK_METHOD1(dequeueBuffer_DEPRECATED, int(struct ANativeWindowBuffer**));
35 MOCK_METHOD1(lockBuffer_DEPRECATED, int(struct ANativeWindowBuffer*));
36 MOCK_METHOD1(queueBuffer_DEPRECATED, int(struct ANativeWindowBuffer*));
40 MOCK_METHOD1(cancelBuffer_DEPRECATED, int(struct ANativeWindowBuffer*));
41 MOCK_METHOD2(dequeueBuffer, int(struct ANativeWindowBuffer**, int*));
42 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
43 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
DMockNativeWindow.cpp28 struct ANativeWindowBuffer** buffer) { in dispatch_dequeueBuffer_DEPRECATED()
33 struct ANativeWindowBuffer* buffer) { in dispatch_lockBuffer_DEPRECATED()
38 struct ANativeWindowBuffer* buffer) { in dispatch_queueBuffer_DEPRECATED()
52 struct ANativeWindowBuffer* buffer) { in dispatch_cancelBuffer_DEPRECATED()
56 int dispatch_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in dispatch_dequeueBuffer()
61 int dispatch_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_queueBuffer()
66 int dispatch_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_cancelBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp27 static int forwardDequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in forwardDequeueBuffer()
31 static int forwardCancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardCancelBuffer()
35 static int forwardQueueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardQueueBuffer()
89 static int forwardDequeueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer** buffer) { in forwardDequeueBufferDeprecated()
94 static int forwardCancelBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardCancelBufferDeprecated()
98 static int forwardLockBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardLockBufferDeprecated()
102 static int forwardQueueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardQueueBufferDeprecated()
/frameworks/native/libs/nativebase/include/nativebase/
Dnativebase.h66 typedef struct ANativeWindowBuffer struct
69 ANativeWindowBuffer() { in ANativeWindowBuffer() function
71 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer()
105 typedef struct ANativeWindowBuffer ANativeWindowBuffer; argument
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h39 MOCK_METHOD2(dequeueBuffer, int(struct ANativeWindowBuffer**, int*));
40 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
41 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
45 MOCK_METHOD1(lockBuffer_DEPRECATED, int(struct ANativeWindowBuffer*));
/frameworks/native/libs/gui/include/gui/
DSurface.h199 ANativeWindowBuffer* buffer, int fenceFd);
201 ANativeWindowBuffer** buffer, int* fenceFd);
205 ANativeWindowBuffer* buffer, int fenceFd);
209 ANativeWindowBuffer* buffer);
211 ANativeWindowBuffer** buffer);
213 ANativeWindowBuffer* buffer);
215 ANativeWindowBuffer* buffer);
252 virtual int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd);
253 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
254 virtual int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd);
[all …]
/frameworks/native/libs/nativewindow/include/vndk/
Dwindow.h31 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb);
199 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
221 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
249 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/frameworks/native/libs/nativewindow/include-private/private/android/
DAHardwareBufferHelpers.h32 struct ANativeWindowBuffer;
65 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer);
66 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h389 struct ANativeWindowBuffer** buffer);
403 struct ANativeWindowBuffer* buffer);
425 struct ANativeWindowBuffer* buffer);
470 struct ANativeWindowBuffer* buffer);
492 struct ANativeWindowBuffer** buffer, int* fenceFd);
514 struct ANativeWindowBuffer* buffer, int fenceFd);
542 struct ANativeWindowBuffer* buffer, int fenceFd);
864 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait()
/frameworks/native/opengl/specs/
DEGL_ANDROID_image_native_buffer.txt43 ANativeWindowBuffer) as an EGLImage source.
70 | EGL_NATIVE_BUFFER_ANDROID | Used for ANativeWindowBuffer objects |
78 ANativeWindowBuffer object (cast into the type EGLClientBuffer), and
84 pointer to a valid ANativeWindowBuffer, the error EGL_BAD_PARAMETER
96 1. Should this extension define what combinations of ANativeWindowBuffer
/frameworks/native/libs/renderengine/include/renderengine/
DImage.h19 struct ANativeWindowBuffer;
27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
DFramebuffer.h21 struct ANativeWindowBuffer;
30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
DRenderEngine.h38 struct ANativeWindowBuffer;
216 ANativeWindowBuffer* buffer, const bool useFramebufferCache,
231 BindNativeBufferAsFramebuffer(RenderEngine& engine, ANativeWindowBuffer* buffer, in BindNativeBufferAsFramebuffer()
/frameworks/native/libs/renderengine/gl/
DGLImage.h26 struct ANativeWindowBuffer;
39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
DGLFramebuffer.h25 struct ANativeWindowBuffer;
38 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.h46 virtual status_t notifyBufferReleased(ANativeWindowBuffer *buffer);
107 status_t attachBufferToSplitterLocked(ANativeWindowBuffer* anb,
117 ANativeWindowBuffer* buffer, int anwReleaseFence,
DCamera3OutputStream.h173 virtual status_t notifyBufferReleased(ANativeWindowBuffer *anwBuffer);
245 status_t getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd);
304 ANativeWindowBuffer* buffer, int anwReleaseFence,
/frameworks/native/libs/ui/
DGraphicBuffer.cpp48 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) { in from()
161 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer()
163 return static_cast<ANativeWindowBuffer*>( in getNativeBuffer()
227 ANativeWindowBuffer::width = static_cast<int>(inWidth); in initWithHandle()
228 ANativeWindowBuffer::height = static_cast<int>(inHeight); in initWithHandle()
229 ANativeWindowBuffer::stride = static_cast<int>(inStride); in initWithHandle()
230 ANativeWindowBuffer::format = inFormat; in initWithHandle()
231 ANativeWindowBuffer::usage = inUsage; in initWithHandle()
232 ANativeWindowBuffer::usage_deprecated = int(inUsage); in initWithHandle()
234 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
[all …]
/frameworks/native/headers/media_plugin/media/hardware/
DHardwareAPI.h30 struct ANativeWindowBuffer;
148 struct ANativeWindowBuffer* pBuffer;
200 const sp<ANativeWindowBuffer>& nativeBuffer;
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp40 ANativeWindowBuffer* anb; in TEST_F()
90 ANativeWindowBuffer* anb; in TEST_F()
155 ANativeWindowBuffer* anb; in TEST_F()
232 ANativeWindowBuffer* anb; in TEST_F()
447 ANativeWindowBuffer* anb; in TEST_F()
508 ANativeWindowBuffer *anb; in TEST_F()
548 ANativeWindowBuffer *anb; in TEST_F()
579 ANativeWindowBuffer *anb; in TEST_F()
632 ANativeWindowBuffer* anb; in TEST_F()
701 ANativeWindowBuffer* anb; in TEST_F()
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp154 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb) { in ANativeWindowBuffer_getHardwareBuffer()
226 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in ANativeWindow_dequeueBuffer()
230 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_queueBuffer()
234 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_cancelBuffer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DFrameRenderTracker.h31 struct ANativeWindowBuffer;
108 Info *updateInfoForDequeuedBuffer(ANativeWindowBuffer *buf, int fenceFd, int index);
/frameworks/native/opengl/libagl/
DTextureObjectManager.h51 status_t setImage(ANativeWindowBuffer* buffer);
83 ANativeWindowBuffer* buffer;

123