Home
last modified time | relevance | path

Searched refs:colorBits (Results 1 – 25 of 215) sorted by relevance

123456789

/dports/math/scilab/scilab-6.1.1/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/
H A DGLPickingManager.java51 int[] colorBits = new int[3]; in UniqueColor() local
52 gl.glGetIntegerv(GL.GL_RED_BITS, colorBits, 0); in UniqueColor()
53 gl.glGetIntegerv(GL.GL_GREEN_BITS, colorBits, 1); in UniqueColor()
54 gl.glGetIntegerv(GL.GL_BLUE_BITS, colorBits, 2); in UniqueColor()
56 redSize = 1 << colorBits[0]; in UniqueColor()
57 greenSize = 1 << colorBits[1]; in UniqueColor()
58 blueSize = 1 << colorBits[2]; in UniqueColor()
/dports/games/glest/glest_source_3.2.2/source/shared_lib/include/graphics/
H A Dcontext.h27 uint32 colorBits;
35 uint32 getColorBits() const {return colorBits;} in getColorBits()
39 void setColorBits(uint32 colorBits) {this->colorBits= colorBits;} in setColorBits() argument
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/include/graphics/
H A Dcontext.h29 uint32 colorBits;
40 uint32 getColorBits() const {return colorBits;} in getColorBits()
47 void setColorBits(uint32 colorBits) {this->colorBits= colorBits;} in setColorBits() argument
H A Dvideo_player.h40 int colorBits; variable
64 int width, int height, int colorBits,
/dports/graphics/svgalib/svgalib-1.4.3/src/
H A Dinterface.c27 modeinfo->colorBits = 4; in __svgalib_createModeInfoStructureForSvgalibMode()
30 modeinfo->colorBits = 8; in __svgalib_createModeInfoStructureForSvgalibMode()
33 modeinfo->colorBits = 15; in __svgalib_createModeInfoStructureForSvgalibMode()
42 modeinfo->colorBits = 16; in __svgalib_createModeInfoStructureForSvgalibMode()
51 modeinfo->colorBits = 24; in __svgalib_createModeInfoStructureForSvgalibMode()
H A Dsavage.c446 if (modeinfo->colorBits == 8) { in savage_initializemode()
449 } else if (modeinfo->colorBits == 15) { in savage_initializemode()
452 } else if (modeinfo->colorBits == 16) { in savage_initializemode()
455 } else if (modeinfo->colorBits == 24) { in savage_initializemode()
470 if(modeinfo->colorBits < 24) in savage_initializemode()
476 if(modeinfo->colorBits < 24) in savage_initializemode()
538 if (modeinfo->colorBits <= 8) { in savage_initializemode()
541 if (modeinfo->colorBits <= 16) { in savage_initializemode()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/egl/
H A DteglCreateContextExtTests.cpp1010 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
1054 …{ "rgb565_no_depth_no_stencil", "RGB565 configs without depth or stencil", colorBits<5, 6, 5, 0>… in init()
1055 …{ "rgb565_no_depth_stencil", "RGB565 configs with stencil and no depth", colorBits<5, 6, 5, 0>, … in init()
1056 …{ "rgb565_depth_no_stencil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, … in init()
1057 …{ "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDe… in init()
1060 …{ "rgb888_no_depth_stencil", "RGB888 configs with stencil and no depth", colorBits<8, 8, 8, 0>, … in init()
1061 …{ "rgb888_depth_no_stencil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, … in init()
1062 …{ "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDe… in init()
1067 …{ "rgba4444_depth_stencil", "RGBA4444 configs with depth and stencil", colorBits<4, 4, 4, 4>, h… in init()
1072 …{ "rgba5551_depth_stencil", "RGBA5551 configs with depth and stencil", colorBits<5, 5, 5, 1>, h… in init()
[all …]
H A DteglSimpleConfigCase.cpp119 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
164 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultFilterLists()
165 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultFilterLists()
166 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultFilterLists()
167 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultFilterLists()
168 { "rgba8888", colorBits<8, 8, 8, 8> } in getDefaultFilterLists()
H A DteglRenderTests.cpp338 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() argument
342 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat()
343 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat()
344 de::inBounds(colorBits.blueBits, 0, 0xff) && in getColorFormat()
345 de::inBounds(colorBits.alphaBits, 0, 0xff)); in getColorFormat()
350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
381 float getColorThreshold (const tcu::PixelFormat& colorBits) in getColorThreshold() argument
383 if ((colorBits.redBits > 0 && colorBits.redBits < 8) || in getColorThreshold()
384 (colorBits.greenBits > 0 && colorBits.greenBits < 8) || in getColorThreshold()
385 (colorBits.blueBits > 0 && colorBits.blueBits < 8) || in getColorThreshold()
[all …]
H A DteglRenderCase.cpp377 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
423 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultRenderFilterLists()
424 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultRenderFilterLists()
425 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultRenderFilterLists()
426 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultRenderFilterLists()
427 { "rgba8888", colorBits<8, 8, 8, 8> }, in getDefaultRenderFilterLists()
/dports/games/egl/egl-0.3.1_9/win32/
H A Dwin_glimp.c200 pfd->cColorBits = colorBits; in GLimp_SetupPFD()
229 colorBits, alphaBits, depthBits, stencilBits); in GLimp_SetupPFD()
314 int alphaBits, colorBits, depthBits, stencilBits; in GLimp_GLInit() local
343 colorBits = r_colorbits->intVal; in GLimp_GLInit()
344 if (colorBits == 0) in GLimp_GLInit()
345 colorBits = glwState.desktopBPP; in GLimp_GLInit()
349 if (colorBits > 16) in GLimp_GLInit()
365 iPixelFormat = GLimp_SetupPFD (&iPFD, colorBits, depthBits, alphaBits, stencilBits); in GLimp_GLInit()
368 if (colorBits == glwState.desktopBPP && alphaBits == 0 && stencilBits == 0) { in GLimp_GLInit()
376 colorBits = glwState.desktopBPP; in GLimp_GLInit()
[all …]
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/win32/
H A DAVIWrite.cpp78 bool AVIWrite::CreateVideoStream( LONG imageWidth, LONG imageHeight, WORD colorBits, DWORD framesPe… in CreateVideoStream() argument
95 videoInfo.dwSuggestedBufferSize = imageWidth * imageHeight * ( colorBits >> 3 ); in CreateVideoStream()
141 bitmapInfo.biBitCount = colorBits; in CreateVideoStream()
144 bitmapInfo.biSizeImage = imageWidth * imageHeight * ( colorBits >> 3 ); in CreateVideoStream()
161 m_videoFrameSize = imageWidth * imageHeight * ( colorBits >> 3 ); in CreateVideoStream()
/dports/games/violetland/violetland-0.5/src/system/graphic/
H A DTexture.cpp8 char* colorBits = new char[width * height * 3]; in Texture() local
17 colorBits); in Texture()
19 delete[] colorBits; in Texture()
/dports/games/openjk/OpenJK-07675e2/shared/sdl/
H A Dsdl_window.cpp321 int colorBits, depthBits, stencilBits; in GLimp_SetMode() local
435 colorBits = r_colorbits->integer; in GLimp_SetMode()
436 if ((!colorBits) || (colorBits >= 32)) in GLimp_SetMode()
437 colorBits = 24; in GLimp_SetMode()
463 if (colorBits == 24) in GLimp_SetMode()
464 colorBits = 16; in GLimp_SetMode()
479 testColorBits = colorBits; in GLimp_SetMode()
615 glConfig->colorBits = testColorBits; in GLimp_SetMode()
620 glConfig->colorBits, glConfig->depthBits, glConfig->stencilBits ); in GLimp_SetMode()
/dports/games/glest/glest_source_3.2.2/source/shared_lib/sources/platform/sdl/
H A Dgl_wrap.cpp33 void PlatformContextGl::init(int colorBits, int depthBits, int stencilBits) { in init() argument
47 SDL_Surface* screen = SDL_SetVideoMode(resW, resH, colorBits, flags); in init()
51 << resW << "x" << resH << " (" << colorBits in init()
H A Dwindow_gl.cpp25 void WindowGl::initGl(int colorBits, int depthBits, int stencilBits){ in initGl() argument
26 context.setColorBits(colorBits); in initGl()
/dports/games/glest/glest_source_3.2.2/source/shared_lib/sources/platform/win32/
H A Dwindow_gl.cpp27 void WindowGl::initGl(int colorBits, int depthBits, int stencilBits){ in initGl() argument
28 context.setColorBits(colorBits); in initGl()
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/sources/platform/sdl/
H A Dwindow_gl.cpp76 void WindowGl::initGl(int colorBits, int depthBits, int stencilBits, in initGl() argument
79 context.setColorBits(colorBits); in initGl()
134 int colorBits, int depthBits, int stencilBits, bool hardware_acceleration, in ChangeVideoMode() argument
185 this->initGl(colorBits, depthBits, stencilBits,hardware_acceleration, in ChangeVideoMode()
/dports/games/glest/glest_source_3.2.2/source/glest_game/main/
H A Dprogram.cpp233 int colorBits= config.getInt("ColorBits"); in setDisplaySettings() local
237 if(!(changeVideoMode(screenWidth, screenHeight, colorBits, freq) || in setDisplaySettings()
238 changeVideoMode(screenWidth, screenHeight, colorBits, 0))) in setDisplaySettings()
242 intToStr(screenWidth) + "x" + intToStr(screenHeight) + "x" + intToStr(colorBits)); in setDisplaySettings()
/dports/games/craft/Craft-1.0fbsd/deps/glfw/src/
H A Dnsgl_context.m75 int colorBits = fbconfig->redBits + fbconfig->greenBits + fbconfig->blueBits;
76 if (colorBits == 0)
77 colorBits = 24;
78 else if (colorBits < 15)
79 colorBits = 15;
151 ADD_ATTR2(NSOpenGLPFAColorSize, colorBits);
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/include/platform/sdl/
H A Dwindow_gl.h37 void initGl(int colorBits, int depthBits, int stencilBits,
52 bool fullscreenWindow, int colorBits, int depthBits, int stencilBits,
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/glfw/
H A Dnsgl_context.m161 int colorBits = fbconfig->redBits +
166 if (colorBits == 0)
167 colorBits = 24;
168 else if (colorBits < 15)
169 colorBits = 15;
171 ADD_ATTR2(NSOpenGLPFAColorSize, colorBits);
/dports/games/iortcw/iortcw-1.51c/MP/code/sdl/
H A Dsdl_glimp.c468 int colorBits, depthBits, stencilBits; in GLimp_SetMode() local
577 colorBits = r_colorbits->value; in GLimp_SetMode()
578 if ((!colorBits) || (colorBits >= 32)) in GLimp_SetMode()
579 colorBits = 24; in GLimp_SetMode()
604 if (colorBits == 24) in GLimp_SetMode()
605 colorBits = 16; in GLimp_SetMode()
620 testColorBits = colorBits; in GLimp_SetMode()
851 glConfig.colorBits = realColorBits[0] + realColorBits[1] + realColorBits[2]; in GLimp_SetMode()
854 glConfig.colorBits, glConfig.depthBits, glConfig.stencilBits ); in GLimp_SetMode()
/dports/games/iortcw/iortcw-1.51c/SP/code/sdl/
H A Dsdl_glimp.c468 int colorBits, depthBits, stencilBits; in GLimp_SetMode() local
577 colorBits = r_colorbits->value; in GLimp_SetMode()
578 if ((!colorBits) || (colorBits >= 32)) in GLimp_SetMode()
579 colorBits = 24; in GLimp_SetMode()
604 if (colorBits == 24) in GLimp_SetMode()
605 colorBits = 16; in GLimp_SetMode()
620 testColorBits = colorBits; in GLimp_SetMode()
851 glConfig.colorBits = realColorBits[0] + realColorBits[1] + realColorBits[2]; in GLimp_SetMode()
854 glConfig.colorBits, glConfig.depthBits, glConfig.stencilBits ); in GLimp_SetMode()
/dports/misc/box2d/box2d-2.4.1/extern/glfw/src/
H A Dnsgl_context.m222 int colorBits = fbconfig->redBits +
227 if (colorBits == 0)
228 colorBits = 24;
229 else if (colorBits < 15)
230 colorBits = 15;
232 setAttrib(NSOpenGLPFAColorSize, colorBits);

123456789