Searched refs:gray (Results 1 - 25 of 37) sorted by relevance

12

/xsrc/external/mit/xterm/dist/
H A D256colres.pl45 our ( $red, $green, $blue, $gray );
81 for ($gray = 0; $gray < 24; $gray++) {
82 $level = ($gray * 10) + 8;
83 $code = 232 + $gray;
H A D88colres.pl47 our ( $red, $green, $blue, $gray );
83 for ($gray = 0; $gray < 8; $gray++) {
84 $level = ($gray * 23.18181818) + 46.36363636;
85 if( $gray > 0 ) { $level += 23.18181818; }
86 $code = 80 + $gray;
/xsrc/external/mit/xterm/dist/vttests/
H A D88colors2.pl70 our ( $gray, $level, $color );
197 for ( $gray = 0 ; $gray < 8 ; $gray++ ) {
198 $level = ( map_gray($gray) * 23.18181818 ) + 46.36363636;
199 if ( $gray > 0 ) { $level += 23.18181818; }
200 &define_color( 80 + $gray, int($level), int($level), int($level) );
H A D256colors2.pl69 our ( $gray, $level, $color );
196 for ( $gray = 0 ; $gray < 24 ; $gray++ ) {
197 $level = ( map_gray($gray) * 10 ) + 8;
198 &define_color( 232 + $gray, $level, $level, $level );
H A Dclosest-rgb.pl136 my $gray;
151 for ( $gray = 0 ; $gray < $ramp ; $gray++ ) {
152 my $level = ( $gray * $ramp1 ) + $ramp2;
157 $data{NAME} = sprintf "ramp %d", $gray;
/xsrc/external/mit/xorg-server.old/dist/render/
H A Dmiindex.c52 int cube, gray; local in function:miBuildRenderColormap
99 * Compute size of cube and gray ramps
101 cube = gray = 0;
118 * Figure out how many gray levels to use so that they
125 gray = needed / (cube - 1);
127 gray = (gray + 1) * (cube - 1) + 1;
130 gray = pColormap->pVisual->ColormapEntries;
137 gray = NUM_GRAY_LEVELS;
141 gray
209 FindBestGray(miIndexedPtr pIndexed,Pixel * pixels,int num,int gray) argument
[all...]
/xsrc/external/mit/xorg-server/dist/render/
H A Dmiindex.c52 int cube, gray; local in function:miBuildRenderColormap
97 * Compute size of cube and gray ramps
99 cube = gray = 0;
116 * Figure out how many gray levels to use so that they
122 gray = needed / (cube - 1);
124 gray = (gray + 1) * (cube - 1) + 1;
127 gray = pColormap->pVisual->ColormapEntries;
134 gray = NUM_GRAY_LEVELS;
138 gray
203 FindBestGray(miIndexedPtr pIndexed,Pixel * pixels,int num,int gray) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dfront-back-modes.c161 static const float gray[4] = {0.2, 0.2, 0.2, 1.0}; local in function:Init
163 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, gray);
H A Dstencilreaddraw.c151 const GLfloat gray[4] = {0.2, 0.2, 0.2, 1.0}; local in function:Init
165 glLightfv(GL_LIGHT0, GL_AMBIENT, gray);
H A Dzreaddraw.c185 const GLfloat gray[4] = {0.2, 0.2, 0.2, 1.0}; local in function:Init
197 glLightfv(GL_LIGHT0, GL_AMBIENT, gray);
/xsrc/external/mit/xbitmaps/dist/
H A DMakefile.am28 gray \ data in directory:bitmap
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dcopypix.c196 int gray = Image[i*3] + Image[i*3+1] + Image[i*3+2]; local in function:Init
197 indexImage[i] = gray / 3;
H A Ddrawpix.c267 int gray = Image[i*3] + Image[i*3+1] + Image[i*3+2]; local in function:Init
268 indexImage[i] = gray / 3;
H A Dtexcyl.c225 GLfloat gray[4] = {0.2, 0.2, 0.2, 1.0}; local in function:Init
229 glLightfv(GL_LIGHT0, GL_AMBIENT, gray);
H A Dreadpix.c339 int gray = Image[i*3] + Image[i*3+1] + Image[i*3+2]; local in function:Init
340 indexImage[i] = gray / 3;
H A Dreflect.c130 static GLfloat gray[] = { 0.4, 0.4, 0.4, 1.0 }; local in function:MakeTable
138 /*glMaterialfv( GL_FRONT, GL_EMISSION, gray );*/
140 glMaterialfv( GL_FRONT, GL_AMBIENT, gray );
H A Dstex3d.c598 static const GLfloat gray[] = { 0.6, 0.6, 0.6, 0.0 }; local in function:init
622 glLightfv(GL_LIGHT1, GL_AMBIENT, gray);
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Dpolyoff.c60 /* display() draws two spheres, one with a gray, diffuse material,
65 GLfloat gray[] = { 0.8, 0.8, 0.8, 1.0 }; local in function:display
74 glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, gray);
/xsrc/external/mit/ctwm/dist/
H A Dtwm_window_struct.h71 Pixmap gray; member in struct:TwmWindow
H A Dwin_ops.c53 * single global 'gray' pixmap; I don't think it actually
58 XSetWindowBorderPixmap(dpy, tmp_win->frame, tmp_win->gray);
60 XSetWindowBorderPixmap(dpy, tmp_win->title_w, tmp_win->gray);
/xsrc/external/mit/xsetroot/dist/
H A Dxsetroot.c47 #include "X11/bitmaps/gray"
88 " -gray, -grey Make the entire background grey\n"
116 int gray = 0; local in function:main
192 if (!strcmp("-gray", argv[i]) || !strcmp("-grey", argv[i])) {
193 gray = 1;
224 fprintf(stderr, "%s: choose only one of {solid, gray, bitmap, mod}\n",
270 /* Handle -gray and -grey options */
271 if (gray) {
/xsrc/external/mit/twm/dist/src/
H A Dtwm.h242 Pixmap gray; member in struct:TwmWindow
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fbdev/
H A Dfbdev.c156 Bool gray; local in function:fbdevScreenInitialize
218 gray = priv->var.grayscale;
222 if (gray)
241 if (gray)
/xsrc/external/mit/mesa-demos/dist/src/samples/
H A Dquad.c53 float gray[3] = { variable in typeref:typename:float[3]
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.1.3.rst41 - i965/20.1: gray rendering with torcs racing

Completed in 19 milliseconds

12