Results 1 to 6 of 6

Thread: Updating a TDirectDrawSurface

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Hori's DelphiX was not hardware accelerated and therefore 10 times slower. UnDelphiX is different.

    I originally tried to load each bitmap into the same slot in a DXImageList but that lead to many memory leaks and errors.
    DXImageList should work aswell. You must have some error in the code or that is another bug..?

    edit: Oh, you can try freeing the Surface before drawing the picture in. It's a little weird solution though. Also what you are doing is using TBitmap whereas all graphics with DelphiX should properly be TDirectDrawSurfaces mainly from DXImageList. You can draw a list item on a surface without canvas.
    Last edited by User137; 23-02-2011 at 07:13 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •