Sponsored Content
Full Discussion: Weird Question
Top Forums UNIX for Advanced & Expert Users Weird Question Post 57203 by AbEnd on Wednesday 20th of October 2004 05:21:50 PM
Old 10-20-2004
Yeah, and even with Windows, you usually don't access the video memory directly. AFAIK, most apps will use the GDI lib or DirectX/OpenGL for bitmap graphics. And in fact, most apps won't need bitmaps at all; they will just use GUI widgets.

If you need bitmap graphics under UNIX, take a look at X11 (Ximage functions or the MIT-SHM extension are prolly what you should use), GGI, SDL or something with OpenGL.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weird script

I need a script to do the following and have no idea how to do it...can someone help? I need to start Sql*Plus, load a query, say "unmatched.sql", run the query, then load unmatched.sc and run it, then print the output file that unmatched.sc created... any help greatly appreciated. Duckman (2 Replies)
Discussion started by: Duckman
2 Replies

2. UNIX for Dummies Questions & Answers

Weird Problem???

I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler #!/bin/ksh VAR='Oranges' if then echo "Found Lemons" elif then echo "Found Oranges" fi The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies

3. Shell Programming and Scripting

weird permissions

Context: Apache 2.0, Redhat 8.0, Perl 5.80 I am using the follwing line to write a file open UPLOADFILE, ">$writeto" or errorcantwrite(); which works just fine when the directory permissions are 700 However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies

4. UNIX for Dummies Questions & Answers

Kind of weird question

I recently purchased a book titled Hacking: The Art of Exploitation. When I got it home I read the preface and found out that i shouldnt have bought it. It says the code examples in this book were done on an x86 based computer (I have a mac). Is there anything I can do to make my mac run similar to... (2 Replies)
Discussion started by: Cyberaxe
2 Replies

5. HP-UX

HP-UX weird FTP ?

Hi, I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Discussion started by: IngmarMeins
10 Replies

6. UNIX for Dummies Questions & Answers

Weird File

$ls -lrt -rw-r--r-- 1 rathodr users 1757 Jan 6 13:36 cleanup.archive.files.pl -rwxr-xr-x 1 rathodr users 20503 Jan 6 13:52 alarm.control.pl -rw-r--r-- 1 rathodr users 20503 Jan 9 04:52q The last file seems to be a weird file. I am not sure how was it created. Maybe... (5 Replies)
Discussion started by: rahulrathod
5 Replies

7. Shell Programming and Scripting

Help with my weird script!

So I have this script titled "testing.sh" #!/bin/ksh #PROGRAM INITIALIZATION HomeDir=/home/sap/gl/ftp server=testftp01 userid=ftp_uatollmsgbus password="f&p53715" MSGLOG=${HomeDir}/msglog.txt FTPLogTmp=${HomeDir}/testing.tmp FTPLogFile=${HomeDir}/testing.log... (1 Reply)
Discussion started by: kdyzsa
1 Replies

8. UNIX for Dummies Questions & Answers

weird 'ls' output

Hi, Anyone knows why I can't display the contents of my directory and how to fix this? http://i50.tinypic.com/4smfth.jpg Thanks in advance for any advise. Deanne Double post. Continued here. (0 Replies)
Discussion started by: Deanne
0 Replies

9. Red Hat

Something weird with the FS size

Hi, I have a problem with a Files system. # df -h Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% / /dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot /dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies

10. Shell Programming and Scripting

Tcsh precmd weird question

I encountered a weird question while using tcsh. I wrote a test script trying to control 'history' behavior as below, set history=(1000 "%h\t%Y-%W-%D %P %R\n") set savehist=(1000 merge) alias precmd 'history -S;history -M' I was hoping all the user's commands input in multiple terminals... (6 Replies)
Discussion started by: bestard
6 Replies
create_video_bitmap(3alleg4)					  Allegro manual				      create_video_bitmap(3alleg4)

NAME
create_video_bitmap - Creates a video memory bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> BITMAP *create_video_bitmap(int width, int height); DESCRIPTION
Allocates a video memory bitmap of the specified size. This can be used to allocate offscreen video memory for storing source graphics ready for a hardware accelerated blitting operation, or to create multiple video memory pages which can then be displayed by calling show_video_bitmap(). Read the introduction of this chapter for a comparison with other types of bitmaps and other specific details. Warning: video memory bitmaps are usually allocated from the same space as the screen bitmap, so they may overlap with it; it is therefore not a good idea to use the global screen at the same time as any surfaces returned by this function. RETURN VALUE
Returns a pointer to the bitmap on success, or NULL if you have run out of video ram. Remember to destroy this bitmap before any subsequent call to set_gfx_mode(). SEE ALSO
create_bitmap(3alleg4), create_bitmap_ex(3alleg4), create_system_bitmap(3alleg4), create_sub_bitmap(3alleg4), destroy_bitmap(3alleg4), screen(3alleg4), show_video_bitmap(3alleg4), gfx_capabilities(3alleg4), is_video_bitmap(3alleg4), clear_bitmap(3alleg4), clear_to_color(3alleg4), ex3buf(3alleg4), exaccel(3alleg4), exflip(3alleg4), exupdate(3alleg4) Allegro version 4.4.2 create_video_bitmap(3alleg4)
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy