Searched refs:color (Results 1 - 16 of 16) sorted by relevance

/system/core/libpixelflinger/
H A Dpixelflinger.cpp112 if (surface->format != c->state.buffers.color.format)
122 ggl_set_surface(c, &(c->state.buffers.color), surface);
218 static void ggl_color4xv(void* con, const GGLclampx* color) argument
221 c->shade.r0 = gglFixedToIteratedColor(color[0]);
222 c->shade.g0 = gglFixedToIteratedColor(color[1]);
223 c->shade.b0 = gglFixedToIteratedColor(color[2]);
224 c->shade.a0 = gglFixedToIteratedColor(color[3]);
278 static void ggl_fogColor3xv(void* con, const GGLclampx* color) argument
281 const int32_t r = gglClampx(color[0]);
282 const int32_t g = gglClampx(color[
370 uint8_t* const color = c->activeTMU->env_color; local
[all...]
H A Dpicker.cpp44 new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT);
50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT);
57 const GGLFormat& cbf = c->formats[ c->state.buffers.color.format ];
99 n |= GGL_BUILD_NEEDS(c->state.mask.color^0xF, MASK_ARGB);
H A Dclear.cpp108 if (c->state.buffers.color.format == 0)
122 c->state.buffers.color.format,
131 memset2d(c, c->state.buffers.color, packed, l, t, w, h);
H A Draster.cpp58 // color-buffer
59 surface_t* cb = &(c->state.buffers.color);
156 const GGLSurface& cbSurface = c->state.buffers.color.s;
H A Dbuffer.cpp102 surface_t& s = c->state.buffers.color;
188 if (h && (c->state.mask.color & component_mask)) {
200 if ((c->state.mask.color != 0xF) ||
H A Dscanline.cpp172 * a/r/g/b of the current context's color. Typically used for
237 "565 fb, 8888 fixed color", scanline_col32cb16blend, init_y_packed },
249 "(nop) color mask", scanline_noop, init_y_noop },
261 "(error) invalid color-buffer format", scanline_noop, init_y_error },
343 // (so the current color doesn't show through)
688 // read color (convert to 8 bits by keeping only the integer part)
889 GGLfixed fc = (c->state.fog.color[i] * 0x10000) / 0xFF;
902 c->state.buffers.color.read(
903 &(c->state.buffers.color), c, x, y, &fb);
908 c->state.buffers.color
[all...]
H A Dtrap.cpp454 surface_t* cb = &(c->state.buffers.color);
/system/core/toolbox/grep/
H A Dutil.c344 if ((color != NULL && !oflag) || qflag || lflag)
353 if ((color != NULL && !oflag) || qflag || lflag)
471 /* --color and -o */
472 if ((oflag || color) && m > 0) {
477 if (color)
478 fprintf(stdout, "\33[%sm\33[K", color);
483 if (color)
H A Dgrep.c72 /* 5*/ "\t[-e pattern] [-f file] [--binary-files=value] [--color=when]\n",
121 const char *color; /* --color */ variable
179 {"color", optional_argument, NULL, COLOR_OPT},
583 color = NULL;
592 color = init_color("01;31");
596 color = init_color("01;31");
600 errx(2, getstr(3), "--color");
H A Dgrep.h128 extern const char *color;
H A Dfastgrep.c158 !oflag && !color) {
/system/core/include/private/pixelflinger/
H A Dggl_context.h110 // To maintain 8-bits color chanels, with a maximum GGLSurface
112 // for encoding the color iterators
289 uint8_t color; member in struct:android::mask_state_t
308 uint8_t color[4]; member in struct:android::fog_state_t
429 surface_t color; member in struct:android::framebuffer_t
/system/core/include/pixelflinger/
H A Dpixelflinger.h216 // Set the textures and color buffers
229 // specify the fragment's color
231 void (*color4xv)(void* c, const GGLclampx* color);
232 // specify color iterators (16.16)
241 // specify fog iterator & color (16.16)
243 void (*fogColor3xv)(void* c, const GGLclampx* color);
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp50 // but this would use up to 4 more registers for the color components
55 comment("compute initial iterated color (smooth and/or dither case)");
60 // 0x1: color component
96 // adjust the color iterator to make sure it won't overflow
116 // just use a packed version of the color and extract the
119 // figure out if we need the iterated color
133 comment("load initial iterated color (8888 packed)");
138 comment("load initial iterated color (dest format packed)");
142 // pre-mask the iterated color
170 // pre-mask the iterated color
[all...]
H A Dblending.cpp48 immed12_pre(GGL_OFFSETOF(state.fog.color[component])));
H A DGGLAssembler.cpp246 comment("fetch color-buffer");
257 // iterated color or direct texture
313 // update the iterated color...
390 comment("compute color-buffer pointer");
394 CONTEXT_LOAD(Rs, state.buffers.color.stride);
395 CONTEXT_LOAD(parts.cbPtr.reg, state.buffers.color.data);
442 // iterated color
534 // iterated color
632 // update the iterated color in a pipelined way...
633 comment("update iterated color");
[all...]

Completed in 233 milliseconds