Home
last modified time | relevance | path

Searched refs:GLFWwindow (Results 1 - 25 of 70) sorted by relevance

123

/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
H A Dglfw3.h782 typedef struct GLFWwindow GLFWwindow; typedef
829 typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
847 typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
863 typedef void (* GLFWwindowclosefun)(GLFWwindow*);
879 typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
896 typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
914 typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
932 typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
953 typedef void (* GLFWmousebuttonfun)(GLFWwindow*,in
[all...]
H A Dglfw3native.h166 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
182 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
212 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
228 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
286 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
302 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
316 GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
360 GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
404 GLFWAPI MirSurface* glfwGetMirWindow(GLFWwindow* window);
434 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* windo
[all...]
/third_party/glfw/include/GLFW/
H A Dglfw3.h1404 typedef struct GLFWwindow GLFWwindow; typedef
1598 * void callback_name(GLFWwindow* window, int xpos, int ypos)
1614 typedef void (* GLFWwindowposfun)(GLFWwindow* window, int xpos, int ypos);
1621 * void callback_name(GLFWwindow* window, int width, int height)
1636 typedef void (* GLFWwindowsizefun)(GLFWwindow* window, int width, int height);
1643 * void function_name(GLFWwindow* window)
1656 typedef void (* GLFWwindowclosefun)(GLFWwindow* window);
1663 * void function_name(GLFWwindow* window);
1676 typedef void (* GLFWwindowrefreshfun)(GLFWwindow* windo
[all...]
H A Dglfw3native.h225 GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
252 GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
288 GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
305 GLFWAPI id glfwGetCocoaView(GLFWwindow* window);
324 GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
394 GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
463 GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
480 GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
533 GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
571 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* windo
[all...]
/third_party/glfw/src/
H A Dwindow.c49 window->callbacks.focus((GLFWwindow*) window, focused); in _glfwInputWindowFocus()
80 window->callbacks.pos((GLFWwindow*) window, x, y); in _glfwInputWindowPos()
93 window->callbacks.size((GLFWwindow*) window, width, height); in _glfwInputWindowSize()
104 window->callbacks.iconify((GLFWwindow*) window, iconified); in _glfwInputWindowIconify()
115 window->callbacks.maximize((GLFWwindow*) window, maximized); in _glfwInputWindowMaximize()
128 window->callbacks.fbsize((GLFWwindow*) window, width, height); in _glfwInputFramebufferSize()
143 window->callbacks.scale((GLFWwindow*) window, xscale, yscale); in _glfwInputWindowContentScale()
153 window->callbacks.refresh((GLFWwindow*) window); in _glfwInputWindowDamage()
165 window->callbacks.close((GLFWwindow*) window); in _glfwInputWindowCloseRequest()
180 GLFWAPI GLFWwindow* glfwCreateWindo
[all...]
H A Dinput.c303 window->callbacks.key((GLFWwindow*) window, key, scancode, action, mods); in _glfwInputKey()
322 window->callbacks.charmods((GLFWwindow*) window, codepoint, mods); in _glfwInputChar()
327 window->callbacks.character((GLFWwindow*) window, codepoint); in _glfwInputChar()
342 window->callbacks.scroll((GLFWwindow*) window, xoffset, yoffset); in _glfwInputScroll()
369 window->callbacks.mouseButton((GLFWwindow*) window, button, action, mods); in _glfwInputMouseClick()
390 window->callbacks.cursorPos((GLFWwindow*) window, xpos, ypos); in _glfwInputCursorPos()
401 window->callbacks.cursorEnter((GLFWwindow*) window, entered); in _glfwInputCursorEnter()
413 window->callbacks.drop((GLFWwindow*) window, count, paths); in _glfwInputDrop()
562 GLFWAPI int glfwGetInputMode(GLFWwindow* handle, int mode) in glfwGetInputMode()
589 GLFWAPI void glfwSetInputMode(GLFWwindow* handl
[all...]
H A Dcontext.c363 glfwMakeContextCurrent((GLFWwindow*) window); in _glfwRefreshContextAttribs()
374 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
392 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
424 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
454 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
470 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
579 glfwMakeContextCurrent((GLFWwindow*) previous); in _glfwRefreshContextAttribs()
616 GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle) in glfwMakeContextCurrent()
642 GLFWAPI GLFWwindow* glfwGetCurrentContext(void) in glfwGetCurrentContext()
648 GLFWAPI void glfwSwapBuffers(GLFWwindow* handl
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DBackendBinding.cpp28 BackendBinding* CreateD3D12Binding(GLFWwindow* window, WGPUDevice device);
31 BackendBinding* CreateMetalBinding(GLFWwindow* window, WGPUDevice device);
34 BackendBinding* CreateNullBinding(GLFWwindow* window, WGPUDevice device);
37 BackendBinding* CreateOpenGLBinding(GLFWwindow* window, WGPUDevice device);
40 BackendBinding* CreateVulkanBinding(GLFWwindow* window, WGPUDevice device);
43 BackendBinding::BackendBinding(GLFWwindow* window, WGPUDevice device) in BackendBinding()
48 GLFWwindow* window, in DiscoverAdapter()
72 BackendBinding* CreateBinding(wgpu::BackendType type, GLFWwindow* window, WGPUDevice device) { in CreateBinding()
H A DGlfw3Fuchsia.cpp42 struct GLFWwindow { struct
46 GLFWwindow() { in GLFWwindow() function
54 ~GLFWwindow() { in ~GLFWwindow()
62 GLFWwindow* glfwCreateWindow(int width, in glfwCreateWindow()
66 GLFWwindow* share) { in glfwCreateWindow()
72 return new GLFWwindow(); in glfwCreateWindow()
76 GLFWwindow* window, in glfwCreateWindowSurface()
H A DBackendBinding.h21 struct GLFWwindow;
33 BackendBinding(GLFWwindow* window, WGPUDevice device);
35 GLFWwindow* mWindow = nullptr;
40 GLFWwindow* window,
42 BackendBinding* CreateBinding(wgpu::BackendType type, GLFWwindow* window, WGPUDevice device);
H A DGLFWUtils.h22 struct GLFWwindow;
26 // Adds all the necessary glfwWindowHint calls for the next GLFWwindow created to be used with
30 // Does the necessary setup on the GLFWwindow to allow creating a wgpu::Surface with it and
33 wgpu::Surface CreateSurfaceForWindow(wgpu::Instance instance, GLFWwindow* window);
38 GLFWwindow* window);
H A DGLFWUtils.cpp51 wgpu::Surface CreateSurfaceForWindow(wgpu::Instance instance, GLFWwindow* window) { in CreateSurfaceForWindow()
64 GLFWwindow* window) { in SetupWindowAndGetSurfaceDescriptorForTesting()
73 GLFWwindow* window) { in SetupWindowAndGetSurfaceDescriptorForTesting()
83 std::unique_ptr<wgpu::ChainedStruct> SetupWindowAndGetSurfaceDescriptorForTesting(GLFWwindow*) { in SetupWindowAndGetSurfaceDescriptorForTesting()
H A DOpenGLBinding.cpp30 OpenGLBinding(GLFWwindow* window, WGPUDevice device) : BackendBinding(window, device) { in OpenGLBinding()
37 [](void* userdata) { glfwSwapBuffers(static_cast<GLFWwindow*>(userdata)); },
51 BackendBinding* CreateOpenGLBinding(GLFWwindow* window, WGPUDevice device) { in CreateOpenGLBinding()
/third_party/glfw/tests/
H A Diconify.c57 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
124 static void window_size_callback(GLFWwindow* window, int width, int height) in window_size_callback()
129 static void framebuffer_size_callback(GLFWwindow* window, int width, int height) in framebuffer_size_callback()
134 static void window_focus_callback(GLFWwindow* window, int focused) in window_focus_callback()
141 static void window_iconify_callback(GLFWwindow* window, int iconified) in window_iconify_callback()
148 static void window_maximize_callback(GLFWwindow* window, int maximized) in window_maximize_callback()
155 static void window_refresh_callback(GLFWwindow* window) in window_refresh_callback()
165 static GLFWwindow* create_window(GLFWmonitor* monitor) in create_window()
168 GLFWwindow* window; in create_window()
205 GLFWwindow** window in main()
[all...]
H A Devents.c52 GLFWwindow* window;
290 static void window_pos_callback(GLFWwindow* window, int x, int y) in window_pos_callback()
297 static void window_size_callback(GLFWwindow* window, int width, int height) in window_size_callback()
304 static void framebuffer_size_callback(GLFWwindow* window, int width, int height) in framebuffer_size_callback()
311 static void window_content_scale_callback(GLFWwindow* window, float xscale, float yscale) in window_content_scale_callback()
318 static void window_close_callback(GLFWwindow* window) in window_close_callback()
333 static void window_refresh_callback(GLFWwindow* window) in window_refresh_callback()
344 static void window_focus_callback(GLFWwindow* window, int focused) in window_focus_callback()
352 static void window_iconify_callback(GLFWwindow* window, int iconified) in window_iconify_callback()
360 static void window_maximize_callback(GLFWwindow* windo
[all...]
H A Dinputlag.c65 void sample_input(GLFWwindow* window) in sample_input()
81 void cursor_pos_callback(GLFWwindow* window, double xpos, double ypos) in cursor_pos_callback()
100 void swap_buffers(GLFWwindow* window) in swap_buffers()
133 void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
161 GLFWwindow* window; in main()
H A Dicon.c71 static void set_icon(GLFWwindow* window, int icon_color) in set_icon()
94 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
116 GLFWwindow* window; in main()
H A Dtearing.c73 static void update_window_title(GLFWwindow* window) in update_window_title()
85 static void set_swap_interval(GLFWwindow* window, int interval) in set_swap_interval()
97 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
160 GLFWwindow* window; in main()
H A Dreopen.c76 static void window_close_callback(GLFWwindow* window) in window_close_callback()
81 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
95 static void close_window(GLFWwindow* window) in close_window()
106 GLFWwindow* window; in main()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_glfw.cpp75 GLFWwindow* Window;
78 GLFWwindow* MouseWindow;
110 return glfwGetClipboardString((GLFWwindow*)user_data); in ImGui_ImplGlfw_GetClipboardText()
115 glfwSetClipboardString((GLFWwindow*)user_data, text); in ImGui_ImplGlfw_SetClipboardText()
118 void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window, int button, int action, int mods) in ImGui_ImplGlfw_MouseButtonCallback()
128 void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window, double xoffset, double yoffset) in ImGui_ImplGlfw_ScrollCallback()
139 void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods) in ImGui_ImplGlfw_KeyCallback()
165 void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window, int focused) in ImGui_ImplGlfw_WindowFocusCallback()
175 void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window, int entered) in ImGui_ImplGlfw_CursorEnterCallback()
187 void ImGui_ImplGlfw_CharCallback(GLFWwindow* windo
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DWindowSurfaceTests.cpp69 GLFWwindow* CreateWindow() { in CreateWindow()
80 GLFWwindow* mWindow = nullptr;
86 GLFWwindow* window = CreateWindow(); in TEST_F()
128 GLFWwindow* window = CreateWindow(); in TEST_F()
145 GLFWwindow* window = CreateWindow(); in TEST_F()
181 GLFWwindow* window = CreateWindow(); in TEST_F()
221 GLFWwindow* window = CreateWindow(); in TEST_F()
/third_party/glfw/examples/
H A Dwave.c150 void draw_scene(GLFWwindow* window) in draw_scene()
276 void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback()
319 void mouse_button_callback(GLFWwindow* window, int button, int action, int mods) in mouse_button_callback()
338 void cursor_position_callback(GLFWwindow* window, double x, double y) in cursor_position_callback()
355 void scroll_callback(GLFWwindow* window, double x, double y) in scroll_callback()
367 void framebuffer_size_callback(GLFWwindow* window, int width, int height) in framebuffer_size_callback()
394 GLFWwindow* window; in main()
H A Dboing.c54 void reshape( GLFWwindow* window, int w, int h );
55 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods );
56 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods );
57 void cursor_position_callback( GLFWwindow* window, double x, double y );
217 void reshape( GLFWwindow* window, int w, int h ) in reshape()
240 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods ) in key_callback()
276 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods ) in mouse_button_callback()
292 void cursor_position_callback( GLFWwindow* window, double x, double y ) in cursor_position_callback()
626 GLFWwindow* window; in main()
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h22 NK_API struct nk_context* nk_glfw3_init(GLFWwindow *win, enum nk_glfw_init_state);
30 NK_API void nk_glfw3_char_callback(GLFWwindow *win, unsigned int codepoint);
31 NK_API void nk_gflw3_scroll_callback(GLFWwindow *win, double xoff, double yoff);
67 GLFWwindow *win;
201 nk_glfw3_char_callback(GLFWwindow *win, unsigned int codepoint) in nk_glfw3_char_callback()
209 nk_gflw3_scroll_callback(GLFWwindow *win, double xoff, double yoff) in nk_gflw3_scroll_callback()
217 nk_glfw3_mouse_button_callback(GLFWwindow* window, int button, int action, int mods) in nk_glfw3_mouse_button_callback()
255 nk_glfw3_init(GLFWwindow *win, enum nk_glfw_init_state init_state) in nk_glfw3_init()
300 struct GLFWwindow *win = glfw.win; in nk_glfw3_new_frame()
/third_party/skia/third_party/externals/dawn/examples/
H A DManualSwapChainTest.cpp70 GLFWwindow* window = nullptr;
85 static std::unordered_map<GLFWwindow*, std::unique_ptr<WindowData>> windows;
98 void OnKeyPress(GLFWwindow* window, int key, int, int action, int);
111 GLFWwindow* window = glfwCreateWindow(400, 400, "", nullptr, nullptr); in AddWindow()
209 void OnKeyPress(GLFWwindow* window, int key, int, int action, int) { in OnKeyPress()
342 GLFWwindow* window = it->first; in main()

Completed in 27 milliseconds

123