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.cpp349 const GGLFormat* f = in pick_scanline()
1673 gen.argb[GGLFormat::ALPHA].c = ci.ydady; in init_y()
1674 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx; in init_y()
1675 gen.argb[GGLFormat::RED ].c = ci.ydrdy; in init_y()
1676 gen.argb[GGLFormat::RED ].dx = c->shade.drdx; in init_y()
1677 gen.argb[GGLFormat::GREEN].c = ci.ydgdy; in init_y()
1678 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx; in init_y()
1679 gen.argb[GGLFormat::BLUE ].c = ci.ydbdy; in init_y()
1680 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx; in init_y()
2257 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.cpp122 if (!mCbFormat.c[GGLFormat::ALPHA].h) { in scanline_core()
159 int fs = i==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; in scanline_core()
160 int fd = i==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; in scanline_core()
161 if (fs==GGL_SRC_ALPHA_SATURATE && i==GGLFormat::ALPHA) in scanline_core()
167 (i==GGLFormat::GREEN || i==GGLFormat::BLUE)) { in scanline_core()
170 info.needed = (i==GGLFormat::ALPHA) && in scanline_core()
175 info.fog = mFog && info.inDest && (i != GGLFormat::ALPHA); in scanline_core()
273 build_component(pixel, parts, GGLFormat::ALPHA, regs); in scanline_core()
281 build_component(pixel, parts, GGLFormat::RED, regs); in scanline_core()
282 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;
323 GGLFormat format;
553 GGLFormat mCbFormat;
Dblending.cpp73 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; in build_blending()
74 int fd = component==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; in build_blending()
75 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA) in build_blending()
271 if (component==GGLFormat::ALPHA && !isAlphaSourceNeeded()) { in build_blend_factor()
349 extract(factor, dst_pixel, GGLFormat::ALPHA); in build_blend_factor()
Dtexturing.cpp129 if (mBlending || mDithering || mInfo[GGLFormat::ALPHA].needed) { in init_iterated_color()
303 if (!tmu.format.c[GGLFormat::ALPHA].h) { in decodeTMUNeeds()
308 tmu.mask &= ~(1<<GGLFormat::ALPHA); in decodeTMUNeeds()
1161 extract(factor, incomingTexel, GGLFormat::ALPHA); in decal()
1189 if (component == GGLFormat::ALPHA) { in blend()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h537 const GGLFormat* formats;