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 SET_TEX_COORDS | ( | x, | |||
y | ) |
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().
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.