Home
last modified time | relevance | path

Searched refs:_hdc (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/targets/libgl-gdi/tests/
H A Dwgl_tests.cpp38 HDC get_hdc() const { return _hdc; }; in get_hdc()
39 bool valid() const { return _window && _hdc && _hglrc; } in valid()
48 HDC _hdc = nullptr; member in window
71 _hdc = ::GetDC(_window); in window()
93 int pixel_format = ChoosePixelFormat(_hdc, &pfd); in window()
96 if (!SetPixelFormat(_hdc, pixel_format, &pfd)) in window()
99 _hglrc = wglCreateContext(_hdc); in window()
103 wglMakeCurrent(_hdc, _hglrc); in window()
115 _hglrc = wglCreateContextAttribsARB(_hdc, nullptr, attribs); in recreate_attribs()
119 wglMakeCurrent(_hdc, _hglr in recreate_attribs()
[all...]

Completed in 1 milliseconds