Searched refs:hdc (Results 1 - 25 of 47) 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.c63 HDC hdc )
65 return (HGLRC) DrvCreateContext(hdc);
70 HDC hdc,
73 return (HGLRC) DrvCreateLayerContext( hdc, iLayerPlane );
98 HDC hdc,
101 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE;
107 HDC hdc )
109 return DrvSwapBuffers( hdc );
120 wglSwapBuffers(ps->hdc);
128 HDC hdc,
69 wglCreateLayerContext( HDC hdc, int iLayerPlane ) argument
97 wglMakeCurrent( HDC hdc, HGLRC hglrc ) argument
127 wglSwapLayerBuffers( HDC hdc, UINT fuPlanes ) argument
143 wglChoosePixelFormat( HDC hdc, CONST PIXELFORMATDESCRIPTOR *ppfd ) argument
166 wglDescribePixelFormat( HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd ) argument
183 wglSetPixelFormat( HDC hdc, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd ) argument
198 wglUseFontBitmapsA( HDC hdc, DWORD first, DWORD count, DWORD listBase ) argument
224 wglUseFontBitmapsW( HDC hdc, DWORD first, DWORD count, DWORD listBase ) argument
241 wglUseFontOutlinesA( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) argument
266 wglUseFontOutlinesW( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) argument
291 wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
302 wglSetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr ) argument
313 wglGetLayerPaletteEntries( HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr ) argument
324 wglRealizeLayerPalette( HDC hdc, int iLayerPlane, BOOL bRealize ) argument
[all...]
H A Dstw_ext_extensionsstring.c48 HDC hdc )
50 if (!hdc) {
H A Dstw_pixelformat.h61 stw_pixelformat_choose( HDC hdc,
65 stw_pixelformat_get(HDC hdc);
H A Dstw_context.h41 HDC hdc; member in struct:stw_context
46 DHGLRC stw_create_context_attribs( HDC hdc, INT iLayerPlane, DHGLRC hShareContext,
53 BOOL stw_make_current( HDC hdc, DHGLRC dhglrc );
H A Dstw_st.h47 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
H A Dstw_framebuffer.h119 HDC hdc,
145 HDC hdc );
148 stw_framebuffer_present_locked(HDC hdc,
H A Dstw_framebuffer.c241 HDC hdc,
249 hWnd = WindowFromDC( hdc );
257 /* Applications use, create, destroy device contexts, so the hdc passed is. We create our own DC
387 * Given an hdc, return the corresponding stw_framebuffer.
391 HDC hdc )
395 hwnd = WindowFromDC(hdc);
405 * Given an hdc, return the corresponding stw_framebuffer.
409 HDC hdc )
417 fb = stw_framebuffer_from_hdc_locked(hdc);
425 * Given an hdc, retur
240 stw_framebuffer_create( HDC hdc, int iPixelFormat ) argument
442 DrvSetPixelFormat( HDC hdc, LONG iPixelFormat ) argument
508 DrvPresentBuffers(HDC hdc, PGLPRESENTBUFFERSDATA data) argument
565 stw_framebuffer_present_locked(HDC hdc, struct stw_framebuffer *fb, struct pipe_resource *res) argument
624 DrvSwapLayerBuffers( HDC hdc, UINT fuPlanes ) argument
[all...]
H A Dstw_context.c119 HDC hdc )
121 return DrvCreateLayerContext( hdc, 0 );
126 HDC hdc,
129 return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0,
135 HDC hdc,
155 iPixelFormat = GetPixelFormat(hdc);
165 fb = stw_framebuffer_from_hdc( hdc );
184 ctx->hdc = hdc;
318 return ctx->hdc;
125 DrvCreateLayerContext( HDC hdc, INT iLayerPlane ) argument
134 stw_create_context_attribs( HDC hdc, INT iLayerPlane, DHGLRC hShareContext, int majorVersion, int minorVersion, int contextFlags, int profileMask) argument
322 stw_make_current( HDC hdc, DHGLRC dhglrc ) argument
777 DrvSetContext( HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable ) argument
[all...]
H A Dstw_pixelformat.c317 HDC hdc,
325 (void) hdc;
349 HDC hdc,
361 HDC hdc,
373 HDC hdc,
385 HDC hdc,
396 int stw_pixelformat_choose( HDC hdc, argument
404 (void) hdc;
316 DrvDescribePixelFormat( HDC hdc, INT iPixelFormat, ULONG cjpfd, PIXELFORMATDESCRIPTOR *ppfd ) argument
348 DrvDescribeLayerPlane( HDC hdc, INT iPixelFormat, INT iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ) argument
360 DrvGetLayerPaletteEntries( HDC hdc, INT iLayerPlane, INT iStart, INT cEntries, COLORREF *pcr ) argument
372 DrvSetLayerPaletteEntries( HDC hdc, INT iLayerPlane, INT iStart, INT cEntries, CONST COLORREF *pcr ) argument
384 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/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c157 WINGDIAPI HGLRC GLAPIENTRY wglCreateContext(HDC hdc) argument
168 WMesaCreateContext(hdc, NULL, (GLboolean)GL_TRUE,
212 WINGDIAPI BOOL GLAPIENTRY wglMakeCurrent(HDC hdc, HGLRC hglrc) argument
216 CurrentHDC = hdc;
218 if (!hdc || !hglrc) {
226 WMesaMakeCurrent( (WMesaContext) hglrc, hdc );
235 WINGDIAPI int GLAPIENTRY wglChoosePixelFormat(HDC hdc, argument
240 (void) hdc;
296 WINGDIAPI int GLAPIENTRY wglDescribePixelFormat(HDC hdc, argument
301 (void) hdc;
325 wglGetPixelFormat(HDC hdc) argument
335 wglSetPixelFormat(HDC hdc,int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd) argument
353 wglSwapBuffers(HDC hdc) argument
474 wglUseFontBitmapsA(HDC hdc, DWORD first, DWORD count, DWORD listBase) argument
583 wglCreateLayerContext(HDC hdc, int iLayerPlane) argument
593 wglUseFontBitmapsW(HDC hdc, DWORD first, DWORD count, DWORD listBase) argument
602 wglUseFontOutlinesA(HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf) argument
618 wglUseFontOutlinesW(HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf) argument
634 wglDescribeLayerPlane(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd) argument
646 wglSetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr) argument
658 wglGetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr) argument
669 wglRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize) argument
678 wglSwapLayerBuffers(HDC hdc, UINT fuPlanes) argument
686 wglGetExtensionsStringARB(HDC hdc) argument
[all...]
/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/gallium/state_trackers/d3d1x/winedlls/dxgi/
H A Ddxgi_dll.c72 HDC hdc; local
84 hdc = GetDC(hwnd);
85 GetDCOrgEx(hdc, &hwnd_origin_from_screen);
87 GetRandomRgn(hdc, hrgn, SYSRGN);
95 ReleaseDC(hwnd, hdc);
110 hdc = GetDC(x11_hwnd);
111 ExtEscape(hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, sizeof(drawable), (LPTSTR)&drawable);
113 GetDCOrgEx(hdc, &x11_hwnd_origin_from_screen);
114 ReleaseDC(x11_hwnd, hdc);
147 HDC hdc; local
235 HDC hdc; local
[all...]
/external/mesa3d/include/GL/
H A Dwmesa.h110 extern void WMesaMakeCurrent( WMesaContext ctx, HDC hdc );
123 extern void WMesaSwapBuffers(HDC hdc);
/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
1735 HDC hdc = CreateCompatibleDC(nullptr); local
[all...]

Completed in 368 milliseconds

12