Home
last modified time | relevance | path

Searched refs:hDC (Results 1 – 25 of 34) sorted by relevance

12

/external/swiftshader/include/GL/
Dwglext.h59 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
64 HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType);
87 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int…
89 HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList);
156 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
158 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
162 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
164 int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
302 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
304 BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
[all …]
/external/mesa3d/include/GL/
Dwglext.h59 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
64 HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType);
87 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int…
89 HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList);
156 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
158 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
162 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
164 int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
302 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
304 BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp120 int Cleanup(EGLDisplay eglDisplay, HWND hWnd, HDC hDC) in Cleanup() argument
137 if (hDC) ReleaseDC(hWnd, hDC); in Cleanup()
155 HDC hDC = 0; in WinMain() local
221 hDC = GetDC(hWnd); in WinMain()
222 if (!hDC) in WinMain()
225 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
236 eglDisplay = eglGetDisplay(hDC); in WinMain()
253 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
265 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
297 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
[all …]
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp104 HDC hDC) { in GetDDBitmap() argument
106 return CreateDIBitmap(hDC, (BITMAPINFOHEADER*)info.c_str(), CBM_INIT, in GetDDBitmap()
132 HDC hDC = CreateCompatibleDC(nullptr); in LoadFromFile() local
138 DeleteDC(hDC); in LoadFromFile()
142 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromFile()
144 DeleteDC(hDC); in LoadFromFile()
168 HDC hDC = CreateCompatibleDC(nullptr); in LoadDIBitmap() local
173 DeleteDC(hDC); in LoadDIBitmap()
177 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadDIBitmap()
179 DeleteDC(hDC); in LoadDIBitmap()
[all …]
Dcfx_windowsdib.h38 static HBITMAP GetDDBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, HDC hDC);
47 void LoadFromDevice(HDC hDC, int left, int top);
48 void SetToDevice(HDC hDC, int left, int top);
51 CFX_WindowsDIB(HDC hDC, int width, int height);
Dwin32_int.h39 bool StretchBitMask(HDC hDC,
49 bool StretchDIBits(HDC hDC,
57 bool DrawPath(HDC hDC,
131 CGdiDeviceDriver(HDC hDC, int device_class);
191 explicit CGdiDisplayDriver(HDC hDC);
232 explicit CGdiPrinterDriver(HDC hDC);
272 CPSPrinterDriver(HDC hDC, int ps_level, bool bCmykOutput);
337 explicit CTextOnlyPrinterDriver(HDC hDC);
Dfx_win32_device.cpp167 void SetPathToDC(HDC hDC, in SetPathToDC() argument
170 BeginPath(hDC); in SetPathToDC()
181 MoveToEx(hDC, screen.x, screen.y, nullptr); in SetPathToDC()
186 LineTo(hDC, screen.x, screen.y); in SetPathToDC()
205 PolyBezierTo(hDC, lppt, 3); in SetPathToDC()
209 CloseFigure(hDC); in SetPathToDC()
211 EndPath(hDC); in SetPathToDC()
721 CGdiDeviceDriver::CGdiDeviceDriver(HDC hDC, int device_class) { in CGdiDeviceDriver() argument
722 m_hDC = hDC; in CGdiDeviceDriver()
726 SetStretchBltMode(hDC, pPlatform->m_bHalfTone ? HALFTONE : COLORONCOLOR); in CGdiDeviceDriver()
[all …]
Dfx_win32_print.cpp29 ScopedState(HDC hDC, HFONT hFont) : m_hDC(hDC) { in ScopedState() argument
57 CGdiPrinterDriver::CGdiPrinterDriver(HDC hDC) in CGdiPrinterDriver() argument
58 : CGdiDeviceDriver(hDC, FXDC_PRINTER), in CGdiPrinterDriver()
333 CPSPrinterDriver::CPSPrinterDriver(HDC hDC, int pslevel, bool bCmykOutput) in CPSPrinterDriver() argument
334 : m_hDC(hDC), m_bCmykOutput(bCmykOutput) { in CPSPrinterDriver()
344 int ret = ::GetClipRgn(hDC, hRgn); in CPSPrinterDriver()
495 CTextOnlyPrinterDriver::CTextOnlyPrinterDriver(HDC hDC) in CTextOnlyPrinterDriver() argument
496 : m_hDC(hDC), in CTextOnlyPrinterDriver()
Dcpsoutput.cpp13 CPSOutput::CPSOutput(HDC hDC) : m_hDC(hDC) {} in CPSOutput() argument
Dcpsoutput.h17 explicit CPSOutput(HDC hDC);
/external/ImageMagick/coders/
Dscreenshot.c128 hDC; in ReadSCREENSHOTImage() local
160 hDC=CreateDC(device.DeviceName,device.DeviceName,NULL,NULL); in ReadSCREENSHOTImage()
161 if (hDC == (HDC) NULL) in ReadSCREENSHOTImage()
165 screen->columns=(size_t) GetDeviceCaps(hDC,HORZRES); in ReadSCREENSHOTImage()
166 screen->rows=(size_t) GetDeviceCaps(hDC,VERTRES); in ReadSCREENSHOTImage()
176 bitmapDC=CreateCompatibleDC(hDC); in ReadSCREENSHOTImage()
179 DeleteDC(hDC); in ReadSCREENSHOTImage()
189 bitmap=CreateDIBSection(hDC,&bmi,DIB_RGB_COLORS,(void **) &p,NULL,0); in ReadSCREENSHOTImage()
192 DeleteDC(hDC); in ReadSCREENSHOTImage()
199 DeleteDC(hDC); in ReadSCREENSHOTImage()
[all …]
Demf.c321 hDC; in ReadEnhMetaFile() local
393 hDC=GetDC(NULL); in ReadEnhMetaFile()
394 hTemp=SetWinMetaFileBits(dwSize,pBits,hDC,&mp); in ReadEnhMetaFile()
395 ReleaseDC(NULL,hDC); in ReadEnhMetaFile()
435 hDC=GetDC(NULL); in ReadEnhMetaFile()
436 hTemp=SetWinMetaFileBits(dwSize,&(pBits[sizeof(APMHEADER)]),hDC,&mp); in ReadEnhMetaFile()
437 ReleaseDC(NULL,hDC); in ReadEnhMetaFile()
454 hDC; in ReadEMFImage() local
562 hDC=GetDC(NULL); in ReadEMFImage()
563 if (hDC == (HDC) NULL) in ReadEMFImage()
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c85 HDC hDC; in wglCreatePbufferARB() local
240 hDC = GetDC(hWnd); in wglCreatePbufferARB()
241 if (!hDC) { in wglCreatePbufferARB()
249 fb = stw_framebuffer_create(hDC, iPixelFormat); in wglCreatePbufferARB()
270 bRet = SetPixelFormat(hDC, iDisplayablePixelFormat, &pfd); in wglCreatePbufferARB()
281 HDC hDC; in wglGetPbufferDCARB() local
290 hDC = GetDC(fb->hWnd); in wglGetPbufferDCARB()
292 return hDC; in wglGetPbufferDCARB()
298 HDC hDC) in wglReleasePbufferDCARB() argument
309 return ReleaseDC(fb->hWnd, hDC); in wglReleasePbufferDCARB()
Dstw_ext_context.c58 wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList) in wglCreateContextAttribsARB() argument
166 context = wglCreateContext_func(hDC); in wglCreateContextAttribsARB()
186 c = stw_create_context_attribs(hDC, layerPlane, share_dhglrc, in wglCreateContextAttribsARB()
Dstw_st.c205 HDC hDC; in stw_st_framebuffer_flush_front() local
212 hDC = GetDC(stwfb->fb->hWnd); in stw_st_framebuffer_flush_front()
214 ret = stw_st_framebuffer_present_locked(hDC, &stwfb->base, statt); in stw_st_framebuffer_flush_front()
216 ReleaseDC(stwfb->fb->hWnd, hDC); in stw_st_framebuffer_flush_front()
/external/mesa3d/src/gallium/targets/libgl-gdi/
Dlibgl_gdi.c118 HDC hDC) in gdi_present() argument
137 gdi_sw_display(winsys, dt, hDC); in gdi_present()
144 swr_gdi_swap(screen, res, hDC); in gdi_present()
151 gdi_sw_display(winsys, dt, hDC); in gdi_present()
/external/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c73 HDC hDC = NULL; in graw_create_window_and_screen() local
115 hDC = GetDC(hWnd); in graw_create_window_and_screen()
116 if (hDC == NULL) in graw_create_window_and_screen()
119 *handle = (void *)hDC; in graw_create_window_and_screen()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp213 void InsertWidthArray(HDC hDC, int start, int end, CPDF_Array* pWidthArray) { in InsertWidthArray() argument
216 GetCharWidth(hDC, start, end, widths); in InsertWidthArray()
220 ByteString FPDF_GetPSNameFromTT(HDC hDC) { in FPDF_GetPSNameFromTT() argument
222 DWORD size = ::GetFontData(hDC, 'eman', 0, nullptr, 0); in FPDF_GetPSNameFromTT()
225 ::GetFontData(hDC, 'eman', 0, buffer, size); in FPDF_GetPSNameFromTT()
977 HDC hDC = CreateCompatibleDC(nullptr); in AddWindowsFont() local
978 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
979 int tm_size = GetOutlineTextMetrics(hDC, 0, nullptr); in AddWindowsFont()
981 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
983 DeleteDC(hDC); in AddWindowsFont()
[all …]
/external/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c198 HDC hDC ) in gdi_sw_display() argument
202 StretchDIBits(hDC, in gdi_sw_display()
216 HDC hDC = (HDC)context_private; in gdi_sw_displaytarget_display() local
218 gdi_sw_display(winsys, dt, hDC); in gdi_sw_displaytarget_display()
Dgdi_sw_winsys.h11 HDC hDC );
/external/pdfium/core/fxge/
Dcfx_windowsrenderdevice.h39 static IFX_RenderDeviceDriver* CreateDriver(HDC hDC);
41 explicit CFX_WindowsRenderDevice(HDC hDC);
/external/skia/src/utils/win/
DSkWGL_win.cpp75 HGLRC SkWGLExtensions::createContextAttribs(HDC hDC, in createContextAttribs() argument
78 return fCreateContextAttribs(hDC, hShareContext, attribList); in createContextAttribs()
85 HPBUFFER SkWGLExtensions::createPbuffer(HDC hDC, in createPbuffer() argument
90 return fCreatePbuffer(hDC, iPixelFormat, iWidth, iHeight, piAttribList); in createPbuffer()
97 int SkWGLExtensions::releasePbufferDC(HPBUFFER hPbuffer, HDC hDC) const { in releasePbufferDC()
98 return fReleasePbufferDC(hPbuffer, hDC); in releasePbufferDC()
/external/skqp/src/utils/win/
DSkWGL_win.cpp75 HGLRC SkWGLExtensions::createContextAttribs(HDC hDC, in createContextAttribs() argument
78 return fCreateContextAttribs(hDC, hShareContext, attribList); in createContextAttribs()
85 HPBUFFER SkWGLExtensions::createPbuffer(HDC hDC, in createPbuffer() argument
90 return fCreatePbuffer(hDC, iPixelFormat, iWidth, iHeight, piAttribList); in createPbuffer()
97 int SkWGLExtensions::releasePbufferDC(HPBUFFER hPbuffer, HDC hDC) const { in releasePbufferDC()
98 return fReleasePbufferDC(hPbuffer, hDC); in releasePbufferDC()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_loader.cpp133 void *hDC) in swr_gdi_swap() argument
138 hDC, in swr_gdi_swap()
Dswr_public.h48 void *hDC);

12