Re: GeForce / ATI?




santosh 寫道:

cmk128@xxxxxxxxxxx wrote:
santosh 寫道:

cmk128@xxxxxxxxxxx wrote:
Hi
How can i send a command to tell GeForce/ATI to help me to draw
something(rect, circle, etc...)?
I really can't find the programming guide from GeForce/ATI web site,
please help.
thanks
from Peter (cmk128@xxxxxxxxxxx)

Such companies don't release the programming interface for their
products. That's why they provide custom, often binary only, drivers,
built in-house.

You can however either use the VESA interface, (which won't get the
maximum out of the card), or use OpenGL and/or DierctX APIs. They in
turn will do the needfull, provided of course, you've installed the
GPU's drivers for your OS.

Hi Santosh
I am a os developer and i am currently developing my GUI library,
i found if i use CPU to draw something to the screen, it is very very
slow, the refresh rate will become <2 per second, which is
unacceptable.
If the display card company really don't release the interface,
using vesa is the only one way to help me?

You can always keep asking them to release the programming
specifications, but I highly doubt it would be successful seeing as
they haven't done so even for Linux.

Yes, if the GPU needs special drivers and the manufacterers release
versions only for Windows, MacOS, Linux etc., then you've no choice but
to fall back on VESA.

You can always try to reverse engineer the GPUs but that's a whole
different story, and a _very_ tough job.

May be i can compile some
linux graphic libraries to static library and link to my os.
thanks

One plausible thing you can do is make your OS core compatible with
drivers from an OS like Linux. This is not a trivial thing to do,
especially, if your kernel is designed to a microkernel, _and_ it will
mess up your design somewhat, but it _is_ a way to take advantage of
the drivers already done for the other OS.

Of course, licensing issues will come up galore. :)

Why don't you post to a group like alt.os.development or comp.graphics
etc.? They might happen to have additional insights.

thanks santosh :)

.



Relevant Pages

  • Re: GeForce / ATI?
    ... How can i send a command to tell GeForce/ATI to help me to draw ... I really can't find the programming guide from GeForce/ATI web site, ... GPU's drivers for your OS. ... they haven't done so even for Linux. ...
    (alt.lang.asm)
  • Re: forth in forth
    ... Device drivers won't increase the visibility of Forth. ... you use Linux the obvious place to look for projects is ... If this user is also interested in computer programming ...
    (comp.lang.forth)
  • [GIT PULL] Blackfin fixing and updates for 2.6.30 merge window
    ... Blackfin arch: add sport-spi related resource stuff to board file ... include linux headers that this one uses definitions from fro sport drivers ... be less noisy when gets a gpio conflict after kernel has booted ...
    (Linux-Kernel)
  • Re: Can this loop be made faster ?
    ... BUT, as "compensation", nVidia do make the effort to support Linux by ... providing "binary only" drivers...the drivers are "closed source", ... registers and starts executing at ring 0...basically, ... > also need a hw able to do pixel shading. ...
    (alt.lang.asm)
  • Re: [PATCH] memcgroup: check and initialize page->cgroup in memmap_init_zone
    ... Linux assumes pointers in zeroed structures are NULL pointers." ... # Firmware Drivers ... # PCI IDE chipsets support ... # USB Network Adapters ...
    (Linux-Kernel)