Home
last modified time | relevance | path

Searched refs:GGLFormat (Results 1 – 13 of 13) sorted by relevance

/system/core/libpixelflinger/
Dformat.cpp23 static GGLFormat const gPixelFormatInfos[] =
70 const GGLFormat* gglGetPixelFormatTable(size_t* numEntries) in gglGetPixelFormatTable()
73 *numEntries = sizeof(android::gPixelFormatInfos)/sizeof(GGLFormat); in gglGetPixelFormatTable()
Dbuffer.cpp67 const GGLFormat& pixelFormat(c->formats[dst->format]); in ggl_set_surface()
116 const GGLFormat* f = &(c->formats[s->format]); in read_pixel()
173 const GGLFormat* f = &(c->formats[s->format]); in write_pixel()
182 (i==GGLFormat::GREEN || i==GGLFormat::BLUE)) { in write_pixel()
260 const GGLFormat* f = &(c->formats[format]); in ggl_pack_color()
Dpixelflinger.cpp284 c->state.fog.color[GGLFormat::ALPHA]= 0xFF; // unused in ggl_fogColor3xv()
285 c->state.fog.color[GGLFormat::RED] = (r - (r>>8))>>8; in ggl_fogColor3xv()
286 c->state.fog.color[GGLFormat::GREEN]= (g - (g>>8))>>8; in ggl_fogColor3xv()
287 c->state.fog.color[GGLFormat::BLUE] = (b - (b>>8))>>8; in ggl_fogColor3xv()
519 if (a) mask |= 1 << GGLFormat::ALPHA; in ggl_colorMask()
520 if (r) mask |= 1 << GGLFormat::RED; in ggl_colorMask()
521 if (g) mask |= 1 << GGLFormat::GREEN; in ggl_colorMask()
522 if (b) mask |= 1 << GGLFormat::BLUE; in ggl_colorMask()
Dpicker.cpp57 const GGLFormat& cbf = c->formats[ c->state.buffers.color.format ]; in ggl_pick()
58 if (!cbf.c[GGLFormat::ALPHA].h) { in ggl_pick()
Dscanline.cpp354 const GGLFormat* f = in pick_scanline()
1678 gen.argb[GGLFormat::ALPHA].c = ci.ydady; in init_y()
1679 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx; in init_y()
1680 gen.argb[GGLFormat::RED ].c = ci.ydrdy; in init_y()
1681 gen.argb[GGLFormat::RED ].dx = c->shade.drdx; in init_y()
1682 gen.argb[GGLFormat::GREEN].c = ci.ydgdy; in init_y()
1683 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx; in init_y()
1684 gen.argb[GGLFormat::BLUE ].c = ci.ydbdy; in init_y()
1685 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx; in init_y()
2263 const GGLFormat* fp = &(c->formats[cb->format]); in scanline_memcpy()
[all …]
Draster.cpp105 const GGLFormat* fp = &(c->formats[cb->format]); in ggl_copyPixels()
Dtrap.cpp455 const GGLFormat* fp = &(c->formats[cb->format]); in scanline_set()
/system/core/libpixelflinger/include/pixelflinger/
Dformat.h124 } GGLFormat; typedef
128 extern "C" const GGLFormat* gglGetPixelFormatTable(size_t* numEntries = 0);
130 const GGLFormat* gglGetPixelFormatTable(size_t* numEntries);
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp123 if (!mCbFormat.c[GGLFormat::ALPHA].h) { in scanline_core()
160 int fs = i==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; in scanline_core()
161 int fd = i==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; in scanline_core()
162 if (fs==GGL_SRC_ALPHA_SATURATE && i==GGLFormat::ALPHA) in scanline_core()
168 (i==GGLFormat::GREEN || i==GGLFormat::BLUE)) { in scanline_core()
171 info.needed = (i==GGLFormat::ALPHA) && in scanline_core()
176 info.fog = mFog && info.inDest && (i != GGLFormat::ALPHA); in scanline_core()
274 build_component(pixel, parts, GGLFormat::ALPHA, regs); in scanline_core()
282 build_component(pixel, parts, GGLFormat::RED, regs); in scanline_core()
283 build_component(pixel, parts, GGLFormat::GREEN, regs); in scanline_core()
[all …]
DGGLAssembler.h234 memset(&format, 0, sizeof(GGLFormat)); in pixel_t()
236 pixel_t(int r, const GGLFormat* fmt, int f=0)
239 void setTo(int r, const GGLFormat* fmt, int f=0) {
242 GGLFormat format;
315 GGLFormat format;
545 GGLFormat mCbFormat;
Dblending.cpp72 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; in build_blending()
73 int fd = component==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; in build_blending()
74 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA) in build_blending()
270 if (component==GGLFormat::ALPHA && !isAlphaSourceNeeded()) { in build_blend_factor()
348 extract(factor, dst_pixel, GGLFormat::ALPHA); in build_blend_factor()
Dtexturing.cpp128 if (mBlending || mDithering || mInfo[GGLFormat::ALPHA].needed) { in init_iterated_color()
302 if (!tmu.format.c[GGLFormat::ALPHA].h) { in decodeTMUNeeds()
307 tmu.mask &= ~(1<<GGLFormat::ALPHA); in decodeTMUNeeds()
1168 extract(factor, incomingTexel, GGLFormat::ALPHA); in decal()
1196 if (component == GGLFormat::ALPHA) { in blend()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h537 const GGLFormat* formats;