Home
last modified time | relevance | path

Searched refs:hWnd (Results 1 - 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pbuffer.c49 WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in WndProc() argument
65 return DefWindowProc(hWnd, uMsg, wParam, lParam); in WndProc()
84 HWND hWnd; in wglCreatePbufferARB() local
213 hWnd = CreateWindowEx(dwExStyle, in wglCreatePbufferARB()
225 if (!hWnd) { in wglCreatePbufferARB()
234 GetClientRect(hWnd, &rect); in wglCreatePbufferARB()
245 fb = stw_framebuffer_create(hWnd, iPixelFormat, STW_FRAMEBUFFER_PBUFFER); in wglCreatePbufferARB()
264 bRet = SetPixelFormat(GetDC(hWnd), iDisplayablePixelFormat, &pfd); in wglCreatePbufferARB()
284 hDC = GetDC(fb->hWnd); in wglGetPbufferDCARB()
303 return ReleaseDC(fb->hWnd, hD in wglReleasePbufferDCARB()
[all...]
H A Dstw_framebuffer.c59 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
143 assert(fb->hWnd); in stw_framebuffer_get_size()
151 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()
179 if (ClientToScreen(fb->hWnd, &client_pos) && in stw_framebuffer_get_size()
180 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
190 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd); in stw_framebuffer_get_size()
272 stw_framebuffer_create(HWND hWnd, int iPixelFormat, enum stw_framebuffer_owner owner) in stw_framebuffer_create() argument
281 fb->hWnd = hWnd; in stw_framebuffer_create()
286 stw_dev->stw_winsys->create_framebuffer(stw_dev->screen, hWnd, iPixelForma in stw_framebuffer_create()
[all...]
H A Dstw_winsys.h134 HWND hWnd,
H A Dstw_st.c136 out->win32.hwnd = stwfb->fb->hWnd; in stw_st_fill_private_loader_data()
484 hDC = GetDC(stwfb->fb->hWnd); in stw_st_framebuffer_flush_front()
488 ReleaseDC(stwfb->fb->hWnd, hDC); in stw_st_framebuffer_flush_front()
H A Dstw_framebuffer.h84 HWND hWnd; member
/third_party/mesa3d/src/gallium/targets/graw-gdi/
H A Dgraw_gdi.c38 window_proc(HWND hWnd, in window_proc() argument
49 return DefWindowProc(hWnd, uMsg, wParam, lParam); in window_proc()
72 HWND hWnd = NULL; in graw_create_window_and_screen() local
100 hWnd = CreateWindowEx(0, in graw_create_window_and_screen()
112 if (hWnd == NULL) in graw_create_window_and_screen()
115 hDC = GetDC(hWnd); in graw_create_window_and_screen()
124 if (hWnd) in graw_create_window_and_screen()
125 DestroyWindow(hWnd); in graw_create_window_and_screen()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
H A Dmain.cpp18 bool CreateDeviceD3D(HWND hWnd);
22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
166 bool CreateDeviceD3D(HWND hWnd) in CreateDeviceD3D() argument
179 sd.OutputWindow = hWnd; in CreateDeviceD3D()
215 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
218 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
220 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
241 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
H A Dmain.cpp18 bool CreateDeviceD3D(HWND hWnd);
22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
167 bool CreateDeviceD3D(HWND hWnd) in CreateDeviceD3D() argument
180 sd.OutputWindow = hWnd; in CreateDeviceD3D()
219 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
222 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
224 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
245 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx9/
H A Dmain.cpp17 bool CreateDeviceD3D(HWND hWnd);
20 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
173 bool CreateDeviceD3D(HWND hWnd) in CreateDeviceD3D() argument
187 if (g_pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd, D3DCREATE_HARDWARE_VERTEXPROCESSING, &g_d3dpp, &g_pd3dDevice) < 0) in CreateDeviceD3D()
209 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
212 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
214 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
235 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_win32.cpp72 HWND hWnd; member
118 bd->hWnd = (HWND)hwnd; in ImGui_ImplWin32_Init()
227 IM_ASSERT(bd->hWnd != 0); in ImGui_ImplWin32_UpdateMousePos()
236 if (hovered_window && (hovered_window == bd->hWnd || ::IsChild(hovered_window, bd->hWnd))) in ImGui_ImplWin32_UpdateMousePos()
238 else if (focused_window && (focused_window == bd->hWnd || ::IsChild(focused_window, bd->hWnd))) in ImGui_ImplWin32_UpdateMousePos()
247 if (::ClientToScreen(bd->hWnd, &pos)) in ImGui_ImplWin32_UpdateMousePos()
315 ::GetClientRect(bd->hWnd, &rect); in ImGui_ImplWin32_NewFrame()
357 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UIN
[all...]
/third_party/skia/third_party/externals/angle2/util/windows/win32/
H A DWin32Window.cpp232 LRESULT CALLBACK Win32Window::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
239 SetWindowLongPtr(hWnd, GWLP_USERDATA, in WndProc()
241 return DefWindowProcA(hWnd, message, wParam, lParam); in WndProc()
245 Win32Window *window = reinterpret_cast<Win32Window *>(GetWindowLongPtr(hWnd, GWLP_USERDATA)); in WndProc()
262 GetClientRect(hWnd, &winRect); in WndProc()
267 ClientToScreen(hWnd, &topLeft); in WndProc()
284 GetClientRect(hWnd, &winRect); in WndProc()
289 ClientToScreen(hWnd, &topLeft); in WndProc()
294 ClientToScreen(hWnd, &botRight); in WndProc()
488 return DefWindowProcA(hWnd, messag in WndProc()
[all...]
H A DWin32Window.h47 static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/
H A Dmain.cpp51 bool CreateDeviceD3D(HWND hWnd);
57 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
235 bool CreateDeviceD3D(HWND hWnd) in CreateDeviceD3D() argument
337 if (dxgiFactory->CreateSwapChainForHwnd(g_pd3dCommandQueue, hWnd, &sd, NULL, NULL, &swapChain1) != S_OK) in CreateDeviceD3D()
435 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
438 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument
440 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc()
463 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
/third_party/mesa3d/src/glx/windows/
H A Dwindows_drawable.c38 return GetDC(d->hWnd); in window_getdc()
44 ReleaseDC(d->hWnd, dc); in window_releasedc()
113 d->hWnd = handle; in windows_create_drawable()
H A Dwindowsgl_internal.h55 HWND hWnd; member
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWin32Window.cpp31 static LRESULT CALLBACK windowProcCallback (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in windowProcCallback() argument
33 Window* window = reinterpret_cast<Window*>(GetWindowLongPtr(hWnd, GWLP_USERDATA)); in windowProcCallback()
37 return DefWindowProc(hWnd, uMsg, wParam, lParam); in windowProcCallback()
/third_party/skia/tools/sk_app/win/
H A DWindow_win.cpp59 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
214 Window_win* window = (Window_win*) GetWindowLongPtr(hWnd, GWLP_USERDATA); in WndProc()
220 BeginPaint(hWnd, &ps); in WndProc()
222 EndPaint(hWnd, &ps); in WndProc()
310 ClientToScreen(hWnd, &topLeft); in WndProc()
333 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DDxgiFns.cpp66 HWND hWnd = pPresentInfo->hWindow; in _Present() local
85 if (!GetClientRect(hWnd, &rect)) { in _Present()
93 HDC hDC = GetDC(hWnd); in _Present()
178 ReleaseDC(hWnd, hDC); in _Present()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_directx11/
H A Dmain.cpp21 bool CreateDeviceD3D(HWND hWnd);
181 bool CreateDeviceD3D(HWND hWnd) in CreateDeviceD3D() argument
194 sd.OutputWindow = hWnd; in CreateDeviceD3D()
/third_party/mesa3d/src/gallium/targets/libgl-d3d12/
H A Dlibgl_d3d12.c97 HWND hWnd, in gdi_create_framebuffer()
100 return d3d12_wgl_create_framebuffer(screen, hWnd, iPixelFormat); in gdi_create_framebuffer()
96 gdi_create_framebuffer(struct pipe_screen *screen, HWND hWnd, int iPixelFormat) gdi_create_framebuffer() argument
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
H A Dtri.cpp75 HWND hWnd = CreateWindow(wc.lpszClassName, in main() local
85 if (!hWnd) { in main()
113 SwapChainDesc.OutputWindow = hWnd; in main()
290 DestroyWindow(hWnd); in main()
/third_party/mesa3d/src/gallium/targets/wgl/
H A Dwgl.c236 HWND hWnd, in wgl_create_framebuffer()
241 return d3d12_wgl_create_framebuffer(screen, hWnd, iPixelFormat); in wgl_create_framebuffer()
235 wgl_create_framebuffer(struct pipe_screen *screen, HWND hWnd, int iPixelFormat) wgl_create_framebuffer() argument
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/
H A Dd3d12_wgl_public.h53 HWND hWnd,
H A Dd3d12_wgl_framebuffer.cpp221 HWND hWnd, in d3d12_wgl_create_framebuffer()
236 fb->window = hWnd; in d3d12_wgl_create_framebuffer()
220 d3d12_wgl_create_framebuffer(struct pipe_screen *screen, HWND hWnd, int iPixelFormat) d3d12_wgl_create_framebuffer() argument
/third_party/python/Tools/msi/bundle/bootstrap/
H A DPythonBootstrapperApplication.cpp1869 __in HWND hWnd, in WndProc()
1875 auto pBA = reinterpret_cast<PythonBootstrapperApplication*>(::GetWindowLongPtrW(hWnd, GWLP_USERDATA)); in WndProc()
1882 ::SetWindowLongPtrW(hWnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(pBA)); in WndProc()
1887 LRESULT lres = ThemeDefWindowProc(pBA ? pBA->_theme : nullptr, hWnd, uMsg, wParam, lParam); in WndProc()
1888 ::SetWindowLongPtrW(hWnd, GWLP_USERDATA, 0); in WndProc()
1893 if (!pBA->OnCreate(hWnd)) { in WndProc()
2000 return ThemeDefWindowProc(pBA ? pBA->_theme : nullptr, hWnd, uMsg, wParam, lParam); in WndProc()
2006 BOOL OnCreate(__in HWND hWnd) { in OnCreate() argument
2009 hr = ThemeLoadControls(_theme, hWnd, CONTROL_ID_NAMES, countof(CONTROL_ID_NAMES)); in OnCreate()
2053 BOOL SetControlColor(HWND hWnd, HD argument
1868 WndProc( __in HWND hWnd, __in UINT uMsg, __in WPARAM wParam, __in LPARAM lParam ) WndProc() argument
[all...]

Completed in 15 milliseconds

12