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()
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()
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()
Dscanline.cpp319 const GGLFormat* f = in pick_scanline()
1634 gen.argb[GGLFormat::ALPHA].c = ci.ydady; in init_y()
1635 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx; in init_y()
1636 gen.argb[GGLFormat::RED ].c = ci.ydrdy; in init_y()
1637 gen.argb[GGLFormat::RED ].dx = c->shade.drdx; in init_y()
1638 gen.argb[GGLFormat::GREEN].c = ci.ydgdy; in init_y()
1639 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx; in init_y()
1640 gen.argb[GGLFormat::BLUE ].c = ci.ydbdy; in init_y()
1641 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx; in init_y()
2206 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/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()
271 build_component(pixel, parts, GGLFormat::ALPHA, regs); in scanline_core()
279 build_component(pixel, parts, GGLFormat::RED, regs); in scanline_core()
280 build_component(pixel, parts, GGLFormat::GREEN, regs); in scanline_core()
[all …]
DGGLAssembler.h224 memset(&format, 0, sizeof(GGLFormat)); in pixel_t()
226 pixel_t(int r, const GGLFormat* fmt, int f=0)
229 void setTo(int r, const GGLFormat* fmt, int f=0) {
232 GGLFormat format;
305 GGLFormat format;
535 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.cpp132 if (mBlending || mDithering || mInfo[GGLFormat::ALPHA].needed) { in init_iterated_color()
306 if (!tmu.format.c[GGLFormat::ALPHA].h) { in decodeTMUNeeds()
311 tmu.mask &= ~(1<<GGLFormat::ALPHA); in decodeTMUNeeds()
1255 extract(factor, incomingTexel, GGLFormat::ALPHA); in decal()
1283 if (component == GGLFormat::ALPHA) { in blend()
/system/core/include/private/pixelflinger/
Dggl_context.h515 const GGLFormat* formats;