Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 208) sorted by relevance

123456789

/hardware/google/gfxstream/guest/mesa/include/android_stub/system/
Dwindow.h447 int (*setSwapInterval)(struct ANativeWindow* window,
467 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window,
481 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window,
503 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window,
511 int (*query)(const struct ANativeWindow* window,
528 int (*perform)(struct ANativeWindow* window,
548 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window,
570 int (*dequeueBuffer)(struct ANativeWindow* window,
592 int (*queueBuffer)(struct ANativeWindow* window,
620 int (*cancelBuffer)(struct ANativeWindow* window,
[all …]
/hardware/google/gfxstream/guest/android/
DANativeWindowAndroid.cpp24 bool ANativeWindowHelperAndroid::isValid(EGLNativeWindowType window) { in isValid() argument
26 auto* anw = reinterpret_cast<ANativeWindow*>(window); in isValid()
29 (void)window; in isValid()
53 void ANativeWindowHelperAndroid::acquire(EGLNativeWindowType window) { in acquire() argument
55 auto* anw = reinterpret_cast<ANativeWindow*>(window); in acquire()
58 (void)window; in acquire()
62 void ANativeWindowHelperAndroid::release(EGLNativeWindowType window) { in release() argument
64 auto* anw = reinterpret_cast<ANativeWindow*>(window); in release()
67 (void)window; in release()
89 int ANativeWindowHelperAndroid::getConsumerUsage(EGLNativeWindowType window, int* usage) { in getConsumerUsage() argument
[all …]
DANativeWindowEmulated.cpp83 bool EmulatedANativeWindowHelper::isValid(EGLNativeWindowType window) { in isValid() argument
85 (void)window; in isValid()
95 void EmulatedANativeWindowHelper::acquire(EGLNativeWindowType window) { in acquire() argument
96 auto* anw = reinterpret_cast<EmulatedANativeWindow*>(window); in acquire()
100 void EmulatedANativeWindowHelper::release(EGLNativeWindowType window) { in release() argument
101 auto* anw = reinterpret_cast<EmulatedANativeWindow*>(window); in release()
112 int EmulatedANativeWindowHelper::getConsumerUsage(EGLNativeWindowType window, int* usage) { in getConsumerUsage() argument
113 (void)window; in getConsumerUsage()
117 void EmulatedANativeWindowHelper::setUsage(EGLNativeWindowType window, int usage) { in setUsage() argument
118 (void)window; in setUsage()
[all …]
DANativeWindowAndroid.h28 bool isValid(EGLNativeWindowType window);
31 void acquire(EGLNativeWindowType window);
32 void release(EGLNativeWindowType window);
37 int getConsumerUsage(EGLNativeWindowType window, int* usage);
38 void setUsage(EGLNativeWindowType window, int usage);
40 int getWidth(EGLNativeWindowType window);
41 int getHeight(EGLNativeWindowType window);
48 void setSwapInterval(EGLNativeWindowType window, int interval);
50 int queueBuffer(EGLNativeWindowType window, EGLClientBuffer buffer, int fence);
51 int dequeueBuffer(EGLNativeWindowType window, EGLClientBuffer* buffer, int* fence);
[all …]
DANativeWindowEmulated.h63 bool isValid(EGLNativeWindowType window) override;
66 void acquire(EGLNativeWindowType window) override;
67 void release(EGLNativeWindowType window) override;
72 int getConsumerUsage(EGLNativeWindowType window, int* usage) override;
73 void setUsage(EGLNativeWindowType window, int usage) override;
75 int getWidth(EGLNativeWindowType window) override;
76 int getHeight(EGLNativeWindowType window) override;
83 void setSwapInterval(EGLNativeWindowType window, int interval) override;
85 int queueBuffer(EGLNativeWindowType window, EGLClientBuffer buffer, int fence) override;
86 int dequeueBuffer(EGLNativeWindowType window, EGLClientBuffer* buffer, int* fence) override;
[all …]
/hardware/google/gfxstream/guest/mesa/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 …]
/hardware/google/gfxstream/guest/mesa/include/android_stub/android/
Dnative_window.h119 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);
196 int32_t ANativeWindow_setBuffersTransform(ANativeWindow* window, int32_t transform) __INTRODUCED_IN…
214 int32_t ANativeWindow_setBuffersDataSpace(ANativeWindow* window, int32_t dataSpace) __INTRODUCED_IN…
[all …]
/hardware/google/gfxstream/guest/android/include/gfxstream/guest/
DANativeWindow.h33 virtual bool isValid(EGLNativeWindowType window) = 0;
36 virtual void acquire(EGLNativeWindowType window) = 0;
37 virtual void release(EGLNativeWindowType window) = 0;
42 virtual int getConsumerUsage(EGLNativeWindowType window, int* usage) = 0;
43 virtual void setUsage(EGLNativeWindowType window, int usage) = 0;
45 virtual int getWidth(EGLNativeWindowType window) = 0;
46 virtual int getHeight(EGLNativeWindowType window) = 0;
53 virtual void setSwapInterval(EGLNativeWindowType window, int interval) = 0;
55 virtual int queueBuffer(EGLNativeWindowType window, EGLClientBuffer buffer, int fence) = 0;
56 virtual int dequeueBuffer(EGLNativeWindowType window, EGLClientBuffer* buffer, int* fence) = 0;
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_win32_surface.adoc44 device and a window generally only depends on what screen the window is on.
46 having a window on the screen.
53 2) If a native window object (code:HWND) is used by one graphics API, and
59 Uses of a window object by multiple graphics APIs results in undefined:
66 window object can prevent flink:vkCreateSwapchainKHR from succeeding on
67 the same window object.
68 * Creating then destroying a slink:VkSwapchainKHR on a window object can
69 prevent creation of a bitblt model DXGI swapchain on the same window
71 * Creating then destroying a slink:VkSwapchainKHR on a window object can
74 * Creating then destroying a slink:VkSwapchainKHR on a window object on
[all …]
/hardware/google/aemu/host-common/
DH264NaluParser.cpp206 uint32_t window = 0; in getNextStartCodeHeader() local
214 window |= (uint32_t)frame[0] << 16; in getNextStartCodeHeader()
215 window |= (uint32_t)frame[1] << 8; in getNextStartCodeHeader()
216 window |= frame[2]; in getNextStartCodeHeader()
219 if (!(window ^ startHeaderMask)) { in getNextStartCodeHeader()
228 window = (window << 8) | (uint32_t)frame[szBytes - remaining]; in getNextStartCodeHeader()
229 if (!(window ^ startHeaderMask)) { in getNextStartCodeHeader()
232 } else if (!((window & 0x00ffffff) ^ startHeaderMask)) { in getNextStartCodeHeader()
/hardware/google/gfxstream/host/tests/
DX11TestingSupport.cpp25 window(DefaultRootWindow(display)) { in X11State()
28 __func__, threadsInitResult, display, (void*)window); in X11State()
32 Window window; member
44 auto res = XCreatePixmap(x->display, x->window, width, height, bytesPerPixel * 8); in createNativePixmap()
DSampleApplication.cpp50 window = CreateOSWindow(); in TestWindow()
54 if (window) { in ~TestWindow()
55 window->destroy(); in ~TestWindow()
69 if (!window->initialize("libOpenglRender test", width, height)) { in initializeWithRect()
70 window->destroy(); in initializeWithRect()
71 window = nullptr; in initializeWithRect()
74 window->setVisible(true); in initializeWithRect()
75 window->setPosition(xoffset, yoffset); in initializeWithRect()
76 window->messageLoop(); in initializeWithRect()
82 if (!window) return; in resizeWithRect()
[all …]
/hardware/google/gfxstream/host/
Dgfxstream_unittest.cpp42 static std::unique_ptr<OSWindow> window; member in GfxStreamBackendTest
64 window.reset(CreateOSWindow()); in SetUpTestSuite()
68 static void TearDownTestSuite() { window.reset(nullptr); } in TearDownTestSuite()
73 window->initialize("GfxStreamBackendTestWindow", width, height); in SetUp()
74 window->setVisible(true); in SetUp()
75 window->messageLoop(); in SetUp()
83 window->destroy(); in TearDown()
89 std::unique_ptr<OSWindow> GfxStreamBackendTest::window = nullptr; member in GfxStreamBackendTest
110 gfxstream_backend_setup_window(window->getFramebufferNativeWindow(), 0, 0, in TEST_F()
/hardware/google/gfxstream/host/testlibs/windows/win32/
DWin32Window.cpp242 Win32Window *window = reinterpret_cast<Win32Window *>(GetWindowLongPtr(hWnd, GWLP_USERDATA)); in WndProc() local
243 if (window) in WndProc()
252 window->pushEvent(event); in WndProc()
270 window->pushEvent(event); in WndProc()
294 window->pushEvent(event); in WndProc()
303 window->pushEvent(event); in WndProc()
311 window->pushEvent(event); in WndProc()
330 window->pushEvent(event); in WndProc()
340 window->pushEvent(event); in WndProc()
352 window->pushEvent(event); in WndProc()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_xcb_surface/
DplatformCreateSurface_xcb.adoc8 [open,refpage='vkCreateXcbSurfaceKHR',desc='Create a slink:VkSurfaceKHR object for a X11 window, us…
12 To create a sname:VkSurfaceKHR object for an X11 window, using the XCB
42 * pname:window is the code:xcb_window_t for the X11 window to associate
49 * [[VUID-VkXcbSurfaceCreateInfoKHR-window-01311]]
50 pname:window must: be a valid X11 code:xcb_window_t
57 pname:currentExtent must: always equal the window size.
71 pname:imageExtent being equal to the current size of the window, as reported
74 The window size may: become [eq]#(0, 0)# on this platform (e.g. when the
75 window is minimized), and so a swapchain cannot: be created until the size
81 slink:VkSurfaceKHR referring to an xcb window.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_win32_surface/
DplatformCreateSurface_win32.adoc8 …reateWin32SurfaceKHR',desc='Create a VkSurfaceKHR object for an Win32 native window',type='protos']
12 To create a sname:VkSurfaceKHR object for a Win32 window, call:
39 * pname:hinstance is the Win32 code:HINSTANCE for the window to associate
41 * pname:hwnd is the Win32 code:HWND for the window to associate the
56 pname:currentExtent must: always equal the window size.
70 pname:imageExtent being equal to the current size of the window, as reported
73 The window size may: become [eq]#(0, 0)# on this platform (e.g. when the
74 window is minimized), and so a swapchain cannot: be created until the size
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_android_surface/
DplatformCreateSurface_android.adoc8 …idSurfaceKHR',desc='Create a slink:VkSurfaceKHR object for an Android native window',type='protos']
12 To create a sname:VkSurfaceKHR object for an Android native window, call:
35 window.
36 Similarly, a native window cannot: be used by both a sname:VkSurfaceKHR and
49 For the system compositor, pname:currentExtent is the window size (i.e. the
65 * pname:window is a pointer to the basetype:ANativeWindow to associate the
70 * [[VUID-VkAndroidSurfaceCreateInfoKHR-window-01248]]
71 pname:window must: point to a valid Android basetype:ANativeWindow
77 [open,refpage='ANativeWindow',desc='Android native window type',type='basetypes']
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_xlib_surface/
DplatformCreateSurface_xlib.adoc8 [open,refpage='vkCreateXlibSurfaceKHR',desc='Create a slink:VkSurfaceKHR object for an X11 window, …
12 To create a sname:VkSurfaceKHR object for an X11 window, using the Xlib
42 * pname:window is an Xlib code:Window to associate the surface with.
48 * [[VUID-VkXlibSurfaceCreateInfoKHR-window-01314]]
49 pname:window must: be a valid Xlib code:Window
56 pname:currentExtent must: always equal the window size.
70 pname:imageExtent being equal to the current size of the window, as reported
73 The window size may: become [eq]#(0, 0)# on this platform (e.g. when the
74 window is minimized), and so a swapchain cannot: be created until the size
80 from a slink:VkSurfaceKHR referring to an Xlib window.
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvk_icd.h155 xcb_window_t window; member
163 Window window; member
178 struct ANativeWindow *window; member
228 void *window; member
236 struct _screen_window *window; member
Dvulkan_screen.h32 struct _screen_window* window; member
36 …ortQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window);
48 struct _screen_window* window);
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvk_icd.h155 xcb_window_t window; member
163 Window window; member
178 struct ANativeWindow *window; member
228 void *window; member
236 struct _screen_window *window; member
Dvulkan_screen.h32 struct _screen_window* window; member
36 …ortQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window);
48 struct _screen_window* window);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_QNX_screen_surface/
DplatformCreateSurface_screen.adoc8 …eScreenSurfaceQNX',desc='Create a slink:VkSurfaceKHR object for a QNX Screen window',type='protos']
37 * pname:context and pname:window are QNX Screen code:context and
38 code:window to associate the surface with.
45 * [[VUID-VkScreenSurfaceCreateInfoQNX-window-04742]]
46 pname:window must: point to a valid QNX Screen code:struct
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
Dxfixesproto.h111 Window window; member
120 Window window B32;
131 Window window B32;
144 Window window B32;
154 Window window B32;
218 Window window B32;
490 Window window B32;
499 Window window B32;
513 Window window B32;
543 Window window; B32; member
[all …]
Dxtestext1.h69 Window window; member
81 Window window; member

123456789