Click here to Skip to main content
15,900,110 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
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 
Force Code wrote:
If BitBlt is encoded in hardware now, then presumably flash could access it, and probably they already are accessing it,


It is in hardware, they are accessing it now through hardware. The primary goal in script languages such as this is to raise the script programmer to a higher level. If you program a low-level routine in script and compare it to a compiled language, the result would always favor the compiled language. So you don't even attempt to compete at that level.

Where a graphic library in C/C++ might use BitBlt() functions to manipulate graphics, in script you operate on a higher level at the object level not at the bitmap level. This might actually employ several low-level routines, precompiled into a higher order function that is called by the script. As you grow the language to a higher level your speed approaches compiled equivalence because you are calling pre-compiled low-level routines from the high-level script language.

So, yes, I although I have not used flash in ages, I am sure they are using BitBlt() functions in their code somewhere. Now flash did undergo an even larger change about 2 years ago, operating in 2D mode as a 3D higher order function. This bypasses the need for BitBlt() functions because of depth buffer access on a 3D graphics card and blend modes. Where a 3D graphics card is not available to use, I am sure the routines are still there to drop back to 2D BitBlt() functions.

Or at least I should say, they intended to change. Since I don't do flash anymore I have no way to verify it. But I was there at the Siggraph presentation talking about the transition from 2D to 3D operations for both speed and additional functionality. The presentation was pretty good since they showed the three phases, reproducing exactly what they had in 2D to 3D (no visible change, only faster drawing), and then they added some "special effects" magic that would be unreasonable under 2D.

Sorry, can't help you with the script language itself, I can help in theory, but not specifics when it comes to flash.

_________________________
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 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
Peter Josefsson Sweden27-Nov-07 11:47
Peter Josefsson Sweden27-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 
QuestionRe: Assymetric Encryption Algorithms Pin
Skippums8-Nov-07 9:33
Skippums8-Nov-07 9:33 
AnswerRe: Assymetric Encryption Algorithms Pin
Luc Pattyn8-Nov-07 9:56
sitebuilderLuc Pattyn8-Nov-07 9:56 

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.