/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowswindow.c | 85 HWND hwnd = data->hwnd; in WIN_SetWindowPositionInternal() local 99 style = GetWindowLong(hwnd, GWL_STYLE); in WIN_SetWindowPositionInternal() 104 menu = (style & WS_CHILDWINDOW) ? FALSE : (GetMenu(hwnd) != NULL); in WIN_SetWindowPositionInternal() 112 SetWindowPos(hwnd, top, x, y, w, h, flags); in WIN_SetWindowPositionInternal() 117 SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created) in SetupWindowData() argument 128 data->hwnd = hwnd; in SetupWindowData() 129 data->hdc = GetDC(hwnd); in SetupWindowData() 138 if (!SetProp(hwnd, TEXT("SDL_WindowData"), data)) { in SetupWindowData() 139 ReleaseDC(hwnd, data->hdc); in SetupWindowData() 146 data->wndproc = (WNDPROC) GetWindowLongPtr(hwnd, GWLP_WNDPROC); in SetupWindowData() [all …]
|
D | SDL_windowsevents.c | 346 WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in WIN_WindowProc() argument 357 wmmsg.msg.win.hwnd = hwnd; in WIN_WindowProc() 365 data = (SDL_WindowData *) GetProp(hwnd, TEXT("SDL_WindowData")); in WIN_WindowProc() 367 return CallWindowProc(DefWindowProc, hwnd, msg, wParam, lParam); in WIN_WindowProc() 374 …of(message), "Received windows message: %p UNKNOWN (%d) -- 0x%X, 0x%X\n", hwnd, msg, wParam, lPara… in WIN_WindowProc() 376 …sage, sizeof(message), "Received windows message: %p %s -- 0x%X, 0x%X\n", hwnd, wmtab[msg], wParam… in WIN_WindowProc() 382 if (IME_HandleMessage(hwnd, msg, wParam, &lParam, data->videodata)) in WIN_WindowProc() 428 ScreenToClient(hwnd, &cursorPos); in WIN_WindowProc() 528 … if (WindowFromPoint(pt) != hwnd) { /* if in the window, WM_MOUSEMOVE, etc, will cover it. */ in WIN_WindowProc() 529 ScreenToClient(hwnd, &pt); in WIN_WindowProc() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | clayout.c | 48 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 54 SetWindowTextA(hwnd, title); in PrettyTitle() 57 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 73 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 79 HWND hwnd; in WinMain() local 104 hwnd = CreateWindow(szAppName, NULL, in WinMain() 110 ShowWindow(hwnd, iCmdShow); in WinMain() 111 UpdateWindow(hwnd); in WinMain() 114 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
D | layout.cpp | 47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 53 SetWindowTextA(hwnd, title); in PrettyTitle() 56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 72 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 78 HWND hwnd; in WinMain() local 103 hwnd = CreateWindow(szAppName, NULL, in WinMain() 109 ShowWindow(hwnd, iCmdShow); in WinMain() 110 UpdateWindow(hwnd); in WinMain() 113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | layout.cpp | 47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 53 SetWindowTextA(hwnd, title); in PrettyTitle() 56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 72 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 78 HWND hwnd; in WinMain() local 103 hwnd = CreateWindow(szAppName, NULL, in WinMain() 109 ShowWindow(hwnd, iCmdShow); in WinMain() 110 UpdateWindow(hwnd); in WinMain() 113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
D | clayout.c | 48 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 54 SetWindowTextA(hwnd, title); in PrettyTitle() 57 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 73 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 79 HWND hwnd; in WinMain() local 104 hwnd = CreateWindow(szAppName, NULL, in WinMain() 110 ShowWindow(hwnd, iCmdShow); in WinMain() 111 UpdateWindow(hwnd); in WinMain() 114 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
/third_party/icu/icu4c/source/samples/layout/ |
D | layout.cpp | 47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 53 SetWindowTextA(hwnd, title); in PrettyTitle() 56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 72 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 78 HWND hwnd; in WinMain() local 103 hwnd = CreateWindow(szAppName, NULL, in WinMain() 109 ShowWindow(hwnd, iCmdShow); in WinMain() 110 UpdateWindow(hwnd); in WinMain() 113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
D | clayout.c | 48 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 54 SetWindowTextA(hwnd, title); in PrettyTitle() 57 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 73 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 79 HWND hwnd; in WinMain() local 104 hwnd = CreateWindow(szAppName, NULL, in WinMain() 110 ShowWindow(hwnd, iCmdShow); in WinMain() 111 UpdateWindow(hwnd); in WinMain() 114 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
/third_party/cef/tests/cefclient/browser/ |
D | browser_window_std_win.cc | 61 HWND hwnd = GetWindowHandle(); in ShowPopup() local 62 if (hwnd) { in ShowPopup() 63 SetParent(hwnd, parent_handle); in ShowPopup() 64 SetWindowPos(hwnd, nullptr, x, y, static_cast<int>(width), in ShowPopup() 69 ShowWindow(hwnd, no_activate ? SW_SHOWNOACTIVATE : SW_SHOW); in ShowPopup() 76 HWND hwnd = GetWindowHandle(); in Show() local 77 if (hwnd && !::IsWindowVisible(hwnd)) in Show() 78 ShowWindow(hwnd, SW_SHOW); in Show() 84 HWND hwnd = GetWindowHandle(); in Hide() local 85 if (hwnd) { in Hide() [all …]
|
/third_party/skia/third_party/externals/libpng/contrib/visupng/ |
D | VisualPng.c | 53 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName, 57 BOOL DisplayImage (HWND hwnd, BYTE **ppDib, 83 HWND hwnd; in WinMain() local 124 hwnd = CreateWindow (szProgName, szAppName, in WinMain() 131 ShowWindow (hwnd, iCmdShow); in WinMain() 132 UpdateWindow (hwnd); in WinMain() 138 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain() 147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument 181 PngFileInitialize (hwnd); in WndProc() 199 if (!LoadImageFile (hwnd, szImgPathName, in WndProc() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/visupng/ |
D | VisualPng.c | 53 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName, 57 BOOL DisplayImage (HWND hwnd, BYTE **ppDib, 83 HWND hwnd; in WinMain() local 124 hwnd = CreateWindow (szProgName, szAppName, in WinMain() 131 ShowWindow (hwnd, iCmdShow); in WinMain() 132 UpdateWindow (hwnd); in WinMain() 138 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain() 147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument 181 PngFileInitialize (hwnd); in WndProc() 199 if (!LoadImageFile (hwnd, szImgPathName, in WndProc() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstwin32devicewatcher.cpp | 49 HWND hwnd; member 120 window_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) in window_proc() argument 131 SetPropA (hwnd, GST_WIN32_HWND_PROP_NAME, self); in window_proc() 136 (hwnd, GST_WIN32_HWND_PROP_NAME); in window_proc() 149 return DefWindowProc (hwnd, msg, wparam, lparam); in window_proc() 159 HWND hwnd; in create_hwnd() local 184 hwnd = CreateWindowExA (0, klass_name, "", 0, 0, 0, 0, 0, in create_hwnd() 186 if (!hwnd) { in create_hwnd() 192 return hwnd; in create_hwnd() 223 HWND hwnd = nullptr; in gst_win32_device_watcher_thread_func() local [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | gdigrab.c | 56 HWND hwnd; /**< Handle of the window for the grab */ member 86 gdigrab_region_wnd_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) in gdigrab_region_wnd_proc() argument 94 hdc = BeginPaint(hwnd, &ps); in gdigrab_region_wnd_proc() 96 GetClientRect(hwnd, &rect); in gdigrab_region_wnd_proc() 105 EndPaint(hwnd, &ps); in gdigrab_region_wnd_proc() 108 return DefWindowProc(hwnd, msg, wparam, lparam); in gdigrab_region_wnd_proc() 123 HWND hwnd; in gdigrab_region_wnd_init() local 138 hwnd = CreateWindowEx(ex, WC_DIALOG, NULL, style, rect.left, rect.top, in gdigrab_region_wnd_init() 141 if (!hwnd) { in gdigrab_region_wnd_init() 147 GetClientRect(hwnd, &rect); in gdigrab_region_wnd_init() [all …]
|
D | vfwcap.c | 45 HWND hwnd; member 178 static LRESULT CALLBACK videostream_cb(HWND hwnd, LPVIDEOHDR vdhdr) in videostream_cb() argument 184 s = (AVFormatContext *) GetWindowLongPtr(hwnd, GWLP_USERDATA); in videostream_cb() 225 if(ctx->hwnd) { in vfw_read_close() 226 SendMessage(ctx->hwnd, WM_CAP_SET_CALLBACK_VIDEOSTREAM, 0, 0); in vfw_read_close() 227 SendMessage(ctx->hwnd, WM_CAP_DRIVER_DISCONNECT, 0, 0); in vfw_read_close() 228 DestroyWindow(ctx->hwnd); in vfw_read_close() 276 ctx->hwnd = capCreateCaptureWindow(NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, 0); in vfw_read_header() 277 if(!ctx->hwnd) { in vfw_read_header() 285 ret = SendMessage(ctx->hwnd, WM_CAP_DRIVER_CONNECT, devnum, 0); in vfw_read_header() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/ |
D | windows_screenshot.c | 143 ScreenshotWindow(HWND hwnd, char* filename, SDL_bool only_client_area) in ScreenshotWindow() argument 159 if(!hwnd) in ScreenshotWindow() 166 if(!GetWindowRect(hwnd, &dimensions)) in ScreenshotWindow() 176 if(!GetClientRect(hwnd, &crect)) in ScreenshotWindow() 185 windowdc = GetDC(hwnd); in ScreenshotWindow() 197 windowdc = GetWindowDC(hwnd); in ScreenshotWindow() 261 if(!ReleaseDC(hwnd, windowdc)) in ScreenshotWindow() 274 HWND hwnd; in SDLVisualTest_ScreenshotDesktop() local 275 hwnd = GetDesktopWindow(); in SDLVisualTest_ScreenshotDesktop() 276 return ScreenshotWindow(hwnd, filename, SDL_FALSE); in SDLVisualTest_ScreenshotDesktop() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testnativew32.c | 27 WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 31 DestroyWindow(hwnd); in WndProc() 37 return DefWindowProc(hwnd, msg, wParam, lParam); in WndProc() 45 HWND hwnd; in CreateWindowNative() local 65 hwnd = in CreateWindowNative() 69 if (hwnd == NULL) { in CreateWindowNative() 75 ShowWindow(hwnd, SW_SHOW); in CreateWindowNative() 77 return hwnd; in CreateWindowNative()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | Win32SurfaceKHR.cpp | 23 VkResult getWindowSize(HWND hwnd, VkExtent2D &windowSize) in getWindowSize() argument 26 if(!IsWindow(hwnd) || !GetClientRect(hwnd, &clientRect)) in getWindowSize() 42 : hwnd(pCreateInfo->hwnd) in Win32SurfaceKHR() 44 ASSERT(IsWindow(hwnd) == TRUE); in Win32SurfaceKHR() 45 windowContext = GetDC(hwnd); in Win32SurfaceKHR() 53 ReleaseDC(hwnd, windowContext); in destroySurface() 67 VkResult result = getWindowSize(hwnd, extent); in getSurfaceCapabilities() 118 VkResult result = getWindowSize(hwnd, currWindowExtent); in lazyCreateFrameBuffer()
|
/third_party/gstreamer/gstplugins_base/tests/examples/overlay/ |
D | win32-videooverlay.c | 35 static HWND hwnd = NULL; variable 66 HMONITOR monitor = MonitorFromWindow (hwnd, MONITOR_DEFAULTTONEAREST); in get_monitor_size() 91 if (!hwnd) in switch_fullscreen_mode() 100 SetWindowLong (hwnd, GWL_STYLE, prev_style); in switch_fullscreen_mode() 102 SetWindowPos (hwnd, HWND_NOTOPMOST, in switch_fullscreen_mode() 108 ShowWindow (hwnd, SW_NORMAL); in switch_fullscreen_mode() 113 ShowWindow (hwnd, SW_SHOW); in switch_fullscreen_mode() 117 GetWindowRect (hwnd, &prev_rect); in switch_fullscreen_mode() 118 prev_style = GetWindowLong (hwnd, GWL_STYLE); in switch_fullscreen_mode() 128 SetWindowLong (hwnd, GWL_STYLE, in switch_fullscreen_mode() [all …]
|
D | win32-videooverlay-playbin.c | 31 static HWND hwnd = NULL; variable 40 hwnd = NULL; in window_proc() 75 if (!visible && hwnd) { in bus_msg() 76 ShowWindow (hwnd, SW_SHOW); in bus_msg() 101 gst_video_overlay_set_window_handle (overlay, (guintptr) hwnd); in bus_sync_handler() 186 hwnd = CreateWindowEx (0, wc.lpszClassName, in main() 222 gst_video_overlay_set_window_handle (overlay, (guintptr) hwnd); in main() 249 if (hwnd) in main() 250 DestroyWindow (hwnd); in main()
|
/third_party/mesa3d/src/glx/windows/ |
D | windowsgl.c | 96 HWND hwnd = CreateWindowExA(0, in windows_create_context() local 102 HDC hdc = GetDC(hwnd); in windows_create_context() 113 ReleaseDC(hwnd, hdc); in windows_create_context() 114 DestroyWindow(hwnd); in windows_create_context() 157 HWND hwnd = CreateWindowExA(0, in windows_create_context_attribs() local 163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs() 174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs() 175 DestroyWindow(hwnd); in windows_create_context_attribs() 311 HWND hwnd = CreateWindowExA(0, in windows_call_with_context() local 316 if (hwnd) { in windows_call_with_context() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/ |
D | d3d11videosink-shared-texture-d3d9ex.cpp | 39 static HWND hwnd = nullptr; variable 69 if (!hwnd) in on_begin_draw() 135 GetClientRect (hwnd, &client_rect); in on_resize() 145 params.hDeviceWindow = hwnd; in on_resize() 184 hwnd = NULL; in window_proc() 205 if (!visible && hwnd) { in bus_msg() 206 ShowWindow (hwnd, SW_SHOW); in bus_msg() 289 hwnd = CreateWindowEx (0, wc.lpszClassName, in main() 313 params.hDeviceWindow = hwnd; in main() 316 hr = d3d9_handle->CreateDeviceEx (D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hwnd, in main() [all …]
|
D | d3d11videosink.c | 35 static HWND hwnd = NULL; variable 50 hwnd = NULL; in window_proc() 74 if (hwnd) in keyboard_cb() 75 PostMessage (hwnd, WM_CLOSE, 0, 0); in keyboard_cb() 81 if (hwnd) in keyboard_cb() 82 PostMessage (hwnd, WM_CLOSE, 0, 0); in keyboard_cb() 109 if (!visible && hwnd) { in bus_msg() 110 ShowWindow (hwnd, SW_SHOW); in bus_msg() 275 hwnd = CreateWindowEx (0, wc.lpszClassName, "GstD3D11VideoSinkExample", in main() 314 (guintptr) hwnd); in main() [all …]
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | DawnD3D12WindowContext_win.cpp | 20 DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params); 32 DawnD3D12WindowContext::DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params) in DawnD3D12WindowContext() argument 34 , fWindow(hwnd) { in DawnD3D12WindowContext() 36 GetClientRect(hwnd, &rect); in DawnD3D12WindowContext() 61 std::unique_ptr<WindowContext> MakeDawnD3D12ForWin(HWND hwnd, in MakeDawnD3D12ForWin() argument 63 std::unique_ptr<WindowContext> ctx(new DawnD3D12WindowContext(hwnd, params)); in MakeDawnD3D12ForWin()
|
/third_party/skia/tools/sk_app/win/ |
D | DawnD3D12WindowContext_win.cpp | 19 DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params); 31 DawnD3D12WindowContext::DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params) in DawnD3D12WindowContext() argument 33 , fWindow(hwnd) { in DawnD3D12WindowContext() 35 GetClientRect(hwnd, &rect); in DawnD3D12WindowContext() 60 std::unique_ptr<WindowContext> MakeDawnD3D12ForWin(HWND hwnd, in MakeDawnD3D12ForWin() argument 62 std::unique_ptr<WindowContext> ctx(new DawnD3D12WindowContext(hwnd, params)); in MakeDawnD3D12ForWin()
|
/third_party/cef/libcef/browser/native/ |
D | browser_platform_delegate_native_win.cc | 130 float GetWindowScaleFactor(HWND hwnd) { in GetWindowScaleFactor() argument 131 DCHECK(hwnd); in GetWindowScaleFactor() 140 return static_cast<float>(get_dpi_for_window_func(hwnd)) / DPI_1X; in GetWindowScaleFactor() 145 GetWindowRect(hwnd, &cr); in GetWindowScaleFactor() 388 return !DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam); in HandleKeyboardEvent() 392 msg.hwnd = GetHostWindowHandle(); in HandleKeyboardEvent() 393 if (!msg.hwnd) in HandleKeyboardEvent() 419 return !DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam); in HandleKeyboardEvent() 549 LRESULT CALLBACK CefBrowserPlatformDelegateNativeWin::WndProc(HWND hwnd, in WndProc() argument 558 gfx::GetWindowUserData(hwnd)); in WndProc() [all …]
|