Allegro Graphics Driver

These functions are used to implement Allegro function over an OpenGL screen. More...

Defines

Functions

Variables


Detailed Description

These functions are used to implement Allegro function over an OpenGL screen.

Keep in mind that some restictions mentioned in Allegro docs about video bitmaps and the screen do not apply when using AllegroGL GFX driver. Namely:


Define Documentation

#define SET_TEX_COORDS ( x,
 ) 

Value:

do {                      \
        if (__agl_drawing_pattern_tex) {  \
            glTexCoord2f (                \
                (x - _drawing_x_anchor) / (float)__agl_drawing_pattern_bmp->w,\
                (y - _drawing_y_anchor) / (float)__agl_drawing_pattern_bmp->h \
            );                                                                \
        }                                                                     \
    } while(0)

Definition at line 348 of file glvtable.c.

Referenced by allegro_gl_screen_rectfill(), and allegro_gl_screen_triangle().


Function Documentation

static void allegro_gl_screen_acquire ( struct BITMAP *  bmp  )  [static]

acquire_bitmap(screen) overload.

This doesn't do anything, since OpenGL rendering context doesn't need locking. You don't need to call this function in your program.

Definition at line 160 of file glvtable.c.

static void allegro_gl_screen_release ( struct BITMAP *  bmp  )  [static]

release_bitmap(screen) overload.

This doesn't do anything, since OpenGL rendering context doesn't need locking. You don't need to call this function in your program.

Definition at line 170 of file glvtable.c.

static void allegro_gl_video_acquire ( struct BITMAP *  bmp  )  [static]

acquire_bitmap(bmp) overload.

This doesn't do anything, since OpenGL textures doesn't need locking. You don't need to call this function in your program.

Definition at line 437 of file videovtb.c.

static void allegro_gl_video_release ( struct BITMAP *  bmp  )  [static]

release_bitmap(bmp) overload.

This doesn't do anything, since OpenGL textures doesn't need locking. You don't need to call this function in your program.

Definition at line 448 of file videovtb.c.


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