Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 8ffe23af9b6e2265bcac8526648e8186 > files > 118

alleggl-devel-0.4.3-8.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>AllegroGL: glvtable.c File Reference</title>
<link href="alleggl.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul>
</div>
<h1>glvtable.c File Reference</h1>Allegro-&gt;OpenGL conversion vtable. <a href="#_details">More...</a>
<p>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;allegro.h&gt;</code><br>
<code>#include &quot;<a class="el" href="alleggl_8h-source.html">alleggl.h</a>&quot;</code><br>
<code>#include &quot;allglint.h&quot;</code><br>
<code>#include &quot;glvtable.h&quot;</code><br>
<code>#include &lt;allegro/internal/aintern.h&gt;</code><br>
<code>#include &lt;GL/glu.h&gt;</code><br>

<p>
<a href="glvtable_8c-source.html">Go to the source code of this file.</a><h2>Defines</h2>
<ul>
<li>#define <a class="el" href="group__glvtable.html#g397c41b7c07794b6edce960693361a83">SET_TEX_COORDS</a>(x, y)
<li><a class="anchor" name="gad05bc3970b50f749ceaa43307349998"></a><!-- doxytag: member="glvtable.c::BITMAP_BLIT_CLIP" ref="gad05bc3970b50f749ceaa43307349998" args="(source, dest, source_x, source_y, dest_x, dest_y, width, height)" -->
#define <a class="el" href="group__glvtable.html#gad05bc3970b50f749ceaa43307349998">BITMAP_BLIT_CLIP</a>(source, dest, source_x, source_y, dest_x, dest_y, <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li>#define <b>DRAW_RLE_8888</b>(bits)
<li><a class="anchor" name="1de8f5d53ebb9ac4bbeafcf856f73354"></a><!-- doxytag: member="glvtable.c::BIN_2_DEG" ref="1de8f5d53ebb9ac4bbeafcf856f73354" args="(x)" -->
#define <b>BIN_2_DEG</b>(x)&nbsp;&nbsp;&nbsp;(-(x) * 180.0 / 128)
</ul>
<h2>Functions</h2>
<ul>
<li><a class="anchor" name="gf2dd739125f0ca84ac9c68263b4266f2"></a><!-- doxytag: member="glvtable.c::__allegro_gl_make_power_of_2" ref="gf2dd739125f0ca84ac9c68263b4266f2" args="(int x)" -->
int <a class="el" href="group__glvtable.html#gf2dd739125f0ca84ac9c68263b4266f2">__allegro_gl_make_power_of_2</a> (int x)
<li><a class="anchor" name="g04407f993ca3c21d922919db724b96c2"></a><!-- doxytag: member="glvtable.c::allegro_gl_drawing_mode" ref="g04407f993ca3c21d922919db724b96c2" args="(void)" -->
void <a class="el" href="group__glvtable.html#g04407f993ca3c21d922919db724b96c2">allegro_gl_drawing_mode</a> (void)
<li><a class="anchor" name="g5085e09cbdc329bfd6bd6b7fc65170c8"></a><!-- doxytag: member="glvtable.c::split_color" ref="g5085e09cbdc329bfd6bd6b7fc65170c8" args="(int color, GLubyte *r, GLubyte *g, GLubyte *b, GLubyte *a, int color_depth)" -->
void <a class="el" href="group__glvtable.html#g5085e09cbdc329bfd6bd6b7fc65170c8">split_color</a> (int color, GLubyte *r, GLubyte *g, GLubyte *b, GLubyte *a, int color_depth)
<li><a class="anchor" name="g26f4a6de9f04b0807fa42700dd1a20d7"></a><!-- doxytag: member="glvtable.c::allegro_gl_created_sub_bitmap" ref="g26f4a6de9f04b0807fa42700dd1a20d7" args="(BITMAP *bmp, BITMAP *parent)" -->
void <a class="el" href="group__glvtable.html#g26f4a6de9f04b0807fa42700dd1a20d7">allegro_gl_created_sub_bitmap</a> (BITMAP *bmp, BITMAP *parent)
<li>static void <a class="el" href="group__glvtable.html#g702812e50246c61eb9f01fd8aba69325">allegro_gl_screen_acquire</a> (struct BITMAP *bmp)
<dl class="el"><dd class="mdescRight">acquire_bitmap(screen) overload.  <a href="group__glvtable.html#g702812e50246c61eb9f01fd8aba69325"></a><br></dl><li>static void <a class="el" href="group__glvtable.html#g6c2b0685587a0feafcb194a9a67d6aa9">allegro_gl_screen_release</a> (struct BITMAP *bmp)
<dl class="el"><dd class="mdescRight">release_bitmap(screen) overload.  <a href="group__glvtable.html#g6c2b0685587a0feafcb194a9a67d6aa9"></a><br></dl><li><a class="anchor" name="g921c990bff3ea0faac62def172b9ac5b"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_getpixel" ref="g921c990bff3ea0faac62def172b9ac5b" args="(struct BITMAP *bmp, int x, int y)" -->
static int <a class="el" href="group__glvtable.html#g921c990bff3ea0faac62def172b9ac5b">allegro_gl_screen_getpixel</a> (struct BITMAP *bmp, int x, int y)
<li><a class="anchor" name="g709f50a3934bc2339ff583c5d8d7ac4c"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_putpixel" ref="g709f50a3934bc2339ff583c5d8d7ac4c" args="(struct BITMAP *bmp, int x, int y, int color)" -->
static void <a class="el" href="group__glvtable.html#g709f50a3934bc2339ff583c5d8d7ac4c">allegro_gl_screen_putpixel</a> (struct BITMAP *bmp, int x, int y, int color)
<li><a class="anchor" name="g7a14c4dbc0363e39c33b0416661aee98"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_vline" ref="g7a14c4dbc0363e39c33b0416661aee98" args="(struct BITMAP *bmp, int x, int y1, int y2, int color)" -->
static void <a class="el" href="group__glvtable.html#g7a14c4dbc0363e39c33b0416661aee98">allegro_gl_screen_vline</a> (struct BITMAP *bmp, int x, int y1, int y2, int color)
<li><a class="anchor" name="g134f31b9686555dae42ae0ab1c1a2fff"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_hline" ref="g134f31b9686555dae42ae0ab1c1a2fff" args="(struct BITMAP *bmp, int x1, int y, int x2, int color)" -->
static void <a class="el" href="group__glvtable.html#g134f31b9686555dae42ae0ab1c1a2fff">allegro_gl_screen_hline</a> (struct BITMAP *bmp, int x1, int y, int x2, int color)
<li><a class="anchor" name="ge401467052c88d9b91a1f80b0e0fa2ff"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_line" ref="ge401467052c88d9b91a1f80b0e0fa2ff" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
static void <a class="el" href="group__glvtable.html#ge401467052c88d9b91a1f80b0e0fa2ff">allegro_gl_screen_line</a> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" name="g694a43ed2653fc57c21e50f2266737e8"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_rectfill" ref="g694a43ed2653fc57c21e50f2266737e8" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
void <a class="el" href="group__glvtable.html#g694a43ed2653fc57c21e50f2266737e8">allegro_gl_screen_rectfill</a> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" name="g986ad50a7a2b3ab9aa561c49bf5335e0"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle" ref="g986ad50a7a2b3ab9aa561c49bf5335e0" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int x3, int y3, int color)" -->
static void <a class="el" href="group__glvtable.html#g986ad50a7a2b3ab9aa561c49bf5335e0">allegro_gl_screen_triangle</a> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int x3, int y3, int color)
<li><a class="anchor" name="g131ec6d465e280a411980f664e35c3f2"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_from_memory" ref="g131ec6d465e280a411980f664e35c3f2" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <a class="el" href="group__glvtable.html#g131ec6d465e280a411980f664e35c3f2">allegro_gl_screen_blit_from_memory</a> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li><a class="anchor" name="g61116278e2fbfc40e010df442fc7d0cb"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_to_memory" ref="g61116278e2fbfc40e010df442fc7d0cb" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <a class="el" href="group__glvtable.html#g61116278e2fbfc40e010df442fc7d0cb">allegro_gl_screen_blit_to_memory</a> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li><a class="anchor" name="g0dc407670ad3a20ca8b69668cafb00a7"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_blit_to_self" ref="g0dc407670ad3a20ca8b69668cafb00a7" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
void <a class="el" href="group__glvtable.html#g0dc407670ad3a20ca8b69668cafb00a7">allegro_gl_screen_blit_to_self</a> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li><a class="anchor" name="g787fdbf593783a6b16297babbaa9034b"></a><!-- doxytag: member="glvtable.c::allegro_gl_upload_and_display_texture" ref="g787fdbf593783a6b16297babbaa9034b" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, GLint format, GLint type)" -->
void <a class="el" href="group__glvtable.html#g787fdbf593783a6b16297babbaa9034b">allegro_gl_upload_and_display_texture</a> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, GLint format, GLint type)
<li><a class="anchor" name="g2d861206138005d1b5839f20584038e5"></a><!-- doxytag: member="glvtable.c::do_screen_masked_blit_standard" ref="g2d861206138005d1b5839f20584038e5" args="(GLint format, GLint type, struct BITMAP *temp, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <a class="el" href="group__glvtable.html#g2d861206138005d1b5839f20584038e5">do_screen_masked_blit_standard</a> (GLint format, GLint type, struct BITMAP *temp, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, int blit_type)
<li><a class="anchor" name="g4ebcb4f89dbec9ce336bf9e22341b9bc"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_standard" ref="g4ebcb4f89dbec9ce336bf9e22341b9bc" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <a class="el" href="group__glvtable.html#g4ebcb4f89dbec9ce336bf9e22341b9bc">screen_masked_blit_standard</a> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, int blit_type)
<li><a class="anchor" name="g9c785ee9d92d83013cb8a50cfa4d902c"></a><!-- doxytag: member="glvtable.c::__allegro_gl_init_nv_register_combiners" ref="g9c785ee9d92d83013cb8a50cfa4d902c" args="(BITMAP *bmp)" -->
static void <a class="el" href="group__glvtable.html#g9c785ee9d92d83013cb8a50cfa4d902c">__allegro_gl_init_nv_register_combiners</a> (BITMAP *bmp)
<li><a class="anchor" name="g55c7236cf9729bd83502a5fdea3f5656"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_nv_register" ref="g55c7236cf9729bd83502a5fdea3f5656" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <a class="el" href="group__glvtable.html#g55c7236cf9729bd83502a5fdea3f5656">screen_masked_blit_nv_register</a> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, int blit_type)
<li><a class="anchor" name="g2989c50c9769183992c303fe1689f2a4"></a><!-- doxytag: member="glvtable.c::__allegro_gl_init_combine_textures" ref="g2989c50c9769183992c303fe1689f2a4" args="(BITMAP *bmp)" -->
static void <a class="el" href="group__glvtable.html#g2989c50c9769183992c303fe1689f2a4">__allegro_gl_init_combine_textures</a> (BITMAP *bmp)
<li><a class="anchor" name="ga4da17f4b4f2fad9bd3e623f4da377ce"></a><!-- doxytag: member="glvtable.c::screen_masked_blit_combine_tex" ref="ga4da17f4b4f2fad9bd3e623f4da377ce" args="(struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
static void <a class="el" href="group__glvtable.html#ga4da17f4b4f2fad9bd3e623f4da377ce">screen_masked_blit_combine_tex</a> (struct BITMAP *source, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, int blit_type)
<li><a class="anchor" name="gff57a6bbb1e26a7a6a04220ab2e7ccb9"></a><!-- doxytag: member="glvtable.c::do_masked_blit_screen" ref="gff57a6bbb1e26a7a6a04220ab2e7ccb9" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height, int flip_dir, int blit_type)" -->
void <a class="el" href="group__glvtable.html#gff57a6bbb1e26a7a6a04220ab2e7ccb9">do_masked_blit_screen</a> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>, int flip_dir, int blit_type)
<li><a class="anchor" name="g4492f963fb22e239cf0007c4b262d8c3"></a><!-- doxytag: member="glvtable.c::__allegro_gl_convert_rle_sprite" ref="g4492f963fb22e239cf0007c4b262d8c3" args="(AL_CONST struct RLE_SPRITE *sprite, int trans)" -->
static BITMAP * <a class="el" href="group__glvtable.html#g4492f963fb22e239cf0007c4b262d8c3">__allegro_gl_convert_rle_sprite</a> (AL_CONST struct RLE_SPRITE *sprite, int trans)
<li><a class="anchor" name="g16f50f04ce8310bb6a110bd4b32fc362"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_rle_sprite" ref="g16f50f04ce8310bb6a110bd4b32fc362" args="(struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)" -->
void <a class="el" href="group__glvtable.html#g16f50f04ce8310bb6a110bd4b32fc362">allegro_gl_screen_draw_rle_sprite</a> (struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)
<li><a class="anchor" name="g2c836f850dc542b782acd5e7ca82cbcf"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_trans_rgba_rle_sprite" ref="g2c836f850dc542b782acd5e7ca82cbcf" args="(struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g2c836f850dc542b782acd5e7ca82cbcf">allegro_gl_screen_draw_trans_rgba_rle_sprite</a> (struct BITMAP *bmp, AL_CONST struct RLE_SPRITE *sprite, int x, int y)
<li><a class="anchor" name="ge67e14a596e418324f4df3708b8a073a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_masked_blit" ref="ge67e14a596e418324f4df3708b8a073a" args="(struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
static void <a class="el" href="group__glvtable.html#ge67e14a596e418324f4df3708b8a073a">allegro_gl_screen_masked_blit</a> (struct BITMAP *source, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li><a class="anchor" name="g69343ec4e2cffd05868b58f0068beda9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite" ref="g69343ec4e2cffd05868b58f0068beda9" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g69343ec4e2cffd05868b58f0068beda9">allegro_gl_screen_draw_sprite</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="g97666d6e17222004544c2acf152d637d"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_v_flip" ref="g97666d6e17222004544c2acf152d637d" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g97666d6e17222004544c2acf152d637d">allegro_gl_screen_draw_sprite_v_flip</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="g3293849696eac35e57b39e393532233f"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_h_flip" ref="g3293849696eac35e57b39e393532233f" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g3293849696eac35e57b39e393532233f">allegro_gl_screen_draw_sprite_h_flip</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="gcd4a30eff37e1d3a8f877ef49b1e926c"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_sprite_vh_flip" ref="gcd4a30eff37e1d3a8f877ef49b1e926c" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#gcd4a30eff37e1d3a8f877ef49b1e926c">allegro_gl_screen_draw_sprite_vh_flip</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="g683899f78545eab4648bddd396303279"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_pivot_scaled_sprite_flip" ref="g683899f78545eab4648bddd396303279" args="(struct BITMAP *bmp, struct BITMAP *sprite, fixed x, fixed y, fixed cx, fixed cy, fixed angle, fixed scale, int v_flip)" -->
static void <a class="el" href="group__glvtable.html#g683899f78545eab4648bddd396303279">allegro_gl_screen_pivot_scaled_sprite_flip</a> (struct BITMAP *bmp, struct BITMAP *sprite, fixed x, fixed y, fixed cx, fixed cy, fixed angle, fixed scale, int v_flip)
<li><a class="anchor" name="g36e088851faed6b4001e67afbe1affd9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_trans_rgba_sprite" ref="g36e088851faed6b4001e67afbe1affd9" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g36e088851faed6b4001e67afbe1affd9">allegro_gl_screen_draw_trans_rgba_sprite</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="g14425004040eaf59dad3d5937e072851"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_glyph_ex" ref="g14425004040eaf59dad3d5937e072851" args="(struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg, int flip)" -->
void <a class="el" href="group__glvtable.html#g14425004040eaf59dad3d5937e072851">allegro_gl_screen_draw_glyph_ex</a> (struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg, int flip)
<li><a class="anchor" name="g658f4ac879e4b20cca3b60dce4d86846"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_glyph" ref="g658f4ac879e4b20cca3b60dce4d86846" args="(struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg)" -->
static void <a class="el" href="group__glvtable.html#g658f4ac879e4b20cca3b60dce4d86846">allegro_gl_screen_draw_glyph</a> (struct BITMAP *bmp, AL_CONST struct FONT_GLYPH *glyph, int x, int y, int color, int bg)
<li><a class="anchor" name="g9f229b5924ad20f83f25a81622800a8e"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_color_glyph_ex" ref="g9f229b5924ad20f83f25a81622800a8e" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg, int flip)" -->
void <a class="el" href="group__glvtable.html#g9f229b5924ad20f83f25a81622800a8e">allegro_gl_screen_draw_color_glyph_ex</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg, int flip)
<li><a class="anchor" name="gd2358dccf113c1fe7f8e765e67de1d89"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_color_glyph" ref="gd2358dccf113c1fe7f8e765e67de1d89" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)" -->
static void <a class="el" href="group__glvtable.html#gd2358dccf113c1fe7f8e765e67de1d89">allegro_gl_screen_draw_color_glyph</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)
<li><a class="anchor" name="g9685dcaec7aa65db8e790fa8177a86b0"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_character" ref="g9685dcaec7aa65db8e790fa8177a86b0" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)" -->
static void <a class="el" href="group__glvtable.html#g9685dcaec7aa65db8e790fa8177a86b0">allegro_gl_screen_draw_character</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y, int color, int bg)
<li><a class="anchor" name="g117ffbc09394307a4c78d9b48ed5b8fc"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_draw_256_sprite" ref="g117ffbc09394307a4c78d9b48ed5b8fc" args="(struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)" -->
static void <a class="el" href="group__glvtable.html#g117ffbc09394307a4c78d9b48ed5b8fc">allegro_gl_screen_draw_256_sprite</a> (struct BITMAP *bmp, struct BITMAP *sprite, int x, int y)
<li><a class="anchor" name="g333283185678bab117599411cb4f39f3"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_clear_to_color" ref="g333283185678bab117599411cb4f39f3" args="(struct BITMAP *bmp, int color)" -->
void <a class="el" href="group__glvtable.html#g333283185678bab117599411cb4f39f3">allegro_gl_screen_clear_to_color</a> (struct BITMAP *bmp, int color)
<li><a class="anchor" name="g1a0882cc74dbed492216654cca342a5b"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon" ref="g1a0882cc74dbed492216654cca342a5b" args="(struct BITMAP *bmp, int vertices, AL_CONST int *points, int color)" -->
static void <a class="el" href="group__glvtable.html#g1a0882cc74dbed492216654cca342a5b">allegro_gl_screen_polygon</a> (struct BITMAP *bmp, int vertices, AL_CONST int *points, int color)
<li><a class="anchor" name="g13a50c4adf518c0e67dd6035ab9b82a4"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_rect" ref="g13a50c4adf518c0e67dd6035ab9b82a4" args="(struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)" -->
static void <a class="el" href="group__glvtable.html#g13a50c4adf518c0e67dd6035ab9b82a4">allegro_gl_screen_rect</a> (struct BITMAP *bmp, int x1, int y1, int x2, int y2, int color)
<li><a class="anchor" name="g96c4dc94111a6da2ffe8b302e08e076a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon3d_f" ref="g96c4dc94111a6da2ffe8b302e08e076a" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D_f *vtx[])" -->
void <a class="el" href="group__glvtable.html#g96c4dc94111a6da2ffe8b302e08e076a">allegro_gl_screen_polygon3d_f</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, int vc, V3D_f *vtx[])
<li><a class="anchor" name="g846d6008860731bc15174ffc0db13831"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_polygon3d" ref="g846d6008860731bc15174ffc0db13831" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, int vc, V3D *vtx[])" -->
static void <a class="el" href="group__glvtable.html#g846d6008860731bc15174ffc0db13831">allegro_gl_screen_polygon3d</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, int vc, V3D *vtx[])
<li><a class="anchor" name="ge6144517eaa1d07c5916fceb6a642daa"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_quad3d_f" ref="ge6144517eaa1d07c5916fceb6a642daa" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3, V3D_f *v4)" -->
static void <a class="el" href="group__glvtable.html#ge6144517eaa1d07c5916fceb6a642daa">allegro_gl_screen_quad3d_f</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, V3D_f *v1, V3D_f *v2, V3D_f *v3, V3D_f *v4)
<li><a class="anchor" name="gd8ffe84bdb8a77b8b2b8b859f6f52cf9"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_quad3d" ref="gd8ffe84bdb8a77b8b2b8b859f6f52cf9" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3, V3D *v4)" -->
static void <a class="el" href="group__glvtable.html#gd8ffe84bdb8a77b8b2b8b859f6f52cf9">allegro_gl_screen_quad3d</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, V3D *v1, V3D *v2, V3D *v3, V3D *v4)
<li><a class="anchor" name="g8077770f174942074a4fd482e291bf1f"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle3d" ref="g8077770f174942074a4fd482e291bf1f" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D *v1, V3D *v2, V3D *v3)" -->
static void <a class="el" href="group__glvtable.html#g8077770f174942074a4fd482e291bf1f">allegro_gl_screen_triangle3d</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, V3D *v1, V3D *v2, V3D *v3)
<li><a class="anchor" name="g69acb6d9581157054e3c75f99a0dcc1a"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_triangle3d_f" ref="g69acb6d9581157054e3c75f99a0dcc1a" args="(struct BITMAP *bmp, int type, struct BITMAP *texture, V3D_f *v1, V3D_f *v2, V3D_f *v3)" -->
static void <a class="el" href="group__glvtable.html#g69acb6d9581157054e3c75f99a0dcc1a">allegro_gl_screen_triangle3d_f</a> (struct BITMAP *bmp, int type, struct BITMAP *<a class="el" href="gui_8c.html#0704dfe56dec926cb35f7bdc0834ecd0">texture</a>, V3D_f *v1, V3D_f *v2, V3D_f *v3)
<li><a class="anchor" name="g92174c26d0fca4803d4d5f7cbb8716ec"></a><!-- doxytag: member="glvtable.c::__allegro_gl__glvtable_update_vtable" ref="g92174c26d0fca4803d4d5f7cbb8716ec" args="(GFX_VTABLE **vtable)" -->
void <a class="el" href="group__glvtable.html#g92174c26d0fca4803d4d5f7cbb8716ec">__allegro_gl__glvtable_update_vtable</a> (GFX_VTABLE **vtable)
<li>void <a class="el" href="group__allegro.html#g7ea7ffd9b72d0d0722cbf982b729efdb">allegro_gl_set_allegro_mode</a> (void)
<dl class="el"><dd class="mdescRight">Prepares for Allegro drawing to the screen.  <a href="group__allegro.html#g7ea7ffd9b72d0d0722cbf982b729efdb"></a><br></dl><li>void <a class="el" href="group__allegro.html#g00fbbee541046767114bf9746ceb6f8b">allegro_gl_unset_allegro_mode</a> (void)
<dl class="el"><dd class="mdescRight">Restores previous OpenGL settings.  <a href="group__allegro.html#g00fbbee541046767114bf9746ceb6f8b"></a><br></dl><li>void <a class="el" href="group__allegro.html#gbaf6024e9d196da357aad02c5dc7589f">allegro_gl_set_projection</a> (void)
<dl class="el"><dd class="mdescRight">Prepares for Allegro drawing to the screen.  <a href="group__allegro.html#gbaf6024e9d196da357aad02c5dc7589f"></a><br></dl><li>void <a class="el" href="group__allegro.html#g603f8f3719d02816acdf3dbdcaa1f447">allegro_gl_unset_projection</a> (void)
<dl class="el"><dd class="mdescRight">Restores previously saved projection.  <a href="group__allegro.html#g603f8f3719d02816acdf3dbdcaa1f447"></a><br></dl><li><a class="anchor" name="g9f6042da85f5738a43821f83d491a772"></a><!-- doxytag: member="glvtable.c::allegro_gl_memory_blit_between_formats" ref="g9f6042da85f5738a43821f83d491a772" args="(struct BITMAP *src, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int width, int height)" -->
void <a class="el" href="group__glvtable.html#g9f6042da85f5738a43821f83d491a772">allegro_gl_memory_blit_between_formats</a> (struct BITMAP *src, struct BITMAP *dest, int source_x, int source_y, int dest_x, int dest_y, int <a class="el" href="gui_8c.html#2474a5474cbff19523a51eb1de01cda4">width</a>, int <a class="el" href="gui_8c.html#d12fc34ce789bce6c8a05d8a17138534">height</a>)
<li><a class="anchor" name="ga61710c66f03d0c47602d22768e4bcc4"></a><!-- doxytag: member="glvtable.c::dummy_unwrite_bank" ref="ga61710c66f03d0c47602d22768e4bcc4" args="(void)" -->
static void <a class="el" href="group__glvtable.html#ga61710c66f03d0c47602d22768e4bcc4">dummy_unwrite_bank</a> (void)
</ul>
<h2>Variables</h2>
<ul>
<li><a class="anchor" name="fe00121a82e1c2ba4a94e690a1a326f5"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_vtable" ref="fe00121a82e1c2ba4a94e690a1a326f5" args="" -->
static GFX_VTABLE <a class="el" href="glvtable_8c.html#fe00121a82e1c2ba4a94e690a1a326f5">allegro_gl_screen_vtable</a>
<li><a class="anchor" name="d72d761cd04f799d21da8d59cab2182f"></a><!-- doxytag: member="glvtable.c::__allegro_gl_pool_texture" ref="d72d761cd04f799d21da8d59cab2182f" args="" -->
static GLuint <a class="el" href="glvtable_8c.html#d72d761cd04f799d21da8d59cab2182f">__allegro_gl_pool_texture</a> = 0
<li><a class="anchor" name="08de572ca4af6f95d29c93c7011d1479"></a><!-- doxytag: member="glvtable.c::__allegro_gl_dummy_texture" ref="08de572ca4af6f95d29c93c7011d1479" args="" -->
static GLuint <a class="el" href="glvtable_8c.html#08de572ca4af6f95d29c93c7011d1479">__allegro_gl_dummy_texture</a> = 0
<li><a class="anchor" name="9193931a7f4a22f80daae4a495f13061"></a><!-- doxytag: member="glvtable.c::__agl_owning_drawing_pattern_tex" ref="9193931a7f4a22f80daae4a495f13061" args="" -->
static int <a class="el" href="glvtable_8c.html#9193931a7f4a22f80daae4a495f13061">__agl_owning_drawing_pattern_tex</a> = FALSE
<li><a class="anchor" name="1c5e4f15e561fc1f335a76d32135c122"></a><!-- doxytag: member="glvtable.c::__agl_drawing_pattern_tex" ref="1c5e4f15e561fc1f335a76d32135c122" args="" -->
GLuint <a class="el" href="glvtable_8c.html#1c5e4f15e561fc1f335a76d32135c122">__agl_drawing_pattern_tex</a> = 0
<li><a class="anchor" name="dc2cff32ad2b6f426fd288f48e08637e"></a><!-- doxytag: member="glvtable.c::__agl_drawing_pattern_bmp" ref="dc2cff32ad2b6f426fd288f48e08637e" args="" -->
BITMAP * <a class="el" href="glvtable_8c.html#dc2cff32ad2b6f426fd288f48e08637e">__agl_drawing_pattern_bmp</a> = 0
<li><a class="anchor" name="a4786d37ab0c5b87f87aacc22bc7cb19"></a><!-- doxytag: member="glvtable.c::__agl_drawing_mode" ref="a4786d37ab0c5b87f87aacc22bc7cb19" args="" -->
static int <a class="el" href="glvtable_8c.html#a4786d37ab0c5b87f87aacc22bc7cb19">__agl_drawing_mode</a> = DRAW_MODE_SOLID
<li><a class="anchor" name="gf9c51fa0a17c012fa3584b03e45e96e6"></a><!-- doxytag: member="glvtable.c::allegro_gl_projection_matrix" ref="gf9c51fa0a17c012fa3584b03e45e96e6" args="[16]" -->
static double <a class="el" href="group__glvtable.html#gf9c51fa0a17c012fa3584b03e45e96e6">allegro_gl_projection_matrix</a> [16]
<li><a class="anchor" name="gb872906d7a4f142647002d3ff5058a0e"></a><!-- doxytag: member="glvtable.c::allegro_gl_modelview_matrix" ref="gb872906d7a4f142647002d3ff5058a0e" args="[16]" -->
static double <a class="el" href="group__glvtable.html#gb872906d7a4f142647002d3ff5058a0e">allegro_gl_modelview_matrix</a> [16]
<li><a class="anchor" name="gfe00121a82e1c2ba4a94e690a1a326f5"></a><!-- doxytag: member="glvtable.c::allegro_gl_screen_vtable" ref="gfe00121a82e1c2ba4a94e690a1a326f5" args="" -->
static GFX_VTABLE <a class="el" href="group__glvtable.html#gfe00121a82e1c2ba4a94e690a1a326f5">allegro_gl_screen_vtable</a>
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Allegro-&gt;OpenGL conversion vtable. 
<p>

<p>
Definition in file <a class="el" href="glvtable_8c-source.html">glvtable.c</a>.<hr><h2>Define Documentation</h2>
<a class="anchor" name="c92acf76d57ce5134ca2dafb547e1581"></a><!-- doxytag: member="glvtable.c::DRAW_RLE_8888" ref="c92acf76d57ce5134ca2dafb547e1581" args="(bits)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRAW_RLE_8888          </td>
          <td>(</td>
          <td class="paramtype">bits&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment">{                               \
        <span class="keywordflow">for</span> (y = 0; y &lt; sprite-&gt;h; y++) {           \
            <span class="keywordtype">signed</span> <span class="keywordtype">long</span> c = *s++;               \
            <span class="keywordflow">for</span> (x = 0; x &lt; sprite-&gt;w;) {           \
                <span class="keywordflow">if</span> (c == src_mask)          \
                    <span class="keywordflow">break</span>;              \
                <span class="keywordflow">if</span> (c &gt; 0) {                \
                    <span class="comment">/* Run of solid pixels */</span>   \
                    <span class="keywordflow">for</span> (c--; c&gt;=0; c--) {      \
                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> col = *s++;       \
                        <span class="keywordflow">if</span> (bits == 32 &amp;&amp; trans)        \
                            _putpixel32(temp, x++, y, makeacol32(getr32(col), getg32(col), getb32(col), geta32(col))); \
                        <span class="keywordflow">else</span>            \
                            _putpixel32(temp, x++, y, makeacol32(getr##bits(col), getg##bits(col), getb##bits(col), 255)); \
                    }               \
                }                   \
                <span class="keywordflow">else</span> {                  \
                    <span class="comment">/* Run of transparent pixels */</span> \
                    hline(temp, x, y, x-c+1, 0);    \
                    x -= c;             \
                }                   \
                c = *s++;               \
            }                       \
        }                           \
    }
</pre></div>
</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 12 11:05:32 2007 for AllegroGL by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>