Home
last modified time | relevance | path

Searched refs:best_pf (Results 1 – 3 of 3) sorted by relevance

/dports/x11-toolkits/gtk30/gtk+-3.24.31/gdk/win32/
H A Dgdkglcontext-win32.c223 gint best_pf = 0; in get_wgl_pfd() local
291 best_pf = gdk_init_dummy_context (&dummy, need_alpha_bits); in get_wgl_pfd()
293 if (best_pf == 0 || !wglMakeCurrent (dummy.hdc, dummy.hglrc)) in get_wgl_pfd()
303 &best_pf, in get_wgl_pfd()
306 if (best_pf == 0) in get_wgl_pfd()
320 &best_pf, in get_wgl_pfd()
339 best_pf = ChoosePixelFormat (hdc, pfd); in get_wgl_pfd()
341 if (best_pf == 0) in get_wgl_pfd()
348 best_pf = ChoosePixelFormat (hdc, pfd); in get_wgl_pfd()
352 return best_pf; in get_wgl_pfd()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gdk/win32/
H A Dgdkglcontext-win32-wgl.c146 int best_pf = 0; in get_wgl_pfd() local
192 best_pf = gdk_init_dummy_wgl_context (display_win32); in get_wgl_pfd()
205 &best_pf, in get_wgl_pfd()
220 best_pf = ChoosePixelFormat (hdc, pfd); in get_wgl_pfd()
223 return best_pf; in get_wgl_pfd()
/dports/graphics/cogl/cogl-1.22.8/cogl/winsys/
H A Dcogl-winsys-wgl.c403 int i, num_formats, best_pf = 0; in choose_pixel_format() local
410 return best_pf; in choose_pixel_format()
428 (best_pf == 0 || pixel_format_is_better (&best_pfd, pfd))) in choose_pixel_format()
435 best_pf = i; in choose_pixel_format()
442 return best_pf; in choose_pixel_format()