videovtb.c File Reference

video bitmaps (ie. More...

#include <string.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.

Functions

Variables


Detailed Description

video bitmaps (ie.

texture rendering) vtable Some of these don't work correctly or will be very slow. The current vtable is in early stages, and will be replaced by a better (faster) version 'soon'. Don't count on regular Allegro functions working on the screen or on video bitmaps.

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 may be of any size, but the color depth is fixed at 32bpp no matter what the frame buffer's depth might be. Video bitmaps are lost when switching screen modes.

Definition at line 226 of file videovtb.c.

References allegro_gl_make_video_bitmap(), allegro_gl_video_vtable, and video_bitmap_count.


Generated on Sun Dec 3 18:06:50 2006 for AllegroGL by  doxygen 1.5.1