search for: screen_bpp

Displaying 2 results from an estimated 2 matches for "screen_bpp".

2006 Jul 08
0
[tip] running games on a dedicated display
...on resolutions and depths are defined in advance in /etc/X11/xorg.conf. Here's what my war3.sh script looks like: [snip] #!/bin/sh # Game parameters. PROGRAM="c:/Program Files/Warcraft III/war3.exe -opengl" SCREEN_RES="640x480" # Must match screen identifier in XF86Config SCREEN_BPP="24" # Must be defined for screen in XF86Config GAMMA="1.75" winerun.sh "$PROGRAM" $SCREEN_RES $SCREEN_BPP $GAMMA [snip] Here's the winerun.sh script. Feel free to tweak it to your liking (esp mouse sensitivity). [snip] PROGRAM=$1 SCREEN_RES=$2 SCREEN_BPP=$...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...onstant 1. */ +#define RC_IN_ONE(input) \ + (NV10TCL_RC_IN_RGB_##input##_INPUT_ZERO | \ + NV10TCL_RC_IN_RGB_##input##_COMPONENT_USAGE_ALPHA | \ + NV10TCL_RC_IN_RGB_##input##_MAPPING_UNSIGNED_INVERT_NV) - BEGIN_RING(chan, celsius, NV10TCL_DEPTH_RANGE_NEAR, 2); - OUT_RING (chan, 0); -#if SCREEN_BPP == 32 - OUT_RINGf (chan, 16777216.0); -#else - OUT_RINGf (chan, 65536.0); -#endif - BEGIN_RING(chan, celsius, NV10TCL_VIEWPORT_SCALE_X, 4); - OUT_RINGf (chan, -2048.0); - OUT_RINGf (chan, -2048.0); - OUT_RINGf (chan, 0); - OUT_RING (chan, 0); -} +/* Bind the combiner variable <input> to the...