Highspeed pixmaps ?!?
- From: Arndt Schwaiger <arsc0001 stud uni-sb de>
- To: gtk-list redhat com
- Subject: Highspeed pixmaps ?!?
- Date: Tue, 14 Mar 2000 11:38:12 +0100
Hi there,
I have to scroll a very large scenario in a drawing area.
The scenario is created by many pixmaps squares (32 x 32 pixels) every
0.3 seconds.
Its like a game scrolling routine. I must really copy all squares every
0.3 seconds, because a changing of all square graphics in only one frame
is possible ! After creating the background, I put "sprites" over it.
I am using double buffering.Its really like an old amiga game scrolling
routine.
My problem is now, that this takes too much time even on very fast
computers.
Is it possible to use perhaps something like OpenGL under gtk or gtk--
in a drawing area widget to solve my speed problem ? Is it possible with
OpenGL to copy only 2d graphics very fast in a gtk drawing area ?
Is it possible to use OpenGL only for my drawing area widget and all
other things like toplevel-window, menus, toolbars etc. can be unchanged
?? Or is there any other possibility to copy pixmaps or other formats
like color bitmaps very fast on a gtk drawing area ??
Regards
Arndt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]