am afff0dae: copybit: hack to always request premultiplied alpha blend.

Merge commit 'afff0dae18bbea0b39ad151e73ae20cbc11e3edd' into eclair-plus-aosp

* commit 'afff0dae18bbea0b39ad151e73ae20cbc11e3edd':
  copybit: hack to always request premultiplied alpha blend.
This commit is contained in:
Dima Zavin
2009-09-24 14:53:26 -07:00
committed by Android Git Automerger

View File

@@ -192,7 +192,7 @@ static void set_rects(struct copybit_context_t *dev,
static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req) {
req->alpha = dev->mAlpha;
req->transp_mask = MDP_TRANSP_NOP;
req->flags = dev->mFlags;
req->flags = dev->mFlags | MDP_BLEND_FG_PREMULT;
}
/** copy the bits */