Click here to Skip to main content
16,016,557 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: How is BitBlt implemented Pin
Skippums16-Nov-07 9:02
Skippums16-Nov-07 9:02 
GeneralRe: How is BitBlt implemented Pin
Force Code16-Nov-07 9:59
Force Code16-Nov-07 9:59 
GeneralRe: How is BitBlt implemented Pin
Jheriko++17-Nov-07 17:18
Jheriko++17-Nov-07 17:18 
GeneralRe: How is BitBlt implemented Pin
Alan Balkany29-Nov-07 4:46
Alan Balkany29-Nov-07 4:46 
GeneralRe: How is BitBlt implemented Pin
Mark Churchill19-Nov-07 14:58
Mark Churchill19-Nov-07 14:58 
GeneralRe: How is BitBlt implemented Pin
Force Code19-Nov-07 20:24
Force Code19-Nov-07 20:24 
AnswerRe: How is BitBlt implemented Pin
Chris Losinger19-Nov-07 4:36
professionalChris Losinger19-Nov-07 4:36 
AnswerRe: How is BitBlt implemented Pin
El Corazon20-Nov-07 5:04
El Corazon20-Nov-07 5:04 
Force Code wrote:
So I need to find out the algorithms that BitBlt is employing to do what it does and if its possible for me to emulate that (assuming that BitBlt isn't relying primarily on graphics hardware that can't be accessed from a web application.)


did you try googling bitblt.c? Although the current version has gone through some changes over the years, the code is as old as I am. BitBlt operations were done before accelerated graphics cards for memory manipulaton. It was these routines that were used over and over again that became part of hardware operations on the graphics card (2D acceleration), and eventually part of multimedia and extended instruction sets of the CPU itself.

When you find it, you will discover why it was done in hardware to speed it up. I am with the others, you are not going to be happy with the performance. Hardware operations of BitBlt will be nice and smooth, you can achieve the same on a fast processor, but you are wasting a LOT of processor cycles that could be more effectively used on something more important than reinventing the wheel.

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: How is BitBlt implemented Pin
Force Code20-Nov-07 6:14
Force Code20-Nov-07 6:14 
GeneralRe: How is BitBlt implemented Pin
El Corazon20-Nov-07 6:30
El Corazon20-Nov-07 6:30 
GeneralRe: How is BitBlt implemented Pin
Force Code20-Nov-07 7:05
Force Code20-Nov-07 7:05 
GeneralRe: How is BitBlt implemented Pin
El Corazon20-Nov-07 7:12
El Corazon20-Nov-07 7:12 
GeneralRe: How is BitBlt implemented Pin
Force Code20-Nov-07 7:35
Force Code20-Nov-07 7:35 
GeneralRe: How is BitBlt implemented Pin
El Corazon20-Nov-07 7:50
El Corazon20-Nov-07 7:50 
GeneralRe: How is BitBlt implemented Pin
Force Code20-Nov-07 8:07
Force Code20-Nov-07 8:07 
GeneralRe: How is BitBlt implemented Pin
Dexterus29-Nov-07 4:18
Dexterus29-Nov-07 4:18 
AnswerRe: How is BitBlt implemented Pin
The Nightcoder27-Nov-07 11:47
The Nightcoder27-Nov-07 11:47 
QuestionAny one know c4.5 Pin
ibnoe13-Nov-07 14:27
ibnoe13-Nov-07 14:27 
GeneralRe: Any one know c4.5 Pin
John_Adams10-Dec-07 23:36
John_Adams10-Dec-07 23:36 
QuestionSplitting a Polygon into Rectangles Pin
notacake12-Nov-07 3:02
notacake12-Nov-07 3:02 
AnswerRe: Splitting a Polygon into Rectangles Pin
Luc Pattyn12-Nov-07 4:19
sitebuilderLuc Pattyn12-Nov-07 4:19 
GeneralRe: Splitting a Polygon into Rectangles Pin
Skippums16-Nov-07 9:07
Skippums16-Nov-07 9:07 
QuestionAssymetric Encryption Algorithms Pin
Skippums8-Nov-07 8:56
Skippums8-Nov-07 8:56 
AnswerRe: Assymetric Encryption Algorithms Pin
El Corazon8-Nov-07 9:17
El Corazon8-Nov-07 9:17 
AnswerRe: Assymetric Encryption Algorithms Pin
Luc Pattyn8-Nov-07 9:18
sitebuilderLuc Pattyn8-Nov-07 9:18 

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.