/dports/multimedia/gpac-libgpac/gpac-1.0.0/modules/dx_hw/ |
H A D | dx_2d.c | 233 DDPIXELFORMAT pixelFmt; in InitDirectDraw() local 281 memset (&pixelFmt, 0, sizeof(pixelFmt)); in InitDirectDraw() 282 pixelFmt.dwSize = sizeof(pixelFmt); in InitDirectDraw() 284 hr = dd->pPrimary->lpVtbl->GetPixelFormat(dd->pPrimary, &pixelFmt); in InitDirectDraw() 287 switch(pixelFmt.dwRGBBitCount) { in InitDirectDraw() 289 …if ((pixelFmt.dwRBitMask == 0xf800) && (pixelFmt.dwGBitMask == 0x07e0) && (pixelFmt.dwBBitMask == … in InitDirectDraw() 291 …else if ((pixelFmt.dwRBitMask == 0x7c00) && (pixelFmt.dwGBitMask == 0x03e0) && (pixelFmt.dwBBitMas… in InitDirectDraw() 298 …if ((pixelFmt.dwRBitMask == 0x0000FF) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBitMask… in InitDirectDraw() 300 …else if ((pixelFmt.dwRBitMask == 0xFF0000) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBi… in InitDirectDraw() 305 …if ((pixelFmt.dwRBitMask == 0x0000FF) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBitMask… in InitDirectDraw() [all …]
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/modules/dx_hw/ |
H A D | dx_2d.c | 233 DDPIXELFORMAT pixelFmt; in InitDirectDraw() local 281 memset (&pixelFmt, 0, sizeof(pixelFmt)); in InitDirectDraw() 282 pixelFmt.dwSize = sizeof(pixelFmt); in InitDirectDraw() 284 hr = dd->pPrimary->lpVtbl->GetPixelFormat(dd->pPrimary, &pixelFmt); in InitDirectDraw() 287 switch(pixelFmt.dwRGBBitCount) { in InitDirectDraw() 289 …if ((pixelFmt.dwRBitMask == 0xf800) && (pixelFmt.dwGBitMask == 0x07e0) && (pixelFmt.dwBBitMask == … in InitDirectDraw() 291 …else if ((pixelFmt.dwRBitMask == 0x7c00) && (pixelFmt.dwGBitMask == 0x03e0) && (pixelFmt.dwBBitMas… in InitDirectDraw() 298 …if ((pixelFmt.dwRBitMask == 0x0000FF) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBitMask… in InitDirectDraw() 300 …else if ((pixelFmt.dwRBitMask == 0xFF0000) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBi… in InitDirectDraw() 305 …if ((pixelFmt.dwRBitMask == 0x0000FF) && (pixelFmt.dwGBitMask == 0x00FF00) && (pixelFmt.dwBBitMask… in InitDirectDraw() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/egl/ |
H A D | teglColorClearCase.cpp | 151 tcu::PixelFormat pixelFmt; in getPixelFormat() local 153 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &pixelFmt.redBits); in getPixelFormat() 154 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &pixelFmt.greenBits); in getPixelFormat() 155 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &pixelFmt.blueBits); in getPixelFormat() 156 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in getPixelFormat() 158 return pixelFmt; in getPixelFormat() 180 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local 243 renderReference(refFrame, clears, pixelFmt); in executeForContexts() 247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts() 343 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local [all …]
|
H A D | teglRenderTests.cpp | 739 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local 740 const float threshold = getColorThreshold(pixelFmt); in executeForContexts() 756 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts() 757 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts() 758 log << TestLog::Message << "EGL_BLUE_SIZE = " << pixelFmt.blueBits << TestLog::EndMessage; in executeForContexts() 767 randomizeDrawOp(rnd, *drawOp, (pixelFmt.alphaBits == 1)); in executeForContexts() 946 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() local 947 const float threshold = getColorThreshold(pixelFmt); in executeForContexts() 968 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts() 970 log << TestLog::Message << "EGL_BLUE_SIZE = " << pixelFmt.blueBits << TestLog::EndMessage; in executeForContexts() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/ps2/ |
H A D | DmaPipe.cpp | 76 …x(uint32 dest, uint16 bufWidth, uint16 destOfsX, uint16 destOfsY, uint8 pixelFmt, const void *src,… in uploadTex() argument 82 …Reg(GPR_BITBLTBUF, GS_SET_DEST_BLTBUF((dest/256) & 0x3fff, (bufWidth/64) & 0x3f, pixelFmt & 0x3f)); in uploadTex() 89 switch (pixelFmt) { in uploadTex() 216 void DmaPipe::setDrawBuffer(uint64 base, uint64 width, uint8 pixelFmt, uint64 mask) { in setDrawBuffer() argument 219 _pipes[_curPipe]->setReg( GPR_FRAME_1, GS_SET_FRAME(base / 8192, width / 64, pixelFmt, mask)); in setDrawBuffer()
|
H A D | DmaPipe.h | 44 …void uploadTex(uint32 dest, uint16 bufWidth, uint16 destOfsX, uint16 destOfsY, uint8 pixelFmt, con… 46 void setDrawBuffer(uint64 base, uint64 width, uint8 pixelFmt, uint64 mask);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/common/ |
H A D | glcNearestEdgeTests.cpp | 77 static tcu::TextureFormat toTextureFormat (const tcu::PixelFormat& pixelFmt); 127 tcu::TextureFormat NearestEdgeTestCase::toTextureFormat (const tcu::PixelFormat& pixelFmt) in toTextureFormat() argument 131 tcu::PixelFormat pixelFmt; in toTextureFormat() member 146 if (pixelFormatMap[ndx].pixelFmt == pixelFmt) in toTextureFormat()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/egl/ |
H A D | egluGLContextFactory.cpp | 451 tcu::PixelFormat pixelFmt; in create() local 456 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_RED_SIZE, &pixelFmt.redBits); in create() 457 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_GREEN_SIZE, &pixelFmt.greenBits); in create() 458 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_BLUE_SIZE, &pixelFmt.blueBits); in create() 459 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); in create() 467 m_glRenderTarget = tcu::RenderTarget(width, height, pixelFmt, depthBits, stencilBits, numSamples); in create()
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Common/Base/OpenGLES/ |
H A D | BaseManager.cpp | 441 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 442 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Common/Base/OpenGL3/ |
H A D | BaseManager.cpp | 419 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 420 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Common/Base/OpenGLES/ |
H A D | BaseManager.cpp | 441 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 442 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Common/Base/OpenGL/ |
H A D | BaseManager.cpp | 418 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 419 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Common/Base/OpenGL/ |
H A D | BaseManager.cpp | 418 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 419 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Common/Base/OpenGL3/ |
H A D | BaseManager.cpp | 419 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 420 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Common/Base/OpenGL3/ |
H A D | BaseManager.cpp | 419 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 420 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Common/Base/OpenGLES/ |
H A D | BaseManager.cpp | 441 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 442 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Common/Base/OpenGL/ |
H A D | BaseManager.cpp | 418 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 419 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Common/Base/OpenGL/ |
H A D | BaseManager.cpp | 418 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 419 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Common/Base/OpenGL3/ |
H A D | BaseManager.cpp | 419 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 420 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Common/Base/OpenGLES/ |
H A D | BaseManager.cpp | 441 Uint32 pixelFmt = bpp == 3 ? SDL_PIXELFORMAT_BGR24 : SDL_PIXELFORMAT_ARGB8888; in loadImage() local 442 cvtImage = SDL_ConvertSurfaceFormat(image, pixelFmt, 0); in loadImage()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.cpp | 158 tcu::TextureFormat toTextureFormat (const tcu::PixelFormat& pixelFmt) in toTextureFormat() argument 162 tcu::PixelFormat pixelFmt; in toTextureFormat() member 175 if (pixelFormatMap[ndx].pixelFmt == pixelFmt) in toTextureFormat()
|