Home
last modified time | relevance | path

Searched refs:hWnd (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp53 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
83 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
93 bool TestEGLError(HWND hWnd, const char* pszLocation) in TestEGLError() argument
105 MessageBox(hWnd, pszStr, _T("Error"), MB_OK|MB_ICONEXCLAMATION); in TestEGLError()
120 int Cleanup(EGLDisplay eglDisplay, HWND hWnd, HDC hDC) in Cleanup() argument
137 if (hDC) ReleaseDC(hWnd, hDC); in Cleanup()
154 HWND hWnd = 0; in WinMain() local
216 hWnd = CreateWindow( WINDOW_CLASS, _T("HelloAPI"), WS_VISIBLE | WS_SYSMENU, in WinMain()
218 eglWindow = hWnd; in WinMain()
221 hDC = GetDC(hWnd); in WinMain()
[all …]
/external/mesa3d/src/gallium/targets/graw-gdi/
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()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/
Dwindows_user.h9 LRESULT CALLBACK WindowCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) noexcept;
81 … LRESULT CALLBACK WindowCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) noexcept { in WindowCallback() argument
82 auto type = detail::find<Type>(hWnd); in WindowCallback()
93 … type = detail::insert(hWnd, std::unique_ptr<Type>(new (std::nothrow) Type(hWnd, cs, param))); in WindowCallback()
103 std::tie(handled, lResult) = type->message(hWnd, message, wParam, lParam); in WindowCallback()
107 lResult = DefWindowProc(hWnd, message, wParam, lParam); in WindowCallback()
111 detail::erase(hWnd); in WindowCallback()
Drx_windows_user.h18 HWND hWnd; member
44 : hWnd(m.hWnd) in TypedMessage()
51 HWND hWnd; member
69 std::tuple<bool, LRESULT> message(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { in message()
71 auto m = Message{hWnd, message, wParam, lParam, &result}; in message()
/external/mesa3d/src/gallium/state_trackers/wgl/
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
212 hWnd = CreateWindowEx(dwExStyle, in wglCreatePbufferARB()
224 if (!hWnd) { in wglCreatePbufferARB()
233 GetClientRect(hWnd, &rect); in wglCreatePbufferARB()
240 hDC = GetDC(hWnd); in wglCreatePbufferARB()
290 hDC = GetDC(fb->hWnd); in wglGetPbufferDCARB()
309 return ReleaseDC(fb->hWnd, hDC); in wglReleasePbufferDCARB()
326 return DestroyWindow(fb->hWnd); in wglDestroyPbufferARB()
Dstw_framebuffer.c57 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
127 assert(fb->hWnd); in stw_framebuffer_get_size()
135 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()
163 if (ClientToScreen(fb->hWnd, &client_pos) && in stw_framebuffer_get_size()
164 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
174 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd); in stw_framebuffer_get_size()
254 HWND hWnd; in stw_framebuffer_create() local
259 hWnd = WindowFromDC( hdc ); in stw_framebuffer_create()
260 if (!hWnd) in stw_framebuffer_create()
267 fb->hWnd = hWnd; in stw_framebuffer_create()
Dstw_st.c212 hDC = GetDC(stwfb->fb->hWnd); in stw_st_framebuffer_flush_front()
216 ReleaseDC(stwfb->fb->hWnd, hDC); in stw_st_framebuffer_flush_front()
Dstw_framebuffer.h66 HWND hWnd; member
/external/swiftshader/third_party/PowerVR_SDK/Shell/OS/Windows/
DPVRShellOS.cpp574 void doButtonDown(HWND hWnd, PVRShellInit *pData, EPVRShellButtonState eButton, LPARAM lParam) in doButtonDown() argument
577 GetClientRect(hWnd,&rcWinDimensions); in doButtonDown()
580 SetCapture(hWnd); // must be within window so capture in doButtonDown()
584 bool doButtonUp(HWND hWnd, PVRShellInit *pData, EPVRShellButtonState eButton, LPARAM lParam) in doButtonUp() argument
587 GetClientRect(hWnd,&rcWinDimensions); in doButtonUp()
613 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
615 PVRShellInit *pData = (PVRShellInit*) GetWindowLongPtr(hWnd, GWLP_USERDATA); in WndProc()
622 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)pCreate->lpCreateParams); in WndProc()
640 doButtonDown(hWnd,pData,ePVRShellButtonLeft,lParam); in WndProc()
645 if(!doButtonUp(hWnd,pData,ePVRShellButtonLeft,lParam)) in WndProc()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h76 LPMSG lpMsg, HWND hWnd, in GetMessage_Win32() argument
78 return GetMessage(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); in GetMessage_Win32()
82 LPMSG lpMsg, HWND hWnd, in GetMessage() argument
84 return GetMessage_Win32(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); in GetMessage()
/external/skqp/tools/sk_app/win/
DWindow_win.cpp57 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
208 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
213 Window_win* window = (Window_win*) GetWindowLongPtr(hWnd, GWLP_USERDATA); in WndProc()
219 hdc = BeginPaint(hWnd, &ps); in WndProc()
221 EndPaint(hWnd, &ps); in WndProc()
309 ClientToScreen(hWnd, &topLeft); in WndProc()
332 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
/external/skia/tools/sk_app/win/
DWindow_win.cpp57 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
208 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
213 Window_win* window = (Window_win*) GetWindowLongPtr(hWnd, GWLP_USERDATA); in WndProc()
219 hdc = BeginPaint(hWnd, &ps); in WndProc()
221 EndPaint(hWnd, &ps); in WndProc()
309 ClientToScreen(hWnd, &topLeft); in WndProc()
332 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
/external/mesa3d/src/glx/windows/
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()
Dwindowsgl_internal.h55 HWND hWnd; member
Dwindowsgl.c253 HDC drawDc = GetDC(draw->hWnd); in windows_swap_buffers()
255 ReleaseDC(draw->hWnd, drawDc); in windows_swap_buffers()
/external/deqp/framework/platform/win32/
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()
/external/syzkaller/sys/windows/
Dwindows.txt814 CommConfigDialogA(lpszName ptr[inout, int8], hWnd ptr[inout, intptr], lpCC ptr[inout, intptr])
1262 GetMessageA(lpMsg ptr[inout, intptr], hWnd ptr[inout, intptr], wMsgFilterMin int32, wMsgFilterMax i…
1266 PeekMessageA(lpMsg ptr[inout, intptr], hWnd ptr[inout, intptr], wMsgFilterMin int32, wMsgFilterMax …
1267 RegisterHotKey(hWnd ptr[inout, intptr], id int32, fsModifiers int32, vk int32)
1268 UnregisterHotKey(hWnd ptr[inout, intptr], id int32)
1276 SendMessageA(hWnd ptr[inout, intptr], Msg int32, wParam int64, lParam int64)
1277 SendMessageTimeoutA(hWnd ptr[inout, intptr], Msg int32, wParam int64, lParam int64, fuFlags int32, …
1278 SendNotifyMessageA(hWnd ptr[inout, intptr], Msg int32, wParam int64, lParam int64)
1279 SendMessageCallbackA(hWnd ptr[inout, intptr], Msg int32, wParam int64, lParam int64, lpResultCallBa…
1288 PostMessageA(hWnd ptr[inout, intptr], Msg int32, wParam int64, lParam int64)
[all …]
/external/webrtc/webrtc/modules/video_render/windows/
Dvideo_render_direct3d9.h100 VideoRenderDirect3D9(Trace* trace, HWND hWnd, bool fullScreen);
238 int InitializeD3D(HWND hWnd, D3DPRESENT_PARAMETERS* pd3dpp);
Dvideo_render_direct3d9.cc276 HWND hWnd, in VideoRenderDirect3D9() argument
280 _hWnd(hWnd), in VideoRenderDirect3D9()
365 int VideoRenderDirect3D9::InitializeD3D(HWND hWnd, in InitializeD3D() argument
383 if (FAILED(_pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd, in InitializeD3D()
390 hWnd, dwVertexProcessing in InitializeD3D()
/external/python/cpython3/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp1836 __in HWND hWnd, in WndProc() argument
1842 …auto pBA = reinterpret_cast<PythonBootstrapperApplication*>(::GetWindowLongPtrW(hWnd, GWLP_USERDAT… in WndProc()
1849 ::SetWindowLongPtrW(hWnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(pBA)); in WndProc()
1854 … LRESULT lres = ThemeDefWindowProc(pBA ? pBA->_theme : nullptr, hWnd, uMsg, wParam, lParam); in WndProc()
1855 ::SetWindowLongPtrW(hWnd, GWLP_USERDATA, 0); in WndProc()
1860 if (!pBA->OnCreate(hWnd)) { in WndProc()
1967 return ThemeDefWindowProc(pBA ? pBA->_theme : nullptr, hWnd, uMsg, wParam, lParam); in WndProc()
1973 BOOL OnCreate(__in HWND hWnd) { in OnCreate() argument
1976 hr = ThemeLoadControls(_theme, hWnd, CONTROL_ID_NAMES, countof(CONTROL_ID_NAMES)); in OnCreate()
2020 BOOL SetControlColor(HWND hWnd, HDC hDC, HBRUSH *brush) { in SetControlColor() argument
[all …]
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI.cc97 LRESULT CALLBACK WebRtcWinProc( HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam) in WebRtcWinProc() argument
106 return DefWindowProc(hWnd,uMsg,wParam,lParam); in WebRtcWinProc()
/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSDService.h374 WndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam );
DDNSSDService.cpp2062 CDNSSDService::WndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) in WndProc() argument
2092 return DefWindowProc(hWnd, msg, wParam, lParam);; in WndProc()
/external/mesa3d/include/d3dadapter/
Dpresent.h90 …HRESULT (WINAPI *GetWindowInfo)(ID3DPresent *This, HWND hWnd, int *width, int *height, int *depth…
/external/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp162 void f(int hWnd) { in f() argument

12