Home
last modified time | relevance | path

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

123

/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/base/libs/hwui/renderthread/
DReliableSurface.h67 ANativeWindowBuffer* mReservedBuffer = nullptr;
74 bool isFallbackBuffer(const ANativeWindowBuffer* windowBuffer) const;
75 ANativeWindowBuffer* acquireFallbackBuffer(int error);
83 void* data, ANativeWindowBuffer* buffer, int fenceFd);
86 ANativeWindowBuffer** buffer, int* fenceFd);
88 void* data, ANativeWindowBuffer* buffer, int fenceFd);
DReliableSurface.cpp98 ANativeWindowBuffer* buffer = nullptr; in reserveNext()
114 ANativeWindowBuffer* buffer = nullptr; in clearReservedBuffer()
135 bool ReliableSurface::isFallbackBuffer(const ANativeWindowBuffer* windowBuffer) const { in isFallbackBuffer()
139 ANativeWindowBuffer* scratchBuffer = in isFallbackBuffer()
144 ANativeWindowBuffer* ReliableSurface::acquireFallbackBuffer(int error) { in acquireFallbackBuffer()
177 ANativeWindowBuffer** buffer, int* fenceFd) { in hook_dequeueBuffer()
204 ANativeWindowBuffer* buffer, int fenceFd) { in hook_cancelBuffer()
218 ANativeWindowBuffer* buffer, int fenceFd) { in hook_queueBuffer()
/frameworks/native/libs/nativewindow/include/apex/
Dwindow.h59 typedef int (*ANativeWindow_cancelBufferFn)(ANativeWindow* window, ANativeWindowBuffer* buffer,
70 void* data, ANativeWindowBuffer* buffer,
77 typedef int (*ANativeWindow_dequeueBufferFn)(ANativeWindow* window, ANativeWindowBuffer** buffer,
88 void* data, ANativeWindowBuffer** buffer,
111 typedef int (*ANativeWindow_queueBufferFn)(ANativeWindow* window, ANativeWindowBuffer* buffer,
122 void* data, ANativeWindowBuffer* buffer,
/frameworks/native/libs/nativebase/include/nativebase/
Dnativebase.h66 typedef struct ANativeWindowBuffer struct
69 ANativeWindowBuffer() { in ANativeWindowBuffer() argument
71 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer()
105 typedef struct ANativeWindowBuffer ANativeWindowBuffer; argument
/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/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.h208 ANativeWindowBuffer* buffer, int fenceFd);
210 ANativeWindowBuffer** buffer, int* fenceFd);
214 ANativeWindowBuffer* buffer, int fenceFd);
217 static int cancelBufferInternal(ANativeWindow* window, ANativeWindowBuffer* buffer,
219 static int dequeueBufferInternal(ANativeWindow* window, ANativeWindowBuffer** buffer,
222 static int queueBufferInternal(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
226 ANativeWindowBuffer* buffer);
228 ANativeWindowBuffer** buffer);
230 ANativeWindowBuffer* buffer);
232 ANativeWindowBuffer* buffer);
[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/tests/
DANativeWindowTest.cpp81 ANativeWindowBuffer* buffer; in TEST_F()
99 ANativeWindowBuffer* buffer; in TEST_F()
111 ANativeWindowBuffer* buffer; in TEST_F()
131 ANativeWindowBuffer* buffer; in TEST_F()
148 ANativeWindowBuffer* buffer; in TEST_F()
/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/av/media/libstagefright/renderfright/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,
/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,
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h408 struct ANativeWindowBuffer** buffer);
422 struct ANativeWindowBuffer* buffer);
444 struct ANativeWindowBuffer* buffer);
489 struct ANativeWindowBuffer* buffer);
511 struct ANativeWindowBuffer** buffer, int* fenceFd);
533 struct ANativeWindowBuffer* buffer, int fenceFd);
561 struct ANativeWindowBuffer* buffer, int fenceFd);
883 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLImage.h26 struct ANativeWindowBuffer;
39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
DGLFramebuffer.h26 struct ANativeWindowBuffer;
40 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/native/libs/renderengine/gl/
DGLImage.h26 struct ANativeWindowBuffer;
39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
DGLFramebuffer.h26 struct ANativeWindowBuffer;
40 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/native/libs/ui/
DGraphicBuffer.cpp43 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) { in from()
140 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer()
142 return static_cast<ANativeWindowBuffer*>( in getNativeBuffer()
206 ANativeWindowBuffer::width = static_cast<int>(inWidth); in initWithHandle()
207 ANativeWindowBuffer::height = static_cast<int>(inHeight); in initWithHandle()
208 ANativeWindowBuffer::stride = static_cast<int>(inStride); in initWithHandle()
209 ANativeWindowBuffer::format = inFormat; in initWithHandle()
210 ANativeWindowBuffer::usage = inUsage; in initWithHandle()
211 ANativeWindowBuffer::usage_deprecated = int(inUsage); in initWithHandle()
213 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.h47 virtual status_t notifyBufferReleased(ANativeWindowBuffer *buffer);
114 status_t attachBufferToSplitterLocked(ANativeWindowBuffer* anb,
124 ANativeWindowBuffer* buffer, int anwReleaseFence,
/frameworks/native/headers/media_plugin/media/hardware/
DHardwareAPI.h30 struct ANativeWindowBuffer;
148 struct ANativeWindowBuffer* pBuffer;
200 const sp<ANativeWindowBuffer>& nativeBuffer;

123