videovtb.c File Reference

video bitmaps (ie. More...

#include <string.h>
#include <limits.h>
#include <allegro.h>
#include "alleggl.h"
#include "allglint.h"
#include "glvtable.h"
#include <allegro/internal/aintern.h>
#include <GL/glu.h>

Go to the source code of this file.

Defines

Functions

Video Bitmap Rountines

Variables


Detailed Description

video bitmaps (ie.

texture rendering) vtable Some of these don't work correctly or will be very slow.

Definition in file videovtb.c.


Function Documentation

void allegro_gl_destroy_video_bitmap ( BITMAP *  bmp  ) 

destroy_video_bitmap() overload.

Will destroy the video bitmap. You mustn't use the BITMAP pointer after calling this function.

Referenced by allegro_gl_make_video_bitmap().

BITMAP* allegro_gl_create_video_bitmap ( int  w,
int  h 
)

create_video_bitmap() overload.

This function will create a video bitmap using texture memory. Video bitmaps do not currently share space with the frame buffer (screen). Video bitmaps are lost when switching screen modes.

Definition at line 344 of file videovtb.c.

References __allegro_gl_video_bitmap_bpp, allegro_gl_make_video_bitmap(), allegro_gl_video_vtable, and video_bitmap_count.


Generated on Sun Nov 11 15:52:55 2007 for AllegroGL by  doxygen 1.5.2