Searched defs:colors (Results 176 - 200 of 392) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_program.h86 uint32_t colors; /* 0x1904 */ member in struct:nv50_program::__anon27255
H A Dnv50_shader_state.c347 uint32_t colors = fp->fp.colors; local
377 colors |= m << 8; /* adjust BFC0 id */
391 colors += m - 4; /* adjust FFC0 id */
417 colors |= NV50_3D_SEMANTIC_COLOR_CLMP_EN;
465 PUSH_DATA (push, colors);
475 nv50->state.semantic_color = colors;
/external/pixman/test/
H A Dcomposite-traps-test.c66 static pixman_color_t colors[] = local
88 &(colors[prng_rand_n (ARRAY_LENGTH (colors))]));
H A Dcomposite.c33 static const color_t colors[] = variable
261 /* It turns out that by construction all source, mask etc. colors are
391 info->color = &colors[color];
438 return prng_rand_n (ARRAY_LENGTH (colors));
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_bmp.c223 /* Create a compatible surface, note that the colors are RGB ordered */
239 SDL_RWread(src, &palette->colors[i].b, 1, 1);
240 SDL_RWread(src, &palette->colors[i].g, 1, 1);
241 SDL_RWread(src, &palette->colors[i].r, 1, 1);
242 palette->colors[i].unused = 0;
246 SDL_RWread(src, &palette->colors[i].b, 1, 1);
247 SDL_RWread(src, &palette->colors[i].g, 1, 1);
248 SDL_RWread(src, &palette->colors[i].r, 1, 1);
249 SDL_RWread(src, &palette->colors[i].unused, 1, 1);
488 SDL_Color *colors; local
[all...]
H A DSDL_pixels.c133 (format->palette)->colors = (SDL_Color *)SDL_malloc(
135 if ( (format->palette)->colors == NULL ) {
190 format->palette->colors[i].r=r;
194 format->palette->colors[i].g=g;
198 format->palette->colors[i].b=b;
203 format->palette->colors[i].unused=a;
205 format->palette->colors[i].unused=0;
210 format->palette->colors[0].r = 0xFF;
211 format->palette->colors[0].g = 0xFF;
212 format->palette->colors[
266 SDL_DitherColors(SDL_Color *colors, int bpp) argument
423 SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors) argument
493 SDL_Color colors[256]; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c47 static int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
352 int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
358 colors[i].r>>2,
359 colors[i].g>>2,
360 colors[i].b>>2);
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c42 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
309 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c56 SDL_Color *colors);
355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
363 pal[i].r = (colors[i].r << 8) | colors[i].r;
364 pal[i].g = (colors[i].g << 8) | colors[i].g;
365 pal[i].b = (colors[i].b << 8) | colors[i].b;
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ;
398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) argument
409 pal.palette [i].r = colors [i].r ;
410 pal.palette [i].g = colors [i].g ;
411 pal.palette [i].b = colors [i].b ;
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c44 static int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
472 int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
486 r=colors[i].r>>3;
487 g=colors[i].g>>3;
488 b=colors[i].b>>3;
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_video.c47 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
594 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
610 syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b);
624 syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b);
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c42 static int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
316 int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_sysvideo.cc58 static int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
367 int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_wimpvideo.c48 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
355 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
364 *pal = (((unsigned int)colors->r) << 8)
365 + (((unsigned int)colors->g) << 16)
366 + (((unsigned int)colors->b) << 24);
369 colors++;
/external/qemu/distrib/sdl-1.2.15/src/video/svga/
H A DSDL_svgavideo.c58 SDL_Color *colors);
382 if ( (bpp == 16) && (modeinfo->colors == 32768) ) {
538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
544 colors[i].r>>2,
545 colors[i].g>>2,
546 colors[i].b>>2);
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A DSDL_epocvideo.cpp119 SDL_Color *colors);
290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
302 TUint32 color4K = (colors[i].r & 0x0000f0) << 4;
303 color4K |= (colors[i].g & 0x0000f0);
304 color4K |= (colors[i].b & 0x0000f0) >> 4;
315 TUint32 color64K = (colors[i].r & 0x0000f8) << 8;
316 color64K |= (colors[i].g & 0x0000fc) << 3;
317 color64K |= (colors[i].b & 0x0000f8) >> 3;
327 TUint32 color16M = colors[i].r << 16;
328 color16M |= colors[
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
H A DSDL_vglvideo.c52 SDL_Color *colors);
438 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
444 colors[i].r>>2,
445 colors[i].g>>2,
446 colors[i].b>>2);
/external/skia/bench/
H A DGameBench.cpp272 SkColor colors[kNumAtlasedX][kNumAtlasedY]; local
276 colors[x][y] = rand.nextU() | 0xff000000;
299 *scanline = colors[colorX][colorY];
/external/skia/experimental/PdfViewer/
H A DSkTrackDevice.h144 const SkColor colors[], SkXfermode* xmode,
148 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
142 drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, const SkPoint verts[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/gm/
H A Dconvexpolyclip.cpp27 SkColor colors[] = { SK_ColorDKGRAY, 0xFF222255, local
46 colors, pos,
47 SK_ARRAY_COUNT(colors),
H A Dgradients_no_texture.cpp138 void construct(const SkColor colors[], const SkScalar pos[], int count) { argument
140 memcpy(fColors, colors, count * sizeof(SkColor));
159 const SkColor colors[] = { local
177 rec->construct(colors, pos, N);
181 const SkColor colors[] = { local
186 rec->construct(colors, NULL, SK_ARRAY_COUNT(colors));
190 const SkColor colors[] = { local
195 const int N = SK_ARRAY_COUNT(colors);
200 rec->construct(colors, po
[all...]
H A Dshadertext.cpp21 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
27 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
H A Dtilemodes.cpp27 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
32 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
33 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
169 SkColor colors[] = { 0xFFFF0000, 0xFF0044FF }; local
174 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), tx);
176 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
178 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, NULL, SK_ARRAY_COUNT(colors));
[all...]
H A Dtilemodes_scaled.cpp28 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
33 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
34 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
189 SkColor colors[] = { 0xFFFF0000, 0xFF0044FF }; local
194 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), tx);
196 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
198 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, NULL, SK_ARRAY_COUNT(colors));
[all...]

Completed in 3143 milliseconds

1234567891011>>