Searched refs:fog (Results 1 - 6 of 6) sorted by relevance

/system/core/libpixelflinger/
H A Dpixelflinger.cpp284 c->state.fog.color[GGLFormat::ALPHA]= 0xFF; // unused
285 c->state.fog.color[GGLFormat::RED] = (r - (r>>8))>>8;
286 c->state.fog.color[GGLFormat::GREEN]= (g - (g>>8))>>8;
287 c->state.fog.color[GGLFormat::BLUE] = (b - (b>>8))>>8;
H A Dscanline.cpp886 // fog
889 GGLfixed fc = (c->state.fog.color[i] * 0x10000) / 0xFF;
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp36 if (mInfo[component].fog) {
38 comment("fog");
48 immed12_pre(GGL_OFFSETOF(state.fog.color[component])));
53 // clamp fog factor (TODO: see if there is a way to guarantee
H A DGGLAssembler.h336 bool fog : 1; member in struct:android::GGLAssembler::component_info_t
H A DGGLAssembler.cpp176 info.fog = mFog && info.inDest && (i != GGLFormat::ALPHA);
321 // update iterated fog
401 // init fog
404 comment("compute initial fog coordinate");
525 need_extract |= mInfo[component].fog;
594 // fog...
/system/core/include/private/pixelflinger/
H A Dggl_context.h517 fog_state_t fog; member in struct:android::state_t

Completed in 2818 milliseconds