/third_party/glfw/src/ |
D | internal.h | 57 typedef struct _GLFWwindow _GLFWwindow; typedef 62 typedef void (* _GLFWmakecontextcurrentfun)(_GLFWwindow*); 63 typedef void (* _GLFWswapbuffersfun)(_GLFWwindow*); 67 typedef void (* _GLFWdestroycontextfun)(_GLFWwindow*); 283 _GLFWwindow* share; 345 struct _GLFWwindow struct 347 struct _GLFWwindow* next; argument 406 _GLFWwindow* window; argument 442 _GLFWwindow* windowListHead; 528 void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos); [all …]
|
D | window.c | 41 void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused) in _glfwInputWindowFocus() 71 void _glfwInputWindowPos(_GLFWwindow* window, int x, int y) in _glfwInputWindowPos() 77 void _glfwInputWindowSize(_GLFWwindow* window, int width, int height) in _glfwInputWindowSize() 83 void _glfwInputWindowIconify(_GLFWwindow* window, GLFWbool iconified) in _glfwInputWindowIconify() 89 void _glfwInputFramebufferSize(_GLFWwindow* window, int width, int height) in _glfwInputFramebufferSize() 95 void _glfwInputWindowDamage(_GLFWwindow* window) in _glfwInputWindowDamage() 101 void _glfwInputWindowCloseRequest(_GLFWwindow* window) in _glfwInputWindowCloseRequest() 109 void _glfwInputWindowMonitorChange(_GLFWwindow* window, _GLFWmonitor* monitor) in _glfwInputWindowMonitorChange() 127 _GLFWwindow* window; in glfwCreateWindow() 128 _GLFWwindow* previous; in glfwCreateWindow() [all …]
|
D | input.c | 42 void _glfwInputKey(_GLFWwindow* window, int key, int scancode, int action, int mods) in _glfwInputKey() 67 void _glfwInputChar(_GLFWwindow* window, unsigned int codepoint, int mods, GLFWbool plain) in _glfwInputChar() 82 void _glfwInputScroll(_GLFWwindow* window, double xoffset, double yoffset) in _glfwInputScroll() 88 void _glfwInputMouseClick(_GLFWwindow* window, int button, int action, int mods) in _glfwInputMouseClick() 103 void _glfwInputCursorPos(_GLFWwindow* window, double xpos, double ypos) in _glfwInputCursorPos() 115 void _glfwInputCursorEnter(_GLFWwindow* window, GLFWbool entered) in _glfwInputCursorEnter() 121 void _glfwInputDrop(_GLFWwindow* window, int count, const char** paths) in _glfwInputDrop() 152 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetInputMode() 173 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwSetInputMode() 261 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetKey() [all …]
|
D | mir_window.c | 38 _GLFWwindow* window; 55 static EventNode* newEventNode(const MirEvent* event, _GLFWwindow* context) in newEventNode() 64 static void enqueueEvent(const MirEvent* event, _GLFWwindow* context) in enqueueEvent() 141 static void handleKeyEvent(const MirKeyboardEvent* key_event, _GLFWwindow* window) in handleKeyEvent() 159 static void handlePointerButton(_GLFWwindow* window, in handlePointerButton() 201 static void handlePointerMotion(_GLFWwindow* window, in handlePointerMotion() 217 _GLFWwindow* window) in handlePointerEvent() 241 static void handleInput(const MirInputEvent* input_event, _GLFWwindow* window) in handleInput() 258 static void handleEvent(const MirEvent* event, _GLFWwindow* window) in handleEvent() 277 static GLFWbool createSurface(_GLFWwindow* window) in createSurface() [all …]
|
D | wl_window.c | 57 _GLFWwindow* window = data; in handleConfigure() 100 static void checkScaleChange(_GLFWwindow* window) in checkScaleChange() 135 _GLFWwindow* window = data; in handleEnter() 155 _GLFWwindow* window = data; in handleLeave() 178 static void setOpaqueRegion(_GLFWwindow* window) in setOpaqueRegion() 192 static GLFWbool createSurface(_GLFWwindow* window, in createSurface() 221 static GLFWbool createShellSurface(_GLFWwindow* window) in createShellSurface() 283 _GLFWwindow* window = _glfw.windowListHead; in handleEvents() 386 int _glfwPlatformCreateWindow(_GLFWwindow* window, in _glfwPlatformCreateWindow() 427 void _glfwPlatformDestroyWindow(_GLFWwindow* window) in _glfwPlatformDestroyWindow() [all …]
|
D | win32_window.c | 41 static DWORD getWindowStyle(const _GLFWwindow* window) in getWindowStyle() 65 static DWORD getWindowExStyle(const _GLFWwindow* window) in getWindowExStyle() 195 static void applyAspectRatio(_GLFWwindow* window, int edge, RECT* area) in applyAspectRatio() 223 static void centerCursor(_GLFWwindow* window) in centerCursor() 232 static GLFWbool cursorInClientArea(_GLFWwindow* window) in cursorInClientArea() 252 static void updateCursorImage(_GLFWwindow* window) in updateCursorImage() 267 static void updateClipRect(_GLFWwindow* window) in updateClipRect() 393 static GLFWbool acquireMonitor(_GLFWwindow* window) in acquireMonitor() 414 static void releaseMonitor(_GLFWwindow* window) in releaseMonitor() 428 _GLFWwindow* window = GetPropW(hWnd, L"GLFW"); in windowProc() [all …]
|
D | x11_window.c | 98 static GLFWbool waitForVisibilityNotify(_GLFWwindow* window) in waitForVisibilityNotify() 117 static int getWindowState(_GLFWwindow* window) in getWindowState() 150 _GLFWwindow* window = (_GLFWwindow*) pointer; in isFrameExtentsEvent() 211 static _GLFWwindow* findWindowByHandle(Window handle) in findWindowByHandle() 213 _GLFWwindow* window; in findWindowByHandle() 228 static void sendEventToWM(_GLFWwindow* window, Atom type, in sendEventToWM() 252 static void updateNormalHints(_GLFWwindow* window, int width, int height) in updateNormalHints() 301 static void updateWindowMode(_GLFWwindow* window) in updateWindowMode() 439 static void centerCursor(_GLFWwindow* window) in centerCursor() 448 static void updateCursorImage(_GLFWwindow* window) in updateCursorImage() [all …]
|
D | cocoa_window.m | 61 static NSUInteger getStyleMask(_GLFWwindow* window) 81 static void centerCursor(_GLFWwindow *window) 90 static GLFWbool cursorInClientArea(_GLFWwindow* window) 98 static void updateCursorImage(_GLFWwindow* window) 121 static GLFWbool acquireMonitor(_GLFWwindow* window) 138 static void releaseMonitor(_GLFWwindow* window) 209 _GLFWwindow* window; 212 - (id)initWithGlfwWindow:(_GLFWwindow *)initWindow; argument 218 - (id)initWithGlfwWindow:(_GLFWwindow *)initWindow 308 _GLFWwindow* window; [all …]
|
D | context.c | 323 _GLFWwindow* window; in _glfwRefreshContextAttribs() 579 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwMakeContextCurrent() 580 _GLFWwindow* previous = _glfwPlatformGetCurrentContext(); in glfwMakeContextCurrent() 608 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwSwapBuffers() 624 _GLFWwindow* window; in glfwSwapInterval() 640 _GLFWwindow* window; in glfwExtensionSupported() 706 _GLFWwindow* window; in glfwGetProcAddress()
|
D | glx_context.c | 134 static GLXContext createLegacyContextGLX(_GLFWwindow* window, in createLegacyContextGLX() 145 static void makeContextCurrentGLX(_GLFWwindow* window) in makeContextCurrentGLX() 171 static void swapBuffersGLX(_GLFWwindow* window) in swapBuffersGLX() 178 _GLFWwindow* window = _glfwPlatformGetCurrentContext(); in swapIntervalGLX() 220 static void destroyContextGLX(_GLFWwindow* window) in destroyContextGLX() 429 GLFWbool _glfwCreateContextGLX(_GLFWwindow* window, in _glfwCreateContextGLX() 652 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetGLXContext() 666 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetGLXWindow()
|
D | wgl_context.c | 38 static int getPixelFormatAttrib(_GLFWwindow* window, int pixelFormat, int attrib) in getPixelFormatAttrib() 59 static int choosePixelFormat(_GLFWwindow* window, const _GLFWfbconfig* desired) in choosePixelFormat() 234 static void makeContextCurrentWGL(_GLFWwindow* window) in makeContextCurrentWGL() 259 static void swapBuffersWGL(_GLFWwindow* window) in swapBuffersWGL() 274 _GLFWwindow* window = _glfwPlatformGetCurrentContext(); in swapIntervalWGL() 325 static void destroyContextWGL(_GLFWwindow* window) in destroyContextWGL() 472 GLFWbool _glfwCreateContextWGL(_GLFWwindow* window, in _glfwCreateContextWGL() 712 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetWGLContext()
|
D | egl_context.c | 173 static void makeContextCurrentEGL(_GLFWwindow* window) in makeContextCurrentEGL() 205 static void swapBuffersEGL(_GLFWwindow* window) in swapBuffersEGL() 236 _GLFWwindow* window = _glfwPlatformGetCurrentContext(); in getProcAddressEGL() 249 static void destroyContextEGL(_GLFWwindow* window) in destroyContextEGL() 432 GLFWbool _glfwCreateContextEGL(_GLFWwindow* window, in _glfwCreateContextEGL() 721 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetEGLContext() 735 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwGetEGLSurface()
|
D | nsgl_context.m | 30 static void makeContextCurrentNSGL(_GLFWwindow* window) 40 static void swapBuffersNSGL(_GLFWwindow* window) 48 _GLFWwindow* window = _glfwPlatformGetCurrentContext(); 77 static void destroyContextNSGL(_GLFWwindow* window) 118 GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window, 298 _GLFWwindow* window = (_GLFWwindow*) handle;
|
D | nsgl_context.h | 55 GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window, 58 void _glfwDestroyContextNSGL(_GLFWwindow* window);
|
D | posix_tls.c | 59 void _glfwPlatformSetCurrentContext(_GLFWwindow* context) in _glfwPlatformSetCurrentContext() 64 _GLFWwindow* _glfwPlatformGetCurrentContext(void) in _glfwPlatformGetCurrentContext()
|
D | win32_tls.c | 60 void _glfwPlatformSetCurrentContext(_GLFWwindow* context) in _glfwPlatformSetCurrentContext() 65 _GLFWwindow* _glfwPlatformGetCurrentContext(void) in _glfwPlatformGetCurrentContext()
|
D | wl_init.c | 51 _GLFWwindow* window = wl_surface_get_user_data(surface); in pointerHandleEnter() 65 _GLFWwindow* window = _glfw.wl.pointerFocus; in pointerHandleLeave() 81 _GLFWwindow* window = _glfw.wl.pointerFocus; in pointerHandleMotion() 106 _GLFWwindow* window = _glfw.wl.pointerFocus; in pointerHandleButton() 130 _GLFWwindow* window = _glfw.wl.pointerFocus; in pointerHandleAxis() 233 _GLFWwindow* window = wl_surface_get_user_data(surface); in keyboardHandleEnter() 244 _GLFWwindow* window = _glfw.wl.keyboardFocus; in keyboardHandleLeave() 273 _GLFWwindow* window = _glfw.wl.keyboardFocus; in keyboardHandleKey()
|
D | wl_platform.h | 145 _GLFWwindow* pointerFocus; 146 _GLFWwindow* keyboardFocus;
|
D | glx_context.h | 174 GLFWbool _glfwCreateContextGLX(_GLFWwindow* window, 177 void _glfwDestroyContextGLX(_GLFWwindow* window);
|
D | vulkan.c | 279 _GLFWwindow* window = (_GLFWwindow*) handle; in glfwCreateWindowSurface()
|
D | cocoa_platform.h | 105 _GLFWwindow* disabledCursorWindow;
|
D | wgl_context.h | 153 GLFWbool _glfwCreateContextWGL(_GLFWwindow* window,
|
D | monitor.c | 115 _GLFWwindow* window; in _glfwInputMonitorChange() 165 void _glfwInputMonitorWindowChange(_GLFWmonitor* monitor, _GLFWwindow* window) in _glfwInputMonitorWindowChange()
|
D | egl_context.h | 204 GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
D | x11_platform.h | 158 _GLFWwindow* disabledCursorWindow;
|