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

12

/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_wgl.h42 wglSwapBuffers(HDC hdc);
45 wglChoosePixelFormat(HDC hdc,
49 wglDescribePixelFormat(HDC hdc,
55 wglGetPixelFormat(HDC hdc);
58 wglSetPixelFormat(HDC hdc,
66 HDC hdc; member in struct:_WGLSWAP
H A Dstw_wgl.c67 HDC hdc )
70 return (HGLRC) DrvCreateContext(hdc);
75 HDC hdc,
79 return (HGLRC) DrvCreateLayerContext( hdc, iLayerPlane );
104 HDC hdc,
107 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE;
113 HDC hdc )
115 return DrvSwapBuffers( hdc );
126 wglSwapBuffers(ps->hdc);
134 HDC hdc,
74 wglCreateLayerContext( HDC hdc, int iLayerPlane ) argument
103 wglMakeCurrent( HDC hdc, HGLRC hglrc ) argument
133 wglSwapLayerBuffers( HDC hdc, UINT fuPlanes ) argument
149 wglChoosePixelFormat( HDC hdc, CONST PIXELFORMATDESCRIPTOR *ppfd ) argument
172 wglDescribePixelFormat( HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd ) argument
189 wglSetPixelFormat( HDC hdc, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd ) argument
204 wglUseFontBitmapsA( HDC hdc, DWORD first, DWORD count, DWORD listBase ) argument
230 wglUseFontBitmapsW( HDC hdc, DWORD first, DWORD count, DWORD listBase ) argument
247 wglUseFontOutlinesA( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) argument
272 wglUseFontOutlinesW( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) argument
297 wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
308 wglSetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr ) argument
319 wglGetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr ) argument
330 wglRealizeLayerPalette( HDC hdc, int iLayerPlane, BOOL bRealize ) argument
[all...]
H A Dstw_ext_extensionsstring.c53 HDC hdc )
55 if (!hdc) {
H A Dstw_context.h42 HDC hdc; member in struct:stw_context
49 DHGLRC stw_create_context_attribs(HDC hdc, INT iLayerPlane,
61 BOOL stw_make_current( HDC hdc, DHGLRC dhglrc );
H A Dstw_ext_context.h31 typedef HGLRC (WINAPI *wglCreateContext_t)(HDC hdc);
H A Dstw_pixelformat.h65 stw_pixelformat_choose( HDC hdc,
69 stw_pixelformat_get(HDC hdc);
H A Dstw_st.h50 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
H A Dstw_framebuffer.c251 stw_framebuffer_create(HDC hdc, int iPixelFormat) argument
258 hWnd = WindowFromDC( hdc );
367 * Given an hdc, return the corresponding stw_framebuffer.
371 stw_framebuffer_from_hdc_locked(HDC hdc) argument
375 hwnd = WindowFromDC(hdc);
389 stw_framebuffer_from_hdc(HDC hdc) argument
397 fb = stw_framebuffer_from_hdc_locked(hdc);
422 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) argument
436 fb = stw_framebuffer_from_hdc_locked(hdc);
449 fb = stw_framebuffer_create(hdc, iPixelForma
471 stw_pixelformat_get(HDC hdc) argument
487 DrvPresentBuffers(HDC hdc, PGLPRESENTBUFFERSDATA data) argument
549 stw_framebuffer_present_locked(HDC hdc, struct stw_framebuffer *fb, struct pipe_resource *res) argument
584 DrvSwapBuffers(HDC hdc) argument
623 DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes) argument
[all...]
H A Dstw_framebuffer.h133 stw_framebuffer_create(HDC hdc, int iPixelFormat);
170 stw_framebuffer_from_hdc(HDC hdc);
173 stw_framebuffer_present_locked(HDC hdc,
H A Dstw_context.c117 DrvCreateContext(HDC hdc) argument
119 return DrvCreateLayerContext( hdc, 0 );
124 DrvCreateLayerContext(HDC hdc, INT iLayerPlane) argument
126 return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0,
140 stw_create_context_attribs(HDC hdc, INT iLayerPlane, DHGLRC hShareContext, argument
165 fb = stw_framebuffer_from_hdc( hdc );
185 ctx->hdc = hdc;
384 return ctx->hdc;
389 stw_make_current(HDC hdc, DHGLR argument
857 DrvSetContext(HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable) argument
[all...]
H A Dstw_pixelformat.c343 HDC hdc,
351 (void) hdc;
375 HDC hdc,
387 HDC hdc,
399 HDC hdc,
411 HDC hdc,
422 int stw_pixelformat_choose( HDC hdc, argument
430 (void) hdc;
342 DrvDescribePixelFormat( HDC hdc, INT iPixelFormat, ULONG cjpfd, PIXELFORMATDESCRIPTOR *ppfd ) argument
374 DrvDescribeLayerPlane( HDC hdc, INT iPixelFormat, INT iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
386 DrvGetLayerPaletteEntries( HDC hdc, INT iLayerPlane, INT iStart, INT cEntries, COLORREF *pcr ) argument
398 DrvSetLayerPaletteEntries( HDC hdc, INT iLayerPlane, INT iStart, INT cEntries, CONST COLORREF *pcr ) argument
410 DrvRealizeLayerPalette( HDC hdc, INT iLayerPlane, BOOL bRealize ) argument
/external/libchrome/base/win/
H A Dscoped_select_object.h19 ScopedSelectObject(HDC hdc, HGDIOBJ object) argument
20 : hdc_(hdc),
21 oldobj_(SelectObject(hdc, object)) {
/external/icu/icu4c/source/samples/layout/
H A Dgdiglue.h29 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
30 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
H A DGDIFontInstance.cpp119 HDC hdc = surface->getHDC(); local
125 SaveDC(hdc);
127 SetGraphicsMode(hdc, GM_ADVANCED);
128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY);
129 SetViewportOrgEx(hdc, 0, 0, NULL);
130 SetWindowOrgEx(hdc, 0, 0, NULL);
132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX);
133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY);
139 DPtoLP(hdc, &pt, 1);
167 SelectObject(hdc, fFon
204 HDC hdc = surface->getHDC(); local
350 HDC hdc = fSurface->getHDC(); local
376 HDC hdc = fSurface->getHDC(); local
[all...]
H A Dgdiglue.cpp40 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc) argument
42 return (rs_surface *) new GDISurface(hdc);
45 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) argument
49 rs->setHDC(hdc);
H A Dclayout.c126 HDC hdc; local
139 hdc = GetDC(hwnd);
141 surface = rs_gdiRenderingSurfaceOpen(hdc);
147 ReleaseDC(hwnd, hdc);
160 ReleaseDC(hwnd, hdc);
241 hdc = BeginPaint(hwnd, &ps);
242 SetBkMode(hdc, TRANSPARENT);
253 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
302 hdc = GetDC(hwnd);
303 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
[all...]
H A Dlayout.cpp125 HDC hdc; local
138 hdc = GetDC(hwnd);
139 surface = new GDISurface(hdc);
145 ReleaseDC(hwnd, hdc);
158 ReleaseDC(hwnd, hdc);
239 hdc = BeginPaint(hwnd, &ps);
240 SetBkMode(hdc, TRANSPARENT);
251 surface->setHDC(hdc);
298 hdc = GetDC(hwnd);
299 surface->setHDC(hdc);
[all...]
/external/mesa3d/src/glx/windows/
H A Dwindowsgl.c102 HDC hdc = GetDC(hwnd); local
106 SetPixelFormat(hdc, gc->pxfi, NULL);
108 gc->ctx = wglCreateContext(hdc);
113 ReleaseDC(hwnd, hdc);
163 HDC hdc = GetDC(hwnd); local
170 SetPixelFormat(hdc, gc->pxfi, NULL);
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList);
174 ReleaseDC(hwnd, hdc);
317 HDC hdc = GetDC(hwnd); local
320 SetPixelFormat(hdc,
336 windows_check_render_test(HDC hdc, void *args) argument
366 windows_extensions_test(HDC hdc, void *args) argument
[all...]
/external/skia/samplecode/
H A DSampleBigGradient.cpp164 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); variable
167 FillRect(hdc, &toRECT(r.round()), CreateSolidBrush(cr));
177 HDC hdc = static_cast<HDC>(context); local
178 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(hdc, nullptr));
180 DeleteDC(hdc);
207 HDC hdc = CreateCompatibleDC(nullptr); local
208 if (!hdc) {
212 SetGraphicsMode(hdc, GM_ADVANCED);
213 SelectObject(hdc, hbitmap);
216 rec->fReleaseCtx = hdc;
236 HDC hdc = static_cast<HDC>(handle); variable
[all...]
/external/webrtc/webrtc/modules/desktop_capture/
H A Ddesktop_frame_win.h29 HDC hdc);
H A Ddesktop_frame_win.cc34 HDC hdc) {
50 HBITMAP bitmap = CreateDIBSection(hdc, &bmi, DIB_RGB_COLORS, &data,
32 Create(DesktopSize size, SharedMemory* shared_memory, HDC hdc) argument
/external/skia/src/utils/win/
H A DSkWGL.h66 const char* getExtensionsString(HDC hdc) const;
67 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const;
69 BOOL getPixelFormatAttribfv(HDC hdc, int, int, UINT, const int*, FLOAT*) const;
/external/webrtc/webrtc/base/
H A Dwin32windowpicker.cc110 HDC hdc = GetDC(NULL); local
112 if (EnumDisplayMonitors(hdc, NULL, Win32WindowPicker::MonitorEnumProc,
119 ReleaseDC(NULL, hdc);
/external/skia/src/ports/
H A DSkFontHost_win.cpp149 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { argument
151 if (0 == GetTextMetrics(hdc, &textMetric)) {
154 GetTextMetrics(hdc, &textMetric);
163 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
174 if (GetGlyphOutlineW(hdc, mid, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0,
185 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { argument
187 if (0 == GetTextMetrics(hdc, &textMetric)) {
190 GetTextMetrics(hdc, &textMetric);
198 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm);
201 otmRet = GetOutlineTextMetrics(hdc, sizeo
1731 HDC hdc = CreateCompatibleDC(nullptr); local
[all...]
/external/mesa3d/include/GL/
H A Dwglext.h113 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
115 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
220 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
224 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, in
[all...]

Completed in 1561 milliseconds

12