17ec681f3Smrg#include <vndk/window.h> 27ec681f3Smrg 37ec681f3Smrgextern "C" { 47ec681f3Smrg 57ec681f3SmrgAHardwareBuffer * 67ec681f3SmrgANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer *anwb) 77ec681f3Smrg{ 87ec681f3Smrg return nullptr; 97ec681f3Smrg} 107ec681f3Smrg 117ec681f3Smrgvoid 127ec681f3SmrgAHardwareBuffer_acquire(AHardwareBuffer *buffer) 137ec681f3Smrg{ 147ec681f3Smrg} 157ec681f3Smrg 167ec681f3Smrgvoid 177ec681f3SmrgAHardwareBuffer_release(AHardwareBuffer *buffer) 187ec681f3Smrg{ 197ec681f3Smrg} 207ec681f3Smrg 217ec681f3Smrgvoid 227ec681f3SmrgAHardwareBuffer_describe(const AHardwareBuffer *buffer, 237ec681f3Smrg AHardwareBuffer_Desc *outDesc) 247ec681f3Smrg{ 257ec681f3Smrg} 267ec681f3Smrg 277ec681f3Smrgint 287ec681f3SmrgAHardwareBuffer_allocate(const AHardwareBuffer_Desc *desc, 297ec681f3Smrg AHardwareBuffer **outBuffer) 307ec681f3Smrg{ 317ec681f3Smrg return 0; 327ec681f3Smrg} 337ec681f3Smrg 347ec681f3Smrgconst native_handle_t * 357ec681f3SmrgAHardwareBuffer_getNativeHandle(const AHardwareBuffer *buffer) 367ec681f3Smrg{ 377ec681f3Smrg return NULL; 387ec681f3Smrg} 397ec681f3Smrg 407ec681f3Smrgvoid 417ec681f3SmrgANativeWindow_acquire(ANativeWindow *window) 427ec681f3Smrg{ 437ec681f3Smrg} 447ec681f3Smrg 457ec681f3Smrgvoid 467ec681f3SmrgANativeWindow_release(ANativeWindow *window) 477ec681f3Smrg{ 487ec681f3Smrg} 497ec681f3Smrg 507ec681f3Smrgint32_t 517ec681f3SmrgANativeWindow_getFormat(ANativeWindow *window) 527ec681f3Smrg{ 537ec681f3Smrg return 0; 547ec681f3Smrg} 557ec681f3Smrg 567ec681f3Smrgint 577ec681f3SmrgANativeWindow_setSwapInterval(ANativeWindow *window, int interval) 587ec681f3Smrg{ 597ec681f3Smrg return 0; 607ec681f3Smrg} 617ec681f3Smrg 627ec681f3Smrgint 637ec681f3SmrgANativeWindow_query(const ANativeWindow *window, 647ec681f3Smrg ANativeWindowQuery query, 657ec681f3Smrg int *value) 667ec681f3Smrg{ 677ec681f3Smrg return 0; 687ec681f3Smrg} 697ec681f3Smrg 707ec681f3Smrgint 717ec681f3SmrgANativeWindow_dequeueBuffer(ANativeWindow *window, 727ec681f3Smrg ANativeWindowBuffer **buffer, 737ec681f3Smrg int *fenceFd) 747ec681f3Smrg{ 757ec681f3Smrg return 0; 767ec681f3Smrg} 777ec681f3Smrg 787ec681f3Smrgint 797ec681f3SmrgANativeWindow_queueBuffer(ANativeWindow *window, 807ec681f3Smrg ANativeWindowBuffer *buffer, 817ec681f3Smrg int fenceFd) 827ec681f3Smrg{ 837ec681f3Smrg return 0; 847ec681f3Smrg} 857ec681f3Smrg 867ec681f3Smrgint ANativeWindow_cancelBuffer(ANativeWindow* window, 877ec681f3Smrg ANativeWindowBuffer* buffer, 887ec681f3Smrg int fenceFd) { 897ec681f3Smrg return 0; 907ec681f3Smrg} 917ec681f3Smrg 927ec681f3Smrgint 937ec681f3SmrgANativeWindow_setUsage(ANativeWindow *window, uint64_t usage) 947ec681f3Smrg{ 957ec681f3Smrg return 0; 967ec681f3Smrg} 977ec681f3Smrg 987ec681f3Smrgint 997ec681f3SmrgANativeWindow_setSharedBufferMode(ANativeWindow *window, 1007ec681f3Smrg bool sharedBufferMode) 1017ec681f3Smrg{ 1027ec681f3Smrg return 0; 1037ec681f3Smrg} 1047ec681f3Smrg} 105