Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWhich is faster TransparentBlt or AlphaBlend Pin
Chambers9-Nov-01 1:32
Chambers9-Nov-01 1:32 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Tomasz Sowinski9-Nov-01 1:54
Tomasz Sowinski9-Nov-01 1:54 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Chambers9-Nov-01 2:25
Chambers9-Nov-01 2:25 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Tomasz Sowinski9-Nov-01 2:36
Tomasz Sowinski9-Nov-01 2:36 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Chambers9-Nov-01 2:39
Chambers9-Nov-01 2:39 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Tomasz Sowinski9-Nov-01 2:43
Tomasz Sowinski9-Nov-01 2:43 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Chambers9-Nov-01 4:45
Chambers9-Nov-01 4:45 
GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Christian Graus9-Nov-01 9:59
protectorChristian Graus9-Nov-01 9:59 
As far as the functions I wrote are concerned, Alphablend is probably faster because it doesn't generate a mask on the fly, it accesses the bits directly. As Thomasz has said, if you're doing it over & over you're better off splitting the code so you only generate the mask once, that's probably faster again. The way to make my alpha blend function faster is to make sure the bitmap is a DIBSection to start with, then you can use GetObject to get the pointer to the underlying bits.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

GeneralRe: Which is faster TransparentBlt or AlphaBlend Pin
Chambers13-Nov-01 1:32
Chambers13-Nov-01 1:32 
Generalabout Registry Pin
Maer7279-Nov-01 1:28
Maer7279-Nov-01 1:28 
GeneralRe: about Registry Pin
Michael P Butler9-Nov-01 1:31
Michael P Butler9-Nov-01 1:31 
GeneralRe: about Registry Pin
Maer7279-Nov-01 1:44
Maer7279-Nov-01 1:44 
GeneralRe: about Registry Pin
Michael P Butler9-Nov-01 1:50
Michael P Butler9-Nov-01 1:50 
GeneralRe: about Registry Pin
Maer7279-Nov-01 18:28
Maer7279-Nov-01 18:28 
GeneralRe: about Registry Pin
Nish Nishant9-Nov-01 4:25
sitebuilderNish Nishant9-Nov-01 4:25 
GeneralRe: about Registry Pin
Maer7279-Nov-01 18:25
Maer7279-Nov-01 18:25 
GeneralCListCtrl window disappears?! Pin
Tommy H D Svensson8-Nov-01 22:57
Tommy H D Svensson8-Nov-01 22:57 
GeneralRe: CListCtrl window disappears?! Pin
Tomasz Sowinski8-Nov-01 23:30
Tomasz Sowinski8-Nov-01 23:30 
GeneralRe: CListCtrl window disappears?! Pin
Tommy H D Svensson9-Nov-01 1:13
Tommy H D Svensson9-Nov-01 1:13 
GeneralRe: CListCtrl window disappears?! Pin
Tomasz Sowinski9-Nov-01 1:27
Tomasz Sowinski9-Nov-01 1:27 
GeneralRe: CListCtrl window disappears?! Pin
Tommy H D Svensson9-Nov-01 1:37
Tommy H D Svensson9-Nov-01 1:37 
GeneralRe: CListCtrl window disappears?! Pin
Tomasz Sowinski9-Nov-01 1:57
Tomasz Sowinski9-Nov-01 1:57 
GeneralRe: CListCtrl window disappears?! Pin
Tommy H D Svensson9-Nov-01 2:22
Tommy H D Svensson9-Nov-01 2:22 
GeneralRe: CListCtrl window disappears?! Pin
Tomasz Sowinski9-Nov-01 2:40
Tomasz Sowinski9-Nov-01 2:40 
GeneralRe: CListCtrl window disappears?! Pin
Tommy H D Svensson9-Nov-01 2:59
Tommy H D Svensson9-Nov-01 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.