Home
last modified time | relevance | path

Searched refs:ANativeWindow (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/mesa3d/include/android_stub/system/
Dwindow.h403 struct ANativeWindow struct
406 ANativeWindow() in ANativeWindow() argument
410 common.version = sizeof(ANativeWindow); in ANativeWindow()
447 int (*setSwapInterval)(struct ANativeWindow* window, argument
467 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window, argument
481 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window, argument
503 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window, argument
511 int (*query)(const struct ANativeWindow* window, argument
528 int (*perform)(struct ANativeWindow* window, argument
548 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window, argument
[all …]
/third_party/mesa3d/include/android_stub/android/
Dnative_window.h81 struct ANativeWindow;
87 typedef struct ANativeWindow ANativeWindow; typedef
119 void ANativeWindow_acquire(ANativeWindow* window);
124 void ANativeWindow_release(ANativeWindow* window);
131 int32_t ANativeWindow_getWidth(ANativeWindow* window);
138 int32_t ANativeWindow_getHeight(ANativeWindow* window);
145 int32_t ANativeWindow_getFormat(ANativeWindow* window);
164 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window,
177 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
186 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window);
[all …]
/third_party/mesa3d/include/android_stub/vndk/
Dwindow.h43 int ANativeWindow_OemStorageSet(ANativeWindow* window, uint32_t slot, intptr_t value);
54 int ANativeWindow_OemStorageGet(ANativeWindow* window, uint32_t slot, intptr_t* value);
62 int ANativeWindow_setSwapInterval(ANativeWindow* window, int interval);
176 int ANativeWindow_query(const ANativeWindow* window, ANativeWindowQuery query, int* value);
177 int ANativeWindow_queryf(const ANativeWindow* window, ANativeWindowQuery query, float* value);
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);
263 int ANativeWindow_setUsage(ANativeWindow* window, uint64_t usage);
269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
[all …]
/third_party/skia/third_party/externals/swiftshader/include/Android/vndk/
Dwindow.h21 struct ANativeWindow;
22 typedef struct ANativeWindow ANativeWindow; typedef
24 void ANativeWindow_acquire(ANativeWindow* window);
25 void ANativeWindow_release(ANativeWindow* window);
26 int32_t ANativeWindow_getWidth(ANativeWindow* window);
27 int32_t ANativeWindow_getHeight(ANativeWindow* window);
28 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
29 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
30 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
31 int ANativeWindow_setUsage(ANativeWindow* window, uint64_t usage);
/third_party/mesa3d/src/android_stub/
Dnativewindow_stub.cpp41 ANativeWindow_acquire(ANativeWindow *window) in ANativeWindow_acquire()
46 ANativeWindow_release(ANativeWindow *window) in ANativeWindow_release()
51 ANativeWindow_getFormat(ANativeWindow *window) in ANativeWindow_getFormat()
57 ANativeWindow_setSwapInterval(ANativeWindow *window, int interval) in ANativeWindow_setSwapInterval()
63 ANativeWindow_query(const ANativeWindow *window, in ANativeWindow_query()
71 ANativeWindow_dequeueBuffer(ANativeWindow *window, in ANativeWindow_dequeueBuffer()
79 ANativeWindow_queueBuffer(ANativeWindow *window, in ANativeWindow_queueBuffer()
86 int ANativeWindow_cancelBuffer(ANativeWindow* window, in ANativeWindow_cancelBuffer()
93 ANativeWindow_setUsage(ANativeWindow *window, uint64_t usage) in ANativeWindow_setUsage()
99 ANativeWindow_setSharedBufferMode(ANativeWindow *window, in ANativeWindow_setSharedBufferMode()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_android.h45 ANativeWindow_acquire(struct ANativeWindow *window) in ANativeWindow_acquire()
51 ANativeWindow_release(struct ANativeWindow *window) in ANativeWindow_release()
57 ANativeWindow_getFormat(struct ANativeWindow *window) in ANativeWindow_getFormat()
65 ANativeWindow_dequeueBuffer(struct ANativeWindow *window, in ANativeWindow_dequeueBuffer()
73 ANativeWindow_queueBuffer(struct ANativeWindow *window, in ANativeWindow_queueBuffer()
81 ANativeWindow_cancelBuffer(struct ANativeWindow *window, in ANativeWindow_cancelBuffer()
89 ANativeWindow_setUsage(struct ANativeWindow *window, uint64_t usage) in ANativeWindow_setUsage()
95 ANativeWindow_setSharedBufferMode(struct ANativeWindow *window, in ANativeWindow_setSharedBufferMode()
102 ANativeWindow_setSwapInterval(struct ANativeWindow *window, int interval) in ANativeWindow_setSwapInterval()
108 ANativeWindow_query(const struct ANativeWindow *window, in ANativeWindow_query()
Dplatform_ohos.h42 #define ANativeWindow NativeWindow macro
45 ANativeWindow_acquire(struct ANativeWindow *window) in ANativeWindow_acquire()
51 ANativeWindow_release(struct ANativeWindow *window) in ANativeWindow_release()
57 ANativeWindow_getFormat(struct ANativeWindow *window) in ANativeWindow_getFormat()
65 ANativeWindow_dequeueBuffer(struct ANativeWindow *window, in ANativeWindow_dequeueBuffer()
73 ANativeWindow_queueBuffer(struct ANativeWindow *window, in ANativeWindow_queueBuffer()
84 ANativeWindow_cancelBuffer(struct ANativeWindow *window, in ANativeWindow_cancelBuffer()
92 ANativeWindow_setUsage(struct ANativeWindow *window, uint64_t usage) in ANativeWindow_setUsage()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidRenderActivity.hpp62 ANativeWindow* window;
80 Message (MessageType type_, ANativeWindow* window) in Message()
138 virtual void onWindowCreated (ANativeWindow* window) = 0;
139 virtual void onWindowResized (ANativeWindow* window) = 0;
140 virtual void onWindowDestroyed (ANativeWindow* window) = 0;
158 ANativeWindow* m_window;
176 virtual void onNativeWindowCreated (ANativeWindow* window);
177 virtual void onNativeWindowResized (ANativeWindow* window);
178 virtual void onNativeWindowRedrawNeeded (ANativeWindow* window);
179 virtual void onNativeWindowDestroyed (ANativeWindow* window);
DtcuAndroidWindow.hpp56 Window (ANativeWindow* window);
66 ANativeWindow* getNativeWindow (void) { return m_window; } in getNativeWindow()
76 ANativeWindow* m_window;
87 void addWindow (ANativeWindow* window);
88 void destroyWindow (ANativeWindow* window);
DtcuAndroidNativeActivity.cpp64 static void onNativeWindowCreatedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowCreatedCallback()
69 static void onNativeWindowResizedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowResizedCallback()
74 static void onNativeWindowRedrawNeededCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowRedrawNeededCallback()
79 static void onNativeWindowDestroyedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowDestroyedCallback()
173 void NativeActivity::onNativeWindowCreated (ANativeWindow* window) in onNativeWindowCreated()
178 void NativeActivity::onNativeWindowResized (ANativeWindow* window) in onNativeWindowResized()
183 void NativeActivity::onNativeWindowRedrawNeeded (ANativeWindow* window) in onNativeWindowRedrawNeeded()
188 void NativeActivity::onNativeWindowDestroyed (ANativeWindow* window) in onNativeWindowDestroyed()
DtcuAndroidNativeActivity.hpp55 virtual void onNativeWindowCreated (ANativeWindow* window);
56 virtual void onNativeWindowResized (ANativeWindow* window);
57 virtual void onNativeWindowRedrawNeeded (ANativeWindow* window);
58 virtual void onNativeWindowDestroyed (ANativeWindow* window);
DtcuAndroidTestActivity.hpp48 virtual void onWindowCreated (ANativeWindow* window);
49 virtual void onWindowResized (ANativeWindow* window);
50 virtual void onWindowDestroyed (ANativeWindow* window);
DtcuAndroidTestActivity.cpp64 void TestThread::onWindowCreated (ANativeWindow* window) in onWindowCreated()
69 void TestThread::onWindowDestroyed (ANativeWindow* window) in onWindowDestroyed()
74 void TestThread::onWindowResized (ANativeWindow* window) in onWindowResized()
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_native_surface_android.h11 struct ANativeWindow;
12 typedef struct ANativeWindow ANativeWindow; typedef
20 VulkanNativeSurfaceAndroid(ANativeWindow* native_window);
37 ANativeWindow* native_window_;
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_android_surface/
DplatformCreateSurface_android.adoc25 basetype:ANativeWindow handle any attempts to create another surface for the
26 same basetype:ANativeWindow and any attempts to connect to the same
27 basetype:ANativeWindow through other platform mechanisms will fail.
39 basetype:ANativeWindow's reference count, and fname:vkDestroySurfaceKHR will
63 * pname:window is a pointer to the basetype:ANativeWindow to associate the
69 pname:window must: point to a valid Android basetype:ANativeWindow
75 [open,refpage='ANativeWindow',desc='Android native window type',type='basetypes']
78 definition of basetype:ANativeWindow is provided in the Vulkan headers:
80 include::{generated}/api/basetypes/ANativeWindow.adoc[]
82 The actual basetype:ANativeWindow type is defined in Android NDK headers.
DplatformCreateSurface_android.txt25 basetype:ANativeWindow handle any attempts to create another surface for the
26 same basetype:ANativeWindow and any attempts to connect to the same
27 basetype:ANativeWindow through other platform mechanisms will fail.
39 basetype:ANativeWindow's reference count, and fname:vkDestroySurfaceKHR will
63 * pname:window is a pointer to the basetype:ANativeWindow to associate the
69 pname:window must: point to a valid Android basetype:ANativeWindow
75 [open,refpage='ANativeWindow',desc='Android native window type',type='basetypes']
78 definition of basetype:ANativeWindow is provided in the Vulkan headers:
80 include::{generated}/api/basetypes/ANativeWindow.txt[]
82 The actual basetype:ANativeWindow type is defined in Android NDK headers.
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferAndroid.cpp29 inline int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer) in dequeueBuffer()
39 inline int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in queueBuffer()
44 inline int cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in cancelBuffer()
50 FrameBufferAndroid::FrameBufferAndroid(ANativeWindow* window, int width, int height) in FrameBufferAndroid()
193 sw::FrameBuffer *createFrameBuffer(void *display, ANativeWindow* window, int width, int height) in createFrameBuffer()
DFrameBufferAndroid.hpp23 struct ANativeWindow;
31 FrameBufferAndroid(ANativeWindow *window, int width, int height);
44 ANativeWindow *nativeWindow;
/third_party/flutter/skia/tools/sk_app/android/
DWindowContextFactory_android.h23 std::unique_ptr<WindowContext> MakeVulkanForAndroid(ANativeWindow*, const DisplayParams&);
25 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow*, const DisplayParams&);
27 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow*, const DisplayParams&);
DRasterWindowContext_android.cpp20 RasterWindowContext_android(ANativeWindow*, const DisplayParams& params);
32 ANativeWindow* fNativeWindow = nullptr;
39 RasterWindowContext_android::RasterWindowContext_android(ANativeWindow* window, in RasterWindowContext_android()
98 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow* window, in MakeRasterForAndroid()
DGLWindowContext_android.cpp22 GLWindowContext_android(ANativeWindow*, const DisplayParams&);
38 ANativeWindow* fNativeWindow = nullptr;
43 GLWindowContext_android::GLWindowContext_android(ANativeWindow* window, in GLWindowContext_android()
147 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow* window, in MakeGLForAndroid()
/third_party/skia/tools/sk_app/android/
DWindowContextFactory_android.h23 std::unique_ptr<WindowContext> MakeVulkanForAndroid(ANativeWindow*, const DisplayParams&);
25 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow*, const DisplayParams&);
27 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow*, const DisplayParams&);
DRasterWindowContext_android.cpp20 RasterWindowContext_android(ANativeWindow*, const DisplayParams& params);
32 ANativeWindow* fNativeWindow = nullptr;
39 RasterWindowContext_android::RasterWindowContext_android(ANativeWindow* window, in RasterWindowContext_android()
98 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow* window, in MakeRasterForAndroid()
DGLWindowContext_android.cpp22 GLWindowContext_android(ANativeWindow*, const DisplayParams&);
38 ANativeWindow* fNativeWindow = nullptr;
43 GLWindowContext_android::GLWindowContext_android(ANativeWindow* window, in GLWindowContext_android()
147 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow* window, in MakeGLForAndroid()
/third_party/vk-gl-cts/external/openglcts/modules/runner/
DglcAndroidTestActivity.hpp51 virtual void onWindowCreated(ANativeWindow* window);
52 virtual void onWindowResized(ANativeWindow* window);
53 virtual void onWindowDestroyed(ANativeWindow* window);

1234