/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_wgl.c | 67 HDC hdc ) in wglCreateContext() argument 70 return (HGLRC) DrvCreateContext(hdc); in wglCreateContext() 75 HDC hdc, in wglCreateLayerContext() argument 79 return (HGLRC) DrvCreateLayerContext( hdc, iLayerPlane ); in wglCreateLayerContext() 104 HDC hdc, in wglMakeCurrent() argument 107 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; in wglMakeCurrent() 113 HDC hdc ) in wglSwapBuffers() argument 115 return DrvSwapBuffers( hdc ); in wglSwapBuffers() 126 wglSwapBuffers(ps->hdc); in wglSwapMultipleBuffers() 134 HDC hdc, in wglSwapLayerBuffers() argument [all …]
|
D | stw_framebuffer.c | 251 stw_framebuffer_create(HDC hdc, int iPixelFormat) in stw_framebuffer_create() argument 258 hWnd = WindowFromDC( hdc ); in stw_framebuffer_create() 371 stw_framebuffer_from_hdc_locked(HDC hdc) in stw_framebuffer_from_hdc_locked() argument 375 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked() 389 stw_framebuffer_from_hdc(HDC hdc) in stw_framebuffer_from_hdc() argument 397 fb = stw_framebuffer_from_hdc_locked(hdc); in stw_framebuffer_from_hdc() 422 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) in DrvSetPixelFormat() argument 436 fb = stw_framebuffer_from_hdc_locked(hdc); in DrvSetPixelFormat() 449 fb = stw_framebuffer_create(hdc, iPixelFormat); in DrvSetPixelFormat() 459 if (GetPixelFormat(hdc) == 0) { in DrvSetPixelFormat() [all …]
|
D | stw_wgl.h | 42 wglSwapBuffers(HDC hdc); 45 wglChoosePixelFormat(HDC hdc, 49 wglDescribePixelFormat(HDC hdc, 55 wglGetPixelFormat(HDC hdc); 58 wglSetPixelFormat(HDC hdc, 66 HDC hdc; member
|
D | stw_context.c | 117 DrvCreateContext(HDC hdc) in DrvCreateContext() argument 119 return DrvCreateLayerContext( hdc, 0 ); in DrvCreateContext() 124 DrvCreateLayerContext(HDC hdc, INT iLayerPlane) in DrvCreateLayerContext() argument 126 return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0, in DrvCreateLayerContext() 140 stw_create_context_attribs(HDC hdc, INT iLayerPlane, DHGLRC hShareContext, in stw_create_context_attribs() argument 165 fb = stw_framebuffer_from_hdc( hdc ); in stw_create_context_attribs() 185 ctx->hdc = hdc; in stw_create_context_attribs() 384 return ctx->hdc; in stw_get_current_dc() 389 stw_make_current(HDC hdc, DHGLRC dhglrc) in stw_make_current() argument 401 if (old_ctx->hdc == hdc) { in stw_make_current() [all …]
|
D | stw_context.h | 42 HDC hdc; member 49 DHGLRC stw_create_context_attribs(HDC hdc, INT iLayerPlane, 61 BOOL stw_make_current( HDC hdc, DHGLRC dhglrc );
|
D | stw_pixelformat.c | 343 HDC hdc, in DrvDescribePixelFormat() argument 351 (void) hdc; in DrvDescribePixelFormat() 375 HDC hdc, in DrvDescribeLayerPlane() argument 387 HDC hdc, in DrvGetLayerPaletteEntries() argument 399 HDC hdc, in DrvSetLayerPaletteEntries() argument 411 HDC hdc, in DrvRealizeLayerPalette() argument 422 int stw_pixelformat_choose( HDC hdc, in stw_pixelformat_choose() argument 430 (void) hdc; in stw_pixelformat_choose()
|
D | stw_framebuffer.h | 133 stw_framebuffer_create(HDC hdc, int iPixelFormat); 170 stw_framebuffer_from_hdc(HDC hdc); 173 stw_framebuffer_present_locked(HDC hdc,
|
D | stw_icd.h | 486 BOOL (APIENTRY *wglCbPresentBuffers)(HDC hdc, PGLCBPRESENTBUFFERSDATA data); 525 HDC hdc, 530 HDC hdc ); 538 HDC hdc, 546 HDC hdc, 553 HDC hdc, 564 DrvPresentBuffers(HDC hdc, PGLPRESENTBUFFERSDATA data); 568 HDC hdc, 583 HDC hdc, 589 HDC hdc, [all …]
|
D | stw_ext_extensionsstring.c | 53 HDC hdc ) in wglGetExtensionsStringARB() argument 55 if (!hdc) { in wglGetExtensionsStringARB()
|
/external/icu/icu4c/source/samples/layout/ |
D | GDIFontInstance.cpp | 119 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, fFont); in GDIFontInstance() [all …]
|
D | layout.cpp | 125 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()
|
D | clayout.c | 126 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()
|
D | gdiglue.cpp | 40 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc) in rs_gdiRenderingSurfaceOpen() argument 42 return (rs_surface *) new GDISurface(hdc); in rs_gdiRenderingSurfaceOpen() 45 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) in rs_gdiRenderingSurfaceSetHDC() argument 49 rs->setHDC(hdc); in rs_gdiRenderingSurfaceSetHDC()
|
/external/mesa3d/src/glx/windows/ |
D | windowsgl.c | 102 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, 1, NULL); in windows_call_with_context() [all …]
|
/external/skqp/samplecode/ |
D | SampleBigGradient.cpp | 164 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); in drawRect() local 168 FillRect(hdc, &rounded, CreateSolidBrush(cr)); in drawRect() 178 HDC hdc = static_cast<HDC>(context); in DeleteHDCCallback() local 179 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(hdc, nullptr)); in DeleteHDCCallback() 181 DeleteDC(hdc); in DeleteHDCCallback() 209 HDC hdc = CreateCompatibleDC(nullptr); in Create() local 210 if (!hdc) { in Create() 214 SetGraphicsMode(hdc, GM_ADVANCED); in Create() 215 SelectObject(hdc, hbitmap); in Create() 218 rec->fReleaseCtx = hdc; in Create() [all …]
|
/external/skia/samplecode/ |
D | SampleBigGradient.cpp | 164 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); in drawRect() local 168 FillRect(hdc, &rounded, CreateSolidBrush(cr)); in drawRect() 178 HDC hdc = static_cast<HDC>(context); in DeleteHDCCallback() local 179 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(hdc, nullptr)); in DeleteHDCCallback() 181 DeleteDC(hdc); in DeleteHDCCallback() 209 HDC hdc = CreateCompatibleDC(nullptr); in Create() local 210 if (!hdc) { in Create() 214 SetGraphicsMode(hdc, GM_ADVANCED); in Create() 215 SelectObject(hdc, hbitmap); in Create() 218 rec->fReleaseCtx = hdc; in Create() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 151 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { in calculateGlyphCount() argument 153 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateGlyphCount() 156 GetTextMetrics(hdc, &textMetric); in calculateGlyphCount() 165 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) { in calculateGlyphCount() 176 if (GetGlyphOutlineW(hdc, mid, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, in calculateGlyphCount() 187 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { in calculateUPEM() argument 189 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateUPEM() 192 GetTextMetrics(hdc, &textMetric); in calculateUPEM() 200 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() 203 otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() [all …]
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 151 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { in calculateGlyphCount() argument 153 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateGlyphCount() 156 GetTextMetrics(hdc, &textMetric); in calculateGlyphCount() 165 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) { in calculateGlyphCount() 176 if (GetGlyphOutlineW(hdc, mid, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, in calculateGlyphCount() 187 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { in calculateUPEM() argument 189 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateUPEM() 192 GetTextMetrics(hdc, &textMetric); in calculateUPEM() 200 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() 203 otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() [all …]
|
/external/mesa3d/include/GL/ |
D | wglext.h | 113 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); 115 const char *WINAPI wglGetExtensionsStringARB (HDC hdc); 218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP… 219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP… 220 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FL… 222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu… 223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu… 224 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList,… 476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP… 477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP… [all …]
|
/external/swiftshader/include/GL/ |
D | wglext.h | 116 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); 118 const char *WINAPI wglGetExtensionsStringARB (HDC hdc); 221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP… 222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP… 223 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FL… 225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu… 226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu… 227 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList,… 486 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP… 487 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP… [all …]
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
D | main_wnd.cc | 240 HDC dc_mem = ::CreateCompatibleDC(ps.hdc); in OnPaint() 244 HDC all_dc[] = { ps.hdc, dc_mem }; in OnPaint() 251 HBITMAP bmp_mem = ::CreateCompatibleBitmap(ps.hdc, rc.right, rc.bottom); in OnPaint() 255 DPtoLP(ps.hdc, &logical_area, 1); in OnPaint() 281 BitBlt(ps.hdc, 0, 0, logical_area.x, logical_area.y, in OnPaint() 291 ::FillRect(ps.hdc, &rc, brush); in OnPaint() 294 HGDIOBJ old_font = ::SelectObject(ps.hdc, GetDefaultFont()); in OnPaint() 295 ::SetTextColor(ps.hdc, RGB(0xff, 0xff, 0xff)); in OnPaint() 296 ::SetBkMode(ps.hdc, TRANSPARENT); in OnPaint() 304 ::DrawTextA(ps.hdc, text.c_str(), -1, &rc, in OnPaint() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-uniscribe.cc | 61 HDC hdc, 80 HDC hdc, 128 HDC hdc, in hb_ScriptShapeOpenType() argument 147 return ScriptShape (hdc, in hb_ScriptShapeOpenType() 161 HDC hdc, in hb_ScriptPlaceOpenType() argument 182 return ScriptPlace (hdc, in hb_ScriptPlaceOpenType() 486 HDC hdc; member 529 data->hdc = GetDC (nullptr); in _hb_uniscribe_shaper_font_data_create() 544 if (!SelectObject (data->hdc, data->hfont)) { in _hb_uniscribe_shaper_font_data_create() 556 if (data->hdc) in _hb_uniscribe_shaper_font_data_destroy() [all …]
|
/external/skqp/src/utils/win/ |
D | SkWGL_win.cpp | 42 const char* SkWGLExtensions::getExtensionsString(HDC hdc) const { in getExtensionsString() 43 return fGetExtensionsString(hdc); in getExtensionsString() 46 BOOL SkWGLExtensions::choosePixelFormat(HDC hdc, in choosePixelFormat() argument 52 return fChoosePixelFormat(hdc, piAttribIList, pfAttribFList, in choosePixelFormat() 56 BOOL SkWGLExtensions::getPixelFormatAttribiv(HDC hdc, in getPixelFormatAttribiv() argument 62 return fGetPixelFormatAttribiv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribiv() 66 BOOL SkWGLExtensions::getPixelFormatAttribfv(HDC hdc, in getPixelFormatAttribfv() argument 72 return fGetPixelFormatAttribfv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribfv()
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 42 const char* SkWGLExtensions::getExtensionsString(HDC hdc) const { in getExtensionsString() 43 return fGetExtensionsString(hdc); in getExtensionsString() 46 BOOL SkWGLExtensions::choosePixelFormat(HDC hdc, in choosePixelFormat() argument 52 return fChoosePixelFormat(hdc, piAttribIList, pfAttribFList, in choosePixelFormat() 56 BOOL SkWGLExtensions::getPixelFormatAttribiv(HDC hdc, in getPixelFormatAttribiv() argument 62 return fGetPixelFormatAttribiv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribiv() 66 BOOL SkWGLExtensions::getPixelFormatAttribfv(HDC hdc, in getPixelFormatAttribfv() argument 72 return fGetPixelFormatAttribfv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribfv()
|
/external/swiftshader/src/Main/ |
D | FrameBufferDD.cpp | 454 HDC hdc; in drawText() local 456 backBuffer->GetDC(&hdc); in drawText() 458 SetBkColor(hdc, RGB(0, 0, 255)); in drawText() 459 SetTextColor(hdc, RGB(255, 255, 255)); in drawText() 461 TextOut(hdc, x, y, buffer, lstrlen(buffer)); in drawText() 463 backBuffer->ReleaseDC(hdc); in drawText()
|