Home
last modified time | relevance | path

Searched refs:hdc (Results 1 - 25 of 58) sorted by relevance

123

/third_party/musl/scripts/
H A Druntest_Windows.bat22 for /F "usebackq delims==" %%c in (`hdc list targets`) DO (
56 for /F "usebackq delims==" %%r in (`hdc shell param get const.product.cpu.abilist`) DO (
63 hdc shell rm -rf /data/tests/libc-test
64 hdc shell mkdir /data/tests
65 hdc shell mkdir %REMOTE%
68 hdc shell mkdir /tmp
69 hdc shell mkdir /dev/shm
75 hdc file send %TESTDIR% %REMOTE%/src
78 hdc file send %%j %REMOTE%/src
80 hdc shel
[all...]
/third_party/mesa3d/src/gallium/targets/libgl-gdi/
H A Dstw_wgl.c64 HDC hdc ) in wglCreateContext()
67 return (HGLRC)(UINT_PTR)DrvCreateContext(hdc); in wglCreateContext()
72 HDC hdc, in wglCreateLayerContext()
76 return (HGLRC)(UINT_PTR)DrvCreateLayerContext( hdc, iLayerPlane ); in wglCreateLayerContext()
102 HDC hdc, in wglMakeCurrent()
105 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; in wglMakeCurrent()
111 HDC hdc ) in wglSwapBuffers()
113 return DrvSwapBuffers( hdc ); in wglSwapBuffers()
124 wglSwapBuffers(ps->hdc); in wglSwapMultipleBuffers()
132 HDC hdc, in wglSwapLayerBuffers()
71 wglCreateLayerContext( HDC hdc, int iLayerPlane ) wglCreateLayerContext() argument
101 wglMakeCurrent( HDC hdc, HGLRC hglrc ) wglMakeCurrent() argument
131 wglSwapLayerBuffers( HDC hdc, UINT fuPlanes ) wglSwapLayerBuffers() argument
147 wglChoosePixelFormat( HDC hdc, CONST PIXELFORMATDESCRIPTOR *ppfd ) wglChoosePixelFormat() argument
168 wglDescribePixelFormat( HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd ) wglDescribePixelFormat() argument
185 wglSetPixelFormat( HDC hdc, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd ) wglSetPixelFormat() argument
200 wglUseFontBitmapsA( HDC hdc, DWORD first, DWORD count, DWORD listBase ) wglUseFontBitmapsA() argument
219 wglUseFontBitmapsW( HDC hdc, DWORD first, DWORD count, DWORD listBase ) wglUseFontBitmapsW() argument
278 wglUseFontOutlinesA( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) wglUseFontOutlinesA() argument
303 wglUseFontOutlinesW( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) wglUseFontOutlinesW() argument
328 wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) wglDescribeLayerPlane() argument
339 wglSetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr ) wglSetLayerPaletteEntries() argument
350 wglGetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr ) wglGetLayerPaletteEntries() argument
361 wglRealizeLayerPalette( HDC hdc, int iLayerPlane, BOOL bRealize ) wglRealizeLayerPalette() argument
[all...]
H A Dstw_wgl.h42 wglSwapBuffers(HDC hdc);
45 wglChoosePixelFormat(HDC hdc,
49 wglDescribePixelFormat(HDC hdc,
55 wglGetPixelFormat(HDC hdc);
58 wglSetPixelFormat(HDC hdc,
76 HDC hdc; member
/third_party/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.cpp119 HDC hdc = surface->getHDC(); in GDIFontInstance() local
125 SaveDC(hdc); in GDIFontInstance()
127 SetGraphicsMode(hdc, GM_ADVANCED); in GDIFontInstance()
128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); in GDIFontInstance()
129 SetViewportOrgEx(hdc, 0, 0, NULL); in GDIFontInstance()
130 SetWindowOrgEx(hdc, 0, 0, NULL); in GDIFontInstance()
132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance()
133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance()
139 DPtoLP(hdc, &pt, 1); in GDIFontInstance()
167 SelectObject(hdc, fFon in GDIFontInstance()
204 HDC hdc = surface->getHDC(); GDIFontInstance() local
350 HDC hdc = fSurface->getHDC(); readFontTable() local
376 HDC hdc = fSurface->getHDC(); getGlyphAdvance() local
[all...]
H A Dlayout.cpp125 HDC hdc; in WndProc() local
138 hdc = GetDC(hwnd); in WndProc()
139 surface = new GDISurface(hdc); in WndProc()
145 ReleaseDC(hwnd, hdc); in WndProc()
158 ReleaseDC(hwnd, hdc); in WndProc()
239 hdc = BeginPaint(hwnd, &ps); in WndProc()
240 SetBkMode(hdc, TRANSPARENT); in WndProc()
251 surface->setHDC(hdc); in WndProc()
298 hdc = GetDC(hwnd); in WndProc()
299 surface->setHDC(hdc); in WndProc()
[all...]
H A Dclayout.c127 HDC hdc; in WndProc() local
140 hdc = GetDC(hwnd); in WndProc()
142 surface = rs_gdiRenderingSurfaceOpen(hdc); in WndProc()
148 ReleaseDC(hwnd, hdc); in WndProc()
161 ReleaseDC(hwnd, hdc); in WndProc()
242 hdc = BeginPaint(hwnd, &ps); in WndProc()
243 SetBkMode(hdc, TRANSPARENT); in WndProc()
254 rs_gdiRenderingSurfaceSetHDC(surface, hdc); in WndProc()
303 hdc = GetDC(hwnd); in WndProc()
304 rs_gdiRenderingSurfaceSetHDC(surface, hdc); in WndProc()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A DGDIFontInstance.cpp119 HDC hdc = surface->getHDC(); in GDIFontInstance() local
125 SaveDC(hdc); in GDIFontInstance()
127 SetGraphicsMode(hdc, GM_ADVANCED); in GDIFontInstance()
128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); in GDIFontInstance()
129 SetViewportOrgEx(hdc, 0, 0, NULL); in GDIFontInstance()
130 SetWindowOrgEx(hdc, 0, 0, NULL); in GDIFontInstance()
132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance()
133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance()
139 DPtoLP(hdc, &pt, 1); in GDIFontInstance()
167 SelectObject(hdc, fFon in GDIFontInstance()
204 HDC hdc = surface->getHDC(); GDIFontInstance() local
350 HDC hdc = fSurface->getHDC(); readFontTable() local
376 HDC hdc = fSurface->getHDC(); getGlyphAdvance() local
[all...]
H A Dclayout.c126 HDC hdc; in WndProc() local
139 hdc = GetDC(hwnd); in WndProc()
141 surface = rs_gdiRenderingSurfaceOpen(hdc); in WndProc()
147 ReleaseDC(hwnd, hdc); in WndProc()
160 ReleaseDC(hwnd, hdc); in WndProc()
241 hdc = BeginPaint(hwnd, &ps); in WndProc()
242 SetBkMode(hdc, TRANSPARENT); in WndProc()
253 rs_gdiRenderingSurfaceSetHDC(surface, hdc); in WndProc()
302 hdc = GetDC(hwnd); in WndProc()
303 rs_gdiRenderingSurfaceSetHDC(surface, hdc); in WndProc()
[all...]
H A Dlayout.cpp125 HDC hdc; in WndProc() local
138 hdc = GetDC(hwnd); in WndProc()
139 surface = new GDISurface(hdc); in WndProc()
145 ReleaseDC(hwnd, hdc); in WndProc()
158 ReleaseDC(hwnd, hdc); in WndProc()
239 hdc = BeginPaint(hwnd, &ps); in WndProc()
240 SetBkMode(hdc, TRANSPARENT); in WndProc()
251 surface->setHDC(hdc); in WndProc()
298 hdc = GetDC(hwnd); in WndProc()
299 surface->setHDC(hdc); in WndProc()
[all...]
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_framebuffer.c416 * Given an hdc, return the corresponding stw_framebuffer.
420 stw_framebuffer_from_hdc_locked(HDC hdc) in stw_framebuffer_from_hdc_locked() argument
424 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked()
438 stw_framebuffer_from_hdc(HDC hdc) in stw_framebuffer_from_hdc() argument
446 fb = stw_framebuffer_from_hdc_locked(hdc); in stw_framebuffer_from_hdc()
471 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) in DrvSetPixelFormat() argument
481 count = stw_pixelformat_get_count(hdc); in DrvSetPixelFormat()
485 fb = stw_framebuffer_from_hdc_locked(hdc); in DrvSetPixelFormat()
498 fb = stw_framebuffer_create(WindowFromDC(hdc), iPixelFormat, STW_FRAMEBUFFER_WGL_WINDOW); in DrvSetPixelFormat()
508 if (GetPixelFormat(hdc) in DrvSetPixelFormat()
520 stw_pixelformat_get(HDC hdc) stw_pixelformat_get() argument
536 DrvPresentBuffers(HDC hdc, LPPRESENTBUFFERS data) DrvPresentBuffers() argument
602 stw_framebuffer_present_locked(HDC hdc, struct stw_framebuffer *fb, struct pipe_resource *res) stw_framebuffer_present_locked() argument
682 stw_framebuffer_swap_locked(HDC hdc, struct stw_framebuffer *fb) stw_framebuffer_swap_locked() argument
715 DrvSwapBuffers(HDC hdc) DrvSwapBuffers() argument
731 DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes) DrvSwapLayerBuffers() argument
[all...]
H A Dstw_ext_pixelformat.c52 stw_query_attrib(HDC hdc, int iPixelFormat, int iLayerPlane, int attrib, int *pvalue) in stw_query_attrib() argument
57 count = stw_pixelformat_get_extended_count(hdc); in stw_query_attrib()
334 score_pixelformats(HDC hdc, in score_pixelformats() argument
361 if (!stw_query_attrib(hdc, index + 1, 0, attribute, &actual_value)) in score_pixelformats()
392 wglChoosePixelFormatARB(HDC hdc, const int *piAttribIList, in wglChoosePixelFormatARB() argument
407 count = stw_pixelformat_get_extended_count(hdc); in wglChoosePixelFormatARB()
421 if (!score_pixelformats(hdc, scores, count, piAttribIList[0], in wglChoosePixelFormatARB()
431 if (!score_pixelformats(hdc, scores, count, (int) pfAttribFList[0], in wglChoosePixelFormatARB()
482 wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, in wglGetPixelFormatAttribfvARB() argument
491 if (!stw_query_attrib(hdc, iPixelForma in wglGetPixelFormatAttribfvARB()
502 wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues) wglGetPixelFormatAttribivARB() argument
[all...]
H A Dstw_pixelformat.h62 stw_pixelformat_get_count( HDC hdc );
65 stw_pixelformat_get_extended_count( HDC hdc );
71 stw_pixelformat_choose( HDC hdc,
75 stw_pixelformat_get(HDC hdc);
H A Dstw_context.c120 DrvCreateContext(HDC hdc) in DrvCreateContext() argument
122 return DrvCreateLayerContext( hdc, 0 ); in DrvCreateContext()
127 DrvCreateLayerContext(HDC hdc, INT iLayerPlane) in DrvCreateLayerContext() argument
129 struct stw_context *ctx = stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0, in DrvCreateLayerContext()
149 get_matching_pixel_format(HDC hdc) in get_matching_pixel_format() argument
151 int iPixelFormat = GetPixelFormat(hdc); in get_matching_pixel_format()
156 if (!DescribePixelFormat(hdc, iPixelFormat, sizeof(pfd), &pfd)) in get_matching_pixel_format()
158 return stw_pixelformat_choose(hdc, &pfd); in get_matching_pixel_format()
167 stw_create_context_attribs(HDC hdc, INT iLayerPlane, struct stw_context *shareCtx, in stw_create_context_attribs() argument
191 fb = stw_framebuffer_from_hdc(hdc); in stw_create_context_attribs()
996 DrvSetContext(HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable) DrvSetContext() argument
[all...]
/third_party/mesa3d/src/glx/windows/
H A Dwindowsgl.c102 HDC hdc = GetDC(hwnd); in windows_create_context() local
106 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context()
108 gc->ctx = wglCreateContext(hdc); in windows_create_context()
113 ReleaseDC(hwnd, hdc); in windows_create_context()
163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs() local
170 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context_attribs()
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); in windows_create_context_attribs()
174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs()
317 HDC hdc = GetDC(hwnd); in windows_call_with_context() local
320 SetPixelFormat(hdc, in windows_call_with_context()
336 windows_check_render_test(HDC hdc, void *args) windows_check_render_test() argument
366 windows_extensions_test(HDC hdc, void *args) windows_extensions_test() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-gdi.cc47 HDC hdc = GetDC (nullptr); in _hb_gdi_reference_table() local
48 if (unlikely (!SelectObject (hdc, (HFONT) user_data))) goto fail; in _hb_gdi_reference_table()
50 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table()
55 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table()
57 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table()
64 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table()
/third_party/skia/third_party/externals/angle2/src/libGL/
H A Dentry_points_wgl.h25 int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd);
31 int GL_APIENTRY wglGetPixelFormat(HDC hdc);
33 BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
35 BOOL GL_APIENTRY wglSwapBuffers(HDC hdc);
/third_party/skia/gm/
H A Drasterhandleallocator.cpp168 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); variable
172 FillRect(hdc, &rounded, CreateSolidBrush(cr));
206 HDC hdc = CreateCompatibleDC(nullptr); in Create() local
207 if (!hdc) { in Create()
211 SetGraphicsMode(hdc, GM_ADVANCED); in Create()
212 HGDIOBJ origBitmap = SelectObject(hdc, hbitmap); in Create()
215 HDC hdc; in Create() member
220 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(ctx->hdc, ctx->hbitmap)); in Create()
222 DeleteDC(ctx->hdc); in Create()
225 rec->fReleaseCtx = new ReleaseContext{hdc, origBitma in Create()
245 HDC hdc = static_cast<HDC>(handle); global() variable
[all...]
/third_party/openGLES/api/GL/
H A Dwgl.h70 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd);
72 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc);
73 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
74 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc);
82 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr);
85 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize);
86 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr);
88 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags);
97 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd);
99 int WINAPI GetPixelFormat (HDC hdc);
[all...]
H A Dwglext.h97 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
99 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
202 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
203 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
204 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
206 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
207 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
208 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
472 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
473 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, in
[all...]
/third_party/skia/third_party/externals/opengl-registry/api/GL/
H A Dwgl.h89 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd);
91 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc);
92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
93 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc);
101 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr);
104 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize);
105 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr);
107 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags);
116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd);
118 int WINAPI GetPixelFormat (HDC hdc);
[all...]
H A Dwglext.h116 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
118 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
223 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
227 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
486 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
487 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, in
[all...]
/third_party/skia/third_party/externals/angle2/include/WGL/
H A Dwgl.h89 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd);
91 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc);
92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
93 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc);
101 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr);
104 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize);
105 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr);
107 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags);
116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd);
118 int WINAPI GetPixelFormat (HDC hdc);
[all...]
/third_party/skia/src/ports/
H A DSkFontHost_win.cpp154 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { in calculateGlyphCount() argument
156 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateGlyphCount()
159 GetTextMetrics(hdc, &textMetric); in calculateGlyphCount()
168 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) { in calculateGlyphCount()
179 if (GetGlyphOutlineW(hdc, mid, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, in calculateGlyphCount()
190 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { in calculateUPEM() argument
192 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateUPEM()
195 GetTextMetrics(hdc, &textMetric); in calculateUPEM()
203 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM()
206 otmRet = GetOutlineTextMetrics(hdc, sizeo in calculateUPEM()
[all...]
/third_party/mesa3d/include/GL/
H A Dwglext.h116 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
118 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
223 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
227 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
491 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
492 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, in
[all...]
/third_party/skia/third_party/externals/swiftshader/include/GL/
H A Dwglext.h116 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
118 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
223 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
227 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
486 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
487 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, in
[all...]

Completed in 23 milliseconds

123