Re: Accessing a locked surface

Tech-Archive recommends: Speed Up your PC by fixing your registry



[Please do not mail me a copy of your followup]

"Mark Morrisson" <mark4@xxxxxxxxxxxxxxx> spake the secret code
<44ed71f9$0$21151$7a628cd7@xxxxxxxxxxxxxxxxxxxxx> thusly:

Ok, guys, I'll have a look at Direct3D. I heard that some developers were
used Direct3D to code 2D effects, but it seems quite uncommon to me.

It depends on who you ask; I have the feeling that more hobbyists are
still using DirectDraw because 2D graphics is just intuitive.
Everyone is used to (x,y) integer pixel coordinates from GDI and just
plain being a user of a GUI. 3D graphics is intrinsicly harder with its
transformation matrices and 4D coordinates (no, that's not a typo :-).

[...] I'm
surprised that no hardware acceleration can be found in DirectDraw and that
it wasn't even used anymore... All games aren't coded in 3D though. Think of
the Heroes of Might and Magic serie, for example.

DirectDraw still maps to hardware acceleration for the operations it
supports, but it supports far fewer operations than the 3D pipeline.
I wouldn't be surprised if some 2D pipelines are really emulations on
top of the 3D pipeline with a restricted command-set. The 3D pipeline
is really a superset of what the 2D pipeline gives you.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Pilgrimage 2006, Saturday September 23rd: <http://pilgrimage.scene.org>
North America's Longest Running Demoparty
.



Relevant Pages

  • Re: hardware acceleration
    ... I don't think DirectDraw has been updated since DirectX 7.0. ... vendors only concentrate on the 3D pipeline now, which is why no one bothers ... a learning curve involved in becoming familiar with the 3D pipeline. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Disappearing Pictures
    ... It disables the hardware acceleration for DirectDraw and Direct3D, ... lowered accellerator 3 notches. ... Check on the Dell site to make ...
    (microsoft.public.word.newusers)
  • Re: DirectDraw vs GDI
    ... DirectDraw won't improve the performance of drawing lines, ... text if there isn't any hardware acceleration on the platform. ... GDI at all. ... The GPE display driver source is shipped as part of ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: DirectX9, DirectDraw, and obsolescence
    ... you'll need a new software design, otherwise you won't be able to properly ... >> Anything that you can do in DirectDraw you can do in D3D. ... >> use the same mechanism to achieve the same goal, but all the goals can ... >> CPU with DirectDraw can be achieved with hardware acceleration under ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: DirectX9, DirectDraw, and obsolescence
    ... > [Please do not mail me a copy of your followup] ... > Anything that you can do in DirectDraw you can do in D3D. ... > use the same mechanism to achieve the same goal, but all the goals can ... > CPU with DirectDraw can be achieved with hardware acceleration under ...
    (microsoft.public.win32.programmer.directx.graphics)