/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.h | 55 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 …]
|
D | ReliableSurface.cpp | 113 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/ |
D | MockNativeWindow.h | 34 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));
|
D | MockNativeWindow.cpp | 28 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/libs/nativebase/include/nativebase/ |
D | nativebase.h | 66 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/mock/ |
D | NativeWindow.cpp | 27 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/ |
D | NativeWindow.h | 39 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/ |
D | Surface.h | 183 ANativeWindowBuffer* buffer, int fenceFd); 185 ANativeWindowBuffer** buffer, int* fenceFd); 189 ANativeWindowBuffer* buffer, int fenceFd); 193 ANativeWindowBuffer* buffer); 195 ANativeWindowBuffer** buffer); 197 ANativeWindowBuffer* buffer); 199 ANativeWindowBuffer* buffer); 236 virtual int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd); 237 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd); 238 virtual int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd); [all …]
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | window.h | 31 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/ |
D | AHardwareBufferHelpers.h | 32 struct ANativeWindowBuffer; 65 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer); 66 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 389 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/ |
D | EGL_ANDROID_image_native_buffer.txt | 43 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/ |
D | Image.h | 19 struct ANativeWindowBuffer; 27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
|
D | Framebuffer.h | 21 struct ANativeWindowBuffer; 30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
D | RenderEngine.h | 38 struct ANativeWindowBuffer; 195 ANativeWindowBuffer* buffer, const bool useFramebufferCache, 210 BindNativeBufferAsFramebuffer(RenderEngine& engine, ANativeWindowBuffer* buffer, in BindNativeBufferAsFramebuffer()
|
/frameworks/native/libs/renderengine/gl/ |
D | GLImage.h | 26 struct ANativeWindowBuffer; 39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
|
D | GLFramebuffer.h | 25 struct ANativeWindowBuffer; 38 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3SharedOutputStream.h | 46 virtual status_t notifyBufferReleased(ANativeWindowBuffer *buffer); 107 status_t attachBufferToSplitterLocked(ANativeWindowBuffer* anb, 117 ANativeWindowBuffer* buffer, int anwReleaseFence,
|
D | Camera3OutputStream.h | 169 virtual status_t notifyBufferReleased(ANativeWindowBuffer *anwBuffer); 241 status_t getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd); 300 ANativeWindowBuffer* buffer, int anwReleaseFence,
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 48 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/ |
D | HardwareAPI.h | 30 struct ANativeWindowBuffer; 148 struct ANativeWindowBuffer* pBuffer; 200 const sp<ANativeWindowBuffer>& nativeBuffer;
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 40 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/ |
D | ANativeWindow.cpp | 154 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/ |
D | FrameRenderTracker.h | 31 struct ANativeWindowBuffer; 108 Info *updateInfoForDequeuedBuffer(ANativeWindowBuffer *buf, int fenceFd, int index);
|
/frameworks/native/opengl/libagl/ |
D | TextureObjectManager.h | 51 status_t setImage(ANativeWindowBuffer* buffer); 83 ANativeWindowBuffer* buffer;
|