Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.libsdl.video
Class SDLVideoInfo  view SDLVideoInfo download SDLVideoInfo.java

java.lang.Object
  extended byorg.libsdl.SDLStruct
      extended byorg.libsdl.video.SDLVideoInfo

public class SDLVideoInfo
extends org.libsdl.SDLStruct

The SDLVideoInfo class represents an SDL_VideoInfo C struct. The class extends SDLStruct and thus represents a native C structure. The video info structure contains information about the capabilities of the video hardware.

Version:
$revision$

Field Summary
 
Fields inherited from class org.libsdl.SDLStruct
pointer
 
Constructor Summary
protected SDLVideoInfo(int l)
           
 
Method Summary
 boolean colorFillsAccel()
          Find out if color fills are accelerated.
 SDLPixelFormat getPixelFormat()
          Get the pixel format of the video device
 boolean hardwareAvailable()
          Find out if hardware surfaces are available.
 boolean hwAlphaBlitsAccel()
          Find out if hardware alpha blits are accelerated.
 boolean hwBlitsAccel()
          Find out if hardware blits are accelerated.
 boolean hwCCBlitsAccel()
          Find out if hardware colorkey blits are accelerated.
 boolean swAlphaBlitsAccel()
          Find out if software alpha blits are accelerated.
 boolean swBlitsAccel()
          Find out if software blits are accelerated.
 boolean swCCBlitsAccel()
          Find out if software colorkey blits are accelerated.
 int videoMemoryAvailable()
          Find out how much video memory is available.
 boolean windowManagerAvailable()
          Find out if a window manager available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDLVideoInfo

protected SDLVideoInfo(int l)
Method Detail

hardwareAvailable

public boolean hardwareAvailable()
Find out if hardware surfaces are available.


windowManagerAvailable

public boolean windowManagerAvailable()
Find out if a window manager available.


hwBlitsAccel

public boolean hwBlitsAccel()
Find out if hardware blits are accelerated.


hwCCBlitsAccel

public boolean hwCCBlitsAccel()
Find out if hardware colorkey blits are accelerated.


hwAlphaBlitsAccel

public boolean hwAlphaBlitsAccel()
Find out if hardware alpha blits are accelerated.


swBlitsAccel

public boolean swBlitsAccel()
Find out if software blits are accelerated.


swCCBlitsAccel

public boolean swCCBlitsAccel()
Find out if software colorkey blits are accelerated.


swAlphaBlitsAccel

public boolean swAlphaBlitsAccel()
Find out if software alpha blits are accelerated.


colorFillsAccel

public boolean colorFillsAccel()
Find out if color fills are accelerated.


videoMemoryAvailable

public int videoMemoryAvailable()
Find out how much video memory is available.


getPixelFormat

public SDLPixelFormat getPixelFormat()
Get the pixel format of the video device