/external/chromium_org/printing/ |
H A D | print_settings_initializer_win.cc | 15 HDC hdc, 18 DCHECK(hdc); 22 int dpi = GetDeviceCaps(hdc, LOGPIXELSX); 26 (GetDeviceCaps(hdc, SHADEBLENDCAPS) & kAlphaCaps) == kAlphaCaps); 31 DCHECK_EQ(dpi, GetDeviceCaps(hdc, LOGPIXELSY)); 33 DCHECK_EQ(GetDeviceCaps(hdc, SCALINGFACTORX), 0); 34 DCHECK_EQ(GetDeviceCaps(hdc, SCALINGFACTORY), 0); 37 gfx::Size physical_size_device_units(GetDeviceCaps(hdc, PHYSICALWIDTH), 38 GetDeviceCaps(hdc, PHYSICALHEIGHT)); 39 gfx::Rect printable_area_device_units(GetDeviceCaps(hdc, PHYSICALOFFSET 14 InitPrintSettings( HDC hdc, const DEVMODE& dev_mode, PrintSettings* print_settings) argument [all...] |
H A D | image_win.cc | 57 base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); 71 ::CreateDIBSection(hdc, reinterpret_cast<BITMAPINFO*>(&hdr), 0, 74 base::win::ScopedSelectObject select_object(hdc, bitmap); 76 skia::InitializeDC(hdc); 78 bool success = metafile.Playback(hdc, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
H A 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 in struct:_WGLSWAP
|
H A D | stw_wgl.c | 63 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 D | stw_ext_extensionsstring.c | 48 HDC hdc ) 50 if (!hdc) {
|
H A D | stw_pixelformat.h | 61 stw_pixelformat_choose( HDC hdc, 65 stw_pixelformat_get(HDC hdc);
|
H A D | stw_context.h | 41 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 D | stw_st.h | 47 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
|
H A D | stw_framebuffer.h | 119 HDC hdc, 145 HDC hdc ); 148 stw_framebuffer_present_locked(HDC hdc,
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
H A 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 in struct:_WGLSWAP
|
H A D | stw_wgl.c | 63 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 D | stw_ext_extensionsstring.c | 48 HDC hdc ) 50 if (!hdc) {
|
H A D | stw_pixelformat.h | 61 stw_pixelformat_choose( HDC hdc, 65 stw_pixelformat_get(HDC hdc);
|
H A D | stw_context.h | 41 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 D | stw_st.h | 47 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
|
H A D | stw_framebuffer.h | 119 HDC hdc, 145 HDC hdc ); 148 stw_framebuffer_present_locked(HDC hdc,
|
/external/chromium_org/ui/gfx/win/ |
H A D | scoped_set_map_mode.h | 18 ScopedSetMapMode(HDC hdc, int map_mode) argument 19 : hdc_(hdc), 20 old_map_mode_(SetMapMode(hdc, map_mode)) {
|
/external/chromium_org/base/win/ |
H A D | scoped_select_object.h | 19 ScopedSelectObject(HDC hdc, HGDIOBJ object) argument 20 : hdc_(hdc), 21 oldobj_(SelectObject(hdc, object)) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
H A D | wgl.c | 157 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/mesa3d/src/mesa/drivers/windows/gdi/ |
H A D | wgl.c | 157 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/chromium_org/ui/native_theme/ |
H A D | native_theme_win.h | 94 HRESULT PaintTextField(HDC hdc, 141 HDC hdc, 148 HRESULT PaintButton(HDC hdc, 155 HRESULT PaintMenuSeparator(HDC hdc, 159 HRESULT PaintMenuGutter(HDC hdc, const gfx::Rect& rect) const; 164 HRESULT PaintMenuArrow(HDC hdc, 169 HRESULT PaintMenuBackground(HDC hdc, const gfx::Rect& rect) const; 171 HRESULT PaintMenuCheck(HDC hdc, 176 HRESULT PaintMenuCheckBackground(HDC hdc, 180 HRESULT PaintMenuItemBackground(HDC hdc, [all...] |
/external/chromium_org/third_party/skia/include/utils/ |
H A D | SkWGL.h | 70 const char* getExtensionsString(HDC hdc) const; 71 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const; 73 BOOL getPixelFormatAttribfv(HDC hdc, int, int, UINT, const int*, FLOAT*) const; 94 typedef const char* (WINAPI *GetExtensionsStringProc)(HDC hdc); 95 typedef BOOL (WINAPI *ChoosePixelFormatProc)(HDC hdc, const int *, const FLOAT *, UINT, int *, UINT *); 97 typedef BOOL (WINAPI *GetPixelFormatAttribfvProc)(HDC hdc, int, int, UINT, const int*, FLOAT*);
|
/external/skia/include/utils/ |
H A D | SkWGL.h | 70 const char* getExtensionsString(HDC hdc) const; 71 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const; 73 BOOL getPixelFormatAttribfv(HDC hdc, int, int, UINT, const int*, FLOAT*) const; 94 typedef const char* (WINAPI *GetExtensionsStringProc)(HDC hdc); 95 typedef BOOL (WINAPI *ChoosePixelFormatProc)(HDC hdc, const int *, const FLOAT *, UINT, int *, UINT *); 97 typedef BOOL (WINAPI *GetPixelFormatAttribfvProc)(HDC hdc, int, int, UINT, const int*, FLOAT*);
|
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_truetype_font_win.cc | 40 DWORD GetFontData(HDC hdc, 129 base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); 130 if (hdc) { 131 base::win::ScopedSelectObject select_object(hdc, font_); 133 GetTextFace(hdc, LF_FACESIZE, name); 139 DWORD PepperTrueTypeFontWin::GetFontData(HDC hdc, argument 148 DWORD result = ::GetFontData(hdc, table, offset, buffer, length); 160 result = ::GetFontData(hdc, table, offset, buffer, length); 166 base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); 167 if (!hdc) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderThemeChromiumFontProviderWin.cpp | 68 HWndDC hdc(0); // What about printing? Is this the right DC? 69 if (hdc) // Can this ever actually be 0? 70 pixelsPerInch = GetDeviceCaps(hdc, LOGPIXELSY); 96 HWndDC hdc(0); // What about printing? Is this the right DC? 97 if (hdc) { 98 HGDIOBJ hObject = SelectObject(hdc, hFont); 100 GetTextMetrics(hdc, &tm); 101 SelectObject(hdc, hObject);
|