Lines Matching refs:window
387 int (*setSwapInterval)(struct ANativeWindow* window,
407 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window,
421 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window,
443 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window,
451 int (*query)(const struct ANativeWindow* window,
468 int (*perform)(struct ANativeWindow* window,
488 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window,
510 int (*dequeueBuffer)(struct ANativeWindow* window,
532 int (*queueBuffer)(struct ANativeWindow* window,
560 int (*cancelBuffer)(struct ANativeWindow* window,
580 static inline int native_window_set_usage(struct ANativeWindow* window, uint64_t usage) { in native_window_set_usage() argument
581 return window->perform(window, NATIVE_WINDOW_SET_USAGE64, usage); in native_window_set_usage()
586 struct ANativeWindow* window __UNUSED, int api __UNUSED) __deprecated;
589 struct ANativeWindow* window __UNUSED, int api __UNUSED) { in native_window_connect()
595 struct ANativeWindow* window __UNUSED, int api __UNUSED) __deprecated;
598 struct ANativeWindow* window __UNUSED, int api __UNUSED) { in native_window_disconnect()
617 struct ANativeWindow* window, in native_window_set_crop() argument
620 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); in native_window_set_crop()
628 struct ANativeWindow* window, in native_window_set_buffer_count() argument
631 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
644 struct ANativeWindow* window,
648 struct ANativeWindow* window, in native_window_set_buffers_geometry() argument
651 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY, in native_window_set_buffers_geometry()
669 struct ANativeWindow* window, in native_window_set_buffers_dimensions() argument
672 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS, in native_window_set_buffers_dimensions()
694 struct ANativeWindow* window, in native_window_set_buffers_user_dimensions() argument
697 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS, in native_window_set_buffers_user_dimensions()
708 struct ANativeWindow* window, in native_window_set_buffers_format() argument
711 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format()
727 struct ANativeWindow* window, in native_window_set_buffers_data_space() argument
730 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DATASPACE, in native_window_set_buffers_data_space()
745 struct ANativeWindow* window, in native_window_set_buffers_smpte2086_metadata() argument
748 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_SMPTE2086_METADATA, in native_window_set_buffers_smpte2086_metadata()
763 struct ANativeWindow* window, in native_window_set_buffers_cta861_3_metadata() argument
766 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_CTA861_3_METADATA, in native_window_set_buffers_cta861_3_metadata()
784 static inline int native_window_set_buffers_hdr10_plus_metadata(struct ANativeWindow* window, in native_window_set_buffers_hdr10_plus_metadata() argument
787 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_HDR10_PLUS_METADATA, size, in native_window_set_buffers_hdr10_plus_metadata()
797 struct ANativeWindow* window, in native_window_set_buffers_transform() argument
800 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_TRANSFORM, in native_window_set_buffers_transform()
814 struct ANativeWindow* window, in native_window_set_buffers_sticky_transform() argument
817 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_STICKY_TRANSFORM, in native_window_set_buffers_sticky_transform()
832 struct ANativeWindow* window, in native_window_set_buffers_timestamp() argument
835 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_TIMESTAMP, in native_window_set_buffers_timestamp()
845 struct ANativeWindow* window, in native_window_set_scaling_mode() argument
848 return window->perform(window, NATIVE_WINDOW_SET_SCALING_MODE, in native_window_set_scaling_mode()
859 struct ANativeWindow* window, int api) in native_window_api_connect() argument
861 return window->perform(window, NATIVE_WINDOW_API_CONNECT, api); in native_window_api_connect()
871 struct ANativeWindow* window, int api) in native_window_api_disconnect() argument
873 return window->perform(window, NATIVE_WINDOW_API_DISCONNECT, api); in native_window_api_disconnect()
892 struct ANativeWindow* window, in native_window_set_sideband_stream() argument
895 return window->perform(window, NATIVE_WINDOW_SET_SIDEBAND_STREAM, in native_window_set_sideband_stream()
916 struct ANativeWindow* window, in native_window_set_surface_damage() argument
919 return window->perform(window, NATIVE_WINDOW_SET_SURFACE_DAMAGE, in native_window_set_surface_damage()
928 struct ANativeWindow* window, in native_window_set_shared_buffer_mode() argument
931 return window->perform(window, NATIVE_WINDOW_SET_SHARED_BUFFER_MODE, in native_window_set_shared_buffer_mode()
940 struct ANativeWindow* window, in native_window_set_auto_refresh() argument
943 return window->perform(window, NATIVE_WINDOW_SET_AUTO_REFRESH, autoRefresh); in native_window_set_auto_refresh()
947 struct ANativeWindow* window, in native_window_get_refresh_cycle_duration() argument
950 return window->perform(window, NATIVE_WINDOW_GET_REFRESH_CYCLE_DURATION, in native_window_get_refresh_cycle_duration()
955 struct ANativeWindow* window, uint64_t* frameId) in native_window_get_next_frame_id() argument
957 return window->perform(window, NATIVE_WINDOW_GET_NEXT_FRAME_ID, frameId); in native_window_get_next_frame_id()
961 struct ANativeWindow* window, bool enable) in native_window_enable_frame_timestamps() argument
963 return window->perform(window, NATIVE_WINDOW_ENABLE_FRAME_TIMESTAMPS, in native_window_enable_frame_timestamps()
968 struct ANativeWindow* window, in native_window_get_compositor_timing() argument
972 return window->perform(window, NATIVE_WINDOW_GET_COMPOSITOR_TIMING, in native_window_get_compositor_timing()
977 struct ANativeWindow* window, uint64_t frameId, in native_window_get_frame_timestamps() argument
984 return window->perform(window, NATIVE_WINDOW_GET_FRAME_TIMESTAMPS, in native_window_get_frame_timestamps()
992 struct ANativeWindow* window, bool* outSupport) { in native_window_get_wide_color_support() argument
993 return window->perform(window, NATIVE_WINDOW_GET_WIDE_COLOR_SUPPORT, in native_window_get_wide_color_support()
997 static inline int native_window_get_hdr_support(struct ANativeWindow* window, in native_window_get_hdr_support() argument
999 return window->perform(window, NATIVE_WINDOW_GET_HDR_SUPPORT, outSupport); in native_window_get_hdr_support()
1002 static inline int native_window_get_consumer_usage(struct ANativeWindow* window, in native_window_get_consumer_usage() argument
1004 return window->perform(window, NATIVE_WINDOW_GET_CONSUMER_USAGE64, outUsage); in native_window_get_consumer_usage()
1016 static inline int native_window_set_auto_prerotation(struct ANativeWindow* window, in native_window_set_auto_prerotation() argument
1018 return window->perform(window, NATIVE_WINDOW_SET_AUTO_PREROTATION, autoPrerotation); in native_window_set_auto_prerotation()
1021 static inline int native_window_set_frame_rate(struct ANativeWindow* window, float frameRate, in native_window_set_frame_rate() argument
1023 return window->perform(window, NATIVE_WINDOW_SET_FRAME_RATE, (double)frameRate, in native_window_set_frame_rate()
1027 static inline int native_window_set_frame_timeline_info(struct ANativeWindow* window, in native_window_set_frame_timeline_info() argument
1030 return window->perform(window, NATIVE_WINDOW_SET_FRAME_TIMELINE_INFO, in native_window_set_frame_timeline_info()
1057 static inline int ANativeWindow_getLastQueuedBuffer(ANativeWindow* window, in ANativeWindow_getLastQueuedBuffer() argument
1060 return window->perform(window, NATIVE_WINDOW_GET_LAST_QUEUED_BUFFER, outBuffer, outFence, in ANativeWindow_getLastQueuedBuffer()
1082 static inline int ANativeWindow_getLastQueuedBuffer2(ANativeWindow* window, in ANativeWindow_getLastQueuedBuffer2() argument
1085 return window->perform(window, NATIVE_WINDOW_GET_LAST_QUEUED_BUFFER2, outBuffer, outFence, in ANativeWindow_getLastQueuedBuffer2()
1094 static inline int64_t ANativeWindow_getNextFrameId(ANativeWindow* window) { in ANativeWindow_getNextFrameId() argument
1096 window->perform(window, NATIVE_WINDOW_GET_NEXT_FRAME_ID, &value); in ANativeWindow_getNextFrameId()
1104 typedef int (*ANativeWindow_queryFn)(const ANativeWindow* window, int what, int* value);
1112 typedef int (*ANativeWindow_queryInterceptor)(const ANativeWindow* window,
1128 static inline int ANativeWindow_setQueryInterceptor(ANativeWindow* window, in ANativeWindow_setQueryInterceptor() argument
1131 return window->perform(window, NATIVE_WINDOW_SET_QUERY_INTERCEPTOR, interceptor, data); in ANativeWindow_setQueryInterceptor()