Home
last modified time | relevance | path

Searched refs:iPixelFormat (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_context.c151 int iPixelFormat = GetPixelFormat(hdc); in get_matching_pixel_format() local
154 if (!iPixelFormat) in get_matching_pixel_format()
156 if (!DescribePixelFormat(hdc, iPixelFormat, sizeof(pfd), &pfd)) in get_matching_pixel_format()
170 int iPixelFormat, int resetStrategy) in stw_create_context_attribs() argument
183 if (!iPixelFormat) { in stw_create_context_attribs()
193 iPixelFormat = fb->iPixelFormat; in stw_create_context_attribs()
201 iPixelFormat = get_matching_pixel_format(hdc); in stw_create_context_attribs()
202 if (!iPixelFormat) in stw_create_context_attribs()
207 pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_create_context_attribs()
218 ctx->iPixelFormat = iPixelFormat; in stw_create_context_attribs()
[all …]
Dstw_framebuffer.c272 stw_framebuffer_create(HWND hWnd, int iPixelFormat, enum stw_framebuffer_owner owner) in stw_framebuffer_create() argument
282 fb->iPixelFormat = iPixelFormat; in stw_framebuffer_create()
286 stw_dev->stw_winsys->create_framebuffer(stw_dev->screen, hWnd, iPixelFormat); in stw_framebuffer_create()
292 fb->iDisplayablePixelFormat = iPixelFormat <= stw_dev->pixelformat_count in stw_framebuffer_create()
293 ? iPixelFormat : 1; in stw_framebuffer_create()
296 fb->pfi = pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_framebuffer_create()
471 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) in DrvSetPixelFormat() argument
480 index = (uint) iPixelFormat - 1; in DrvSetPixelFormat()
498 fb = stw_framebuffer_create(WindowFromDC(hdc), iPixelFormat, STW_FRAMEBUFFER_WGL_WINDOW); in DrvSetPixelFormat()
509 BOOL bRet = SetPixelFormat(hdc, iPixelFormat, NULL); in DrvSetPixelFormat()
[all …]
Dstw_ext_rendertexture.c173 pixelFormatSave = fb->iPixelFormat; in wglBindTexImageARB()
174 fb->iPixelFormat = curctx->iPixelFormat; in wglBindTexImageARB()
176 fb->iPixelFormat = pixelFormatSave; in wglBindTexImageARB()
Dstw_ext_pixelformat.c52 stw_query_attrib(HDC hdc, int iPixelFormat, int iLayerPlane, int attrib, int *pvalue) in stw_query_attrib() argument
64 pfi = stw_pixelformat_get_info(iPixelFormat); in stw_query_attrib()
482 wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, in wglGetPixelFormatAttribfvARB() argument
491 if (!stw_query_attrib(hdc, iPixelFormat, iLayerPlane, in wglGetPixelFormatAttribfvARB()
502 wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLayerPlane, in wglGetPixelFormatAttribivARB() argument
509 if (!stw_query_attrib(hdc, iPixelFormat, iLayerPlane, in wglGetPixelFormatAttribivARB()
Dstw_pixelformat.c157 …pfi->iPixelFormat = util_dynarray_num_elements(&stw_dev->pixelformats, struct stw_pixelformat_info… in stw_pixelformat_add()
366 stw_pixelformat_get_info(int iPixelFormat) in stw_pixelformat_get_info() argument
370 if (iPixelFormat <= 0) { in stw_pixelformat_get_info()
374 index = iPixelFormat - 1; in stw_pixelformat_get_info()
387 DrvDescribePixelFormat(HDC hdc, INT iPixelFormat, ULONG cjpfd, in DrvDescribePixelFormat() argument
404 pfi = stw_pixelformat_get_info(iPixelFormat); in DrvDescribePixelFormat()
416 DrvDescribeLayerPlane(HDC hdc, INT iPixelFormat, INT iLayerPlane, in DrvDescribeLayerPlane() argument
Dstw_pixelformat.h55 int iPixelFormat; member
68 stw_pixelformat_get_info( int iPixelFormat );
Dstw_context.h41 int iPixelFormat; member
56 int iPixelFormat, int resetStrategy);
Dstw_framebuffer.h86 int iPixelFormat; member
155 stw_framebuffer_create(HWND hwnd, int iPixelFormat, enum stw_framebuffer_owner owner);
Dstw_ext_pbuffer.c71 int iPixelFormat, in wglCreatePbufferARB() argument
92 info = stw_pixelformat_get_info(iPixelFormat); in wglCreatePbufferARB()
245 fb = stw_framebuffer_create(hWnd, iPixelFormat, STW_FRAMEBUFFER_PBUFFER); in wglCreatePbufferARB()
/third_party/mesa3d/src/gallium/targets/libgl-gdi/
Dstw_wgl.c170 int iPixelFormat, in wglDescribePixelFormat() argument
174 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd ); in wglDescribePixelFormat()
187 int iPixelFormat, in wglSetPixelFormat() argument
195 return DrvSetPixelFormat( hdc, iPixelFormat ); in wglSetPixelFormat()
330 int iPixelFormat, in wglDescribeLayerPlane() argument
335 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd); in wglDescribeLayerPlane()
Dstw_wgl.h50 int iPixelFormat,
59 int iPixelFormat,
/third_party/skia/src/utils/win/
DSkWGL_win.cpp57 int iPixelFormat, in getPixelFormatAttribiv() argument
62 return fGetPixelFormatAttribiv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribiv()
67 int iPixelFormat, in getPixelFormatAttribfv() argument
72 return fGetPixelFormatAttribfv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribfv()
86 int iPixelFormat, in createPbuffer() argument
90 return fCreatePbuffer(hDC, iPixelFormat, iWidth, iHeight, piAttribList); in createPbuffer()
/third_party/flutter/skia/src/utils/win/
DSkWGL_win.cpp57 int iPixelFormat, in getPixelFormatAttribiv() argument
62 return fGetPixelFormatAttribiv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribiv()
67 int iPixelFormat, in getPixelFormatAttribfv() argument
72 return fGetPixelFormatAttribfv(hdc, iPixelFormat, iLayerPlane, in getPixelFormatAttribfv()
86 int iPixelFormat, in createPbuffer() argument
90 return fCreatePbuffer(hDC, iPixelFormat, iWidth, iHeight, piAttribList); in createPbuffer()
/third_party/mesa3d/include/GL/
Dwglext.h156 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
162 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
430 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
436 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
491 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
492 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/khronos/GL/
Dwglext.h153 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
159 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
415 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
421 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/skia/third_party/externals/swiftshader/include/GL/
Dwglext.h156 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
162 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
425 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
431 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
486 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
487 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/skia/third_party/externals/angle2/src/third_party/khronos/GL/
Dwglext.h153 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
159 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
415 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
421 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/openGLES/api/GL/
Dwglext.h137 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
143 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
202 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
203 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
206 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
207 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
411 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
417 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
472 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
473 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
Dwgl.h228 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
234 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
293 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
294 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
297 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
298 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
502 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
508 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
563 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
564 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/skia/third_party/externals/opengl-registry/api/GL/
Dwglext.h156 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
162 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
221 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
222 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
225 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
226 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
425 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
431 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
486 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
487 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
Dwgl.h242 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
248 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
307 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
308 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
311 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
312 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
511 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
517 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
572 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
573 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/mesa3d/src/gallium/targets/libgl-d3d12/
Dlibgl_d3d12.c98 int iPixelFormat) in gdi_create_framebuffer() argument
100 return d3d12_wgl_create_framebuffer(screen, hWnd, iPixelFormat); in gdi_create_framebuffer()
/third_party/skia/third_party/externals/angle2/include/WGL/
Dwgl.h247 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
253 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
312 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
313 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
316 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
317 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
521 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
527 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
582 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
583 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/flutter/skia/third_party/externals/angle2/include/WGL/
Dwgl.h247 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
253 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
312 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
313 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerP…
316 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
317 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttribu…
521 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, i…
527 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const i…
582 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
583 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerP…
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DWGL_EXT_pbuffer.txt51 int iPixelFormat,
115 int iPixelFormat,
121 is created. <iPixelFormat> specifies a non-generic pixel format
151 buffers as specified by <iPixelFormat>. Note that pbuffers use
158 <iPixelFormat>. (Pbuffers are the same as windows in this respect.)
178 a wglCreateContext that is "compatible" with the <iPixelFormat> may be

12