Menu

#7 Translucency under DirectX

closed
nobody
None
5
2012-10-09
2001-08-29
Anonymous
No

It would be nice if Allegro supported hardware
acceleration under DirectX for set_trans_blender() and
set_add_blender() and set_alpha_blender().

In a test case done by myself, Allegro runs at 250 fps
in Windows/DirectX with triple buffering and a simple
bitmapped background. If I add a small amount of
alpha-blended text to the screen (Ten or so letters,
being the name of the level), the framerate drops to
40 fps. Clearly, this is unacceptable.

  • Connelly Barnes

Discussion

  • Robert J Ohannessian

    Logged In: YES
    user_id=41801

    AFAIK DDraw3 does not support hardware translucency. The software translucency will be sped up and some blenders should be 5-6 times faster by WIP 39.

     
  • Eric Botcazou

    Eric Botcazou - 2001-09-05

    Logged In: YES
    user_id=113920

    Aren't you blending directly on your screen buffers ?
    If so, we have found the problem (see the docs).

     

Log in to post a comment.