(1) I just download SDL 1.0, and compiled everything, it look nice.
But when I “make install”, there something confuse me. And I get the following
messages:
make[4]: Enter directory 'SDL-1.0.0/src/video/x11’
Nothing to be done for 'install-exec-am’
Nothing to be done for ‘install-data-am’
and it seems not install in my system. Is anyone can help me?
(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?
(1) I just download SDL 1.0, and compiled everything, it look nice.
But when I “make install”, there something confuse me. And I get the following
messages:
make[4]: Enter directory 'SDL-1.0.0/src/video/x11’
Nothing to be done for 'install-exec-am’
Nothing to be done for ‘install-data-am’
The x11 libraries are included in the main SDL library, and as such are
not installed directly to the install directory. This is not a problem.
(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?
Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().
(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?
Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().
Did the full-screen VGA stuff make it into this release? Or is it still
pretty unstable?
(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?
Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().
Did the full-screen VGA stuff make it into this release? Or is it still
pretty unstable?
There’s experimental SVGAlib support, which works for me, but I haven’t
tested it on a wide number of distributions. You can enable it by running
configure with the “–enable-video-svga” flag, and there is framebuffer
console support, which is enabled by default, but only supports the
PS/2 and MS mouse protocols at the moment.
There is also an experimental GGI driver which can be enabled by running
configure with the “–enable-video-ggi” flag.
You can explicitly select from any of the compiled-in drivers by
setting the environment variable “SDL_VIDEODRIVER”.
Drivers and corresponding environment variable strings: