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

12

/external/strace/qemu_multiarch_testing/
H A Dmake-hdc-img.sh4 [ ! -e hdc.img.dir ]
9 if mountpoint -q hdc.img.dir; then
10 umount -d hdc.img.dir
12 mountpoint -q hdc.img.dir ||
13 rm -rf hdc.img.dir
20 size=$(du -ks hdc.dir | sed -rn 's/^([0-9]+).*/\1/p')
23 rm -f hdc.img
24 dd if=/dev/zero of=hdc.img count=1 bs=1024 seek=$(($size*2))
25 mkfs.ext3 -q -F -b 1024 -i 4096 hdc.img
26 tune2fs -c 0 -i 0 hdc
[all...]
H A Dparallel-build-hdc-img.sh10 nice -n10 time ./native-build.sh ../hdc.img
/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...]
/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.h26 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
H A DGDIFontInstance.cpp113 HDC hdc = surface->getHDC(); local
119 SaveDC(hdc);
121 SetGraphicsMode(hdc, GM_ADVANCED);
122 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY);
123 SetViewportOrgEx(hdc, 0, 0, NULL);
124 SetWindowOrgEx(hdc, 0, 0, NULL);
126 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX);
127 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY);
133 DPtoLP(hdc, &pt, 1);
161 SelectObject(hdc, fFon
198 HDC hdc = surface->getHDC(); local
344 HDC hdc = fSurface->getHDC(); local
370 HDC hdc = fSurface->getHDC(); local
[all...]
H A Dgdiglue.cpp37 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc) argument
39 return (rs_surface *) new GDISurface(hdc);
42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) argument
46 rs->setHDC(hdc);
H A Dclayout.c120 HDC hdc; local
133 hdc = GetDC(hwnd);
135 surface = rs_gdiRenderingSurfaceOpen(hdc);
141 ReleaseDC(hwnd, hdc);
154 ReleaseDC(hwnd, hdc);
235 hdc = BeginPaint(hwnd, &ps);
236 SetBkMode(hdc, TRANSPARENT);
247 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
296 hdc = GetDC(hwnd);
297 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
[all...]
H A Dlayout.cpp119 HDC hdc; local
132 hdc = GetDC(hwnd);
133 surface = new GDISurface(hdc);
139 ReleaseDC(hwnd, hdc);
152 ReleaseDC(hwnd, hdc);
233 hdc = BeginPaint(hwnd, &ps);
234 SetBkMode(hdc, TRANSPARENT);
245 surface->setHDC(hdc);
292 hdc = GetDC(hwnd);
293 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/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.h72 const char* getExtensionsString(HDC hdc) const;
73 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const;
75 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
1716 getWidthAdvance(HDC hdc, int gId, int16_t* advance) argument
1737 HDC hdc = CreateCompatibleDC(nullptr); local
[all...]

Completed in 500 milliseconds

12