Hi guys,
I am a new member here. This is my first post.
I try to purchase some new Blade 2500 for the
company. However, the vendor suggests me to get Blade 2000 instead. The vendor said he has many problems
with new Silver Blade 2500's. Has anyone here had
simlar experience with blade 2500?... (4 Replies)
Hi, Sir,
I have a customer who use a SB2000 as server and just upgraded three client machine with SB2500.
The system is used for planning and all boxes likely share the same source on server, so pretty slow when all machines are in operation.
The customer wish to do a server-to-client and... (0 Replies)
Hi everyone this is my first post
I have used linux a couple of times and was impressed, so i bought an old sunblade 1000, just to learn something new.
I cannot get the thing to work! I have tried to install solaris 10 and several types of linux. I am beginning to wonder if i was sold a... (3 Replies)
Progress! 25% there on our way 10,000 FB fans on the new timeline:
https://www.unix.com/members/neo-albums-forum-pics-picture503-facebook-timeline-now-over-2-500-fans.png (0 Replies)
Hi,
I recently got StoragaTek 2500 and I would like to connect it to my solaris machine, since I don't have much experience with storages, could someone point me how to do so, how can i present disks from storage on my solaris os? (everything is already connected)
thanks in advance (1 Reply)
Hello All,
I am new to the forum so forgive me for any mistakes. I have a question. I have been doing alot of reading about how to get a supportable operating system on my sunblade 2500. I also want to use it for Xorg. I have been having trouble getting the sun XVR drivers working... (2 Replies)
hello everyone,
I am new to linux and got this deliverable to write a script that should check for error in multiple log file (count is approx 2500 log files on single server) and once error is found, it should mail that error
My logic says:
we can put all log files path/location in one... (2 Replies)
Good Afternoon,
I'm setting up a SunBlade 2500 using ufsrestoreand have gotten to the point where I have restored the root and usr partitions. However, the machine keeps rebooting, never really coming up. Looking at vfstab, it looks pretty empty- shouldn't I see entries like... (22 Replies)
Discussion started by: Stellaman1977
22 Replies
LEARN ABOUT DEBIAN
get_gfx_mode_type
get_gfx_mode_type(3alleg4) Allegro manual get_gfx_mode_type(3alleg4)NAME
get_gfx_mode_type - Retrieves type information for a specific graphics card. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_gfx_mode_type(int graphics_card);
DESCRIPTION
This function lets you determine the types of operating modes that a specific graphics card driver operates in. It will tell you whether it
is a windowed, fullscreen, definitely windowed or fullscreen, and/or a magic driver.
The value returned is a bitfield consisting of these fields:
GFX_TYPE_UNKNOWN GFX_TYPE_WINDOWED GFX_TYPE_FULLSCREEN GFX_TYPE_DEFINITE GFX_TYPE_MAGIC
The return value will only be equivalent to GFX_TYPE_UNKNOWN when it is a driver unrecognized on that platform, or it is a bogus value.
Test for the other types by using a bitwise AND. If the driver is windowed or fullscreen, it will also have the definite flag set. For
example,
int gfx_type = get_gfx_mode_type(GFX_AUTODETECT_WINDOWED);
gfx_type would have the GFX_TYPE_WINDOWED, GFX_TYPE_DEFINITE, and GFX_TYPE_MAGIC flags set.
Allegro needs to be initialized first.
Example:
/* Accept the use of only windowed drivers in our selection dialog */
int accept_windowed(int card , int w , int h , int color_depth)
{
if (get_gfx_mode_type(card) & GFX_TYPE_WINDOWED)
return 0;
return 1;
}
/* In main: */
gfx_mode_select_filter(&card, &w, &h, &color_depth, accept_windowed);
RETURN VALUE
Returns a bitfield describing the graphics mode type.
SEE ALSO gfx_mode_select_filter(3alleg4), get_gfx_mode(3alleg4), set_gfx_mode(3alleg4), is_windowed_mode(3alleg4)Allegro version 4.4.2 get_gfx_mode_type(3alleg4)