Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_gfx_mode_list(3alleg4) [debian man page]

get_gfx_mode_list(3alleg4)					  Allegro manual					get_gfx_mode_list(3alleg4)

NAME
get_gfx_mode_list - Obtains a list of available video modes. Allegro game programming library. SYNOPSIS
#include <allegro.h> GFX_MODE_LIST *get_gfx_mode_list(int card); DESCRIPTION
Attempts to create a list of all the supported video modes for a certain graphics driver, made up from the GFX_MODE_LIST structure, which has the following definition: typedef struct GFX_MODE_LIST { int num_modes; GFX_MODE *mode; } GFX_MODE_LIST; The mode entry points to the actual list of video modes. typedef struct GFX_MODE { int width, height, bpp; } GFX_MODE; This list of video modes is terminated with an { 0, 0, 0 } entry. Note that the card parameter must refer to a _real_ driver. This function fails if you pass GFX_SAFE, GFX_AUTODETECT, or any other "magic" driver. RETURN VALUE
Returns a pointer to a list structure of the type GFX_MODE_LIST or NULL if the request could not be satisfied. SEE ALSO
destroy_gfx_mode_list(3alleg4), set_gfx_mode(3alleg4), set_color_depth(3alleg4) Allegro version 4.4.2 get_gfx_mode_list(3alleg4)

Check Out this Related Man Page

extruec(3alleg4)						  Allegro manual						  extruec(3alleg4)

NAME
extruec - Truecolor pixel format conversions. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example extruec DESCRIPTION
This program shows how to specify colors in the various different truecolor pixel formats. The example shows the same screen (a few text lines and three coloured gradients) in all the color depth modes supported by your video card. The more color depth you have, the less banding you will see in the gradients. SEE ALSO
END_OF_MAIN(3alleg4), PALETTE(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_init(3alleg4), clear_to_color(3alleg4), font(3alleg4), generate_332_palette(3alleg4), install_keyboard(3alleg4), key(3alleg4), makecol(3alleg4), read- key(3alleg4), release_screen(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textout_cen- tre_ex(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4), vline(3alleg4) Allegro version 4.4.2 extruec(3alleg4)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

X Server on AIX w/o video card

Hi there, I'm a newbie so please be patient. I wanted to know if it was possible to run X server on a box w/o a video card. The reason I want to do this is I'd like to have a CDE session from sun workstation into the AIX box. Please let me know if this is feasible. Thanks for your time. (5 Replies)
Discussion started by: blah00000
5 Replies

2. UNIX for Dummies Questions & Answers

Exceed subsitutions?

Does anyone know if there any application perform better than Exceed? It seems some video card doesn't support Exceed. thx (1 Reply)
Discussion started by: E-Quality
1 Replies

3. UNIX for Advanced & Expert Users

redhat 7.2 dual head video card

HI. i have two monitor and two video card in one system, i want use both of the monitor, i am currently using redhat 7.2 and solaris 8, i was wondering if someone can help me set my system as a dual monitor, basically it called dual head in redhat but i dont' know what it called in sun. Im tring... (4 Replies)
Discussion started by: souldier
4 Replies

4. UNIX for Dummies Questions & Answers

Need help with video card.

http://adsl.027game.com/uploadImages/200211122321064403.jpg Help, please!!! :confused: :confused: :confused: (7 Replies)
Discussion started by: HOUSCOUS
7 Replies

5. Solaris

problems with my M3 video card and my Tatung Ultra 10 clone

i took this Elite 3D M3 video card out of my Ultra 60 machine which was replaced with an M6. the card was working w/o issue in the Ultra 60. however, i'm getting no video when i power the Tatung machine. yes, the M3 is does work with an AXi motherboard. any ideas what's causing the problem? (1 Reply)
Discussion started by: xyyz
1 Replies

6. UNIX for Dummies Questions & Answers

Dell Inspiron 1000

Hey people I am trying to installed red hat 9.0 on my laptop dell inspiron 1000 but it seem that after the installation the video card fail to work and I got an error. I look for the video card driver is a SiS 650 and I couldn't find it for linux.. any suggestion I really wanna Installed red hat... (1 Reply)
Discussion started by: LiTo
1 Replies

7. UNIX for Dummies Questions & Answers

running yast

At the end of the installation of my video card driver's, there is this note on the isntruction from intel 1. Run SuSE's own configurator called 'YAST' under System from SuSE application broswer menu a. Select the 'Hardware' icon b. Select the 'Graphics Card and Monitor' icon c. Select... (3 Replies)
Discussion started by: cherupop
3 Replies

8. Solaris

ultra sparc 2 no video - ok prompt access

I have an ultra sparc 2 with no video - I connect to it with hyperterm. Is there a way to get to the OK prompt? I have tried control/break and that does not work. If not is there a video card I can get to put in this box? I have Solaris 10 installed on this machine. Thanks (7 Replies)
Discussion started by: tribbles
7 Replies

9. UNIX for Dummies Questions & Answers

Help setting up XServer in Centos 5.4

Hi, After I remove the external video card after setup, Centos 5.4 upon boot cannot start the XServer for the onboard video card. How can I configure XServer to get it working? Machine is a DELL OPTIPLEX 745 (1 Reply)
Discussion started by: mojoman
1 Replies

10. Hardware

PIII video problems.

I have a PIII server, 700mb RAM, 500mhz.. the video card just, quit.. i replaced it with antoher video card.. that too wont work.. i know for a fact both cards are in working order, and it isnt my monitor... what is the problem? i cleaned out the whole computer last night, unplugged EVERYTHING then... (10 Replies)
Discussion started by: GermanWolf
10 Replies

11. Hardware

Sun X4100 graphics

Hello all. I have a requirement to install a aftermarket video card in the server, can you advise what fits? or if there is a sun riser part which convers the PCIx slot to PCIe The unit is a standard x4100 with PCIx slots, not an M2 with the PCIe slots. thanks (4 Replies)
Discussion started by: petebarchetta
4 Replies