RetroArch
Functions | Variables
menu_display_gl.c File Reference
#include <retro_miscellaneous.h>
#include "../../retroarch.h"
#include "../../gfx/font_driver.h"
#include "../../gfx/video_driver.h"
#include "../../gfx/common/gl_common.h"
#include "../menu_driver.h"
Include dependency graph for menu_display_gl.c:

Functions

static const float * menu_display_gl_get_default_vertices (void)
 
static const float * menu_display_gl_get_default_tex_coords (void)
 
static voidmenu_display_gl_get_default_mvp (video_frame_info_t *video_info)
 
static GLenum menu_display_prim_to_gl_enum (enum menu_display_prim_type type)
 
static void menu_display_gl_blend_begin (video_frame_info_t *video_info)
 
static void menu_display_gl_blend_end (video_frame_info_t *video_info)
 
static void menu_display_gl_viewport (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_gl_draw (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_gl_draw_pipeline (menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
 
static void menu_display_gl_restore_clear_color (void)
 
static void menu_display_gl_clear_color (menu_display_ctx_clearcolor_t *clearcolor, video_frame_info_t *video_info)
 
static bool menu_display_gl_font_init_first (void **font_handle, void *video_data, const char *font_path, float font_size, bool is_threaded)
 
static void menu_display_gl_scissor_begin (video_frame_info_t *video_info, int x, int y, unsigned width, unsigned height)
 
static void menu_display_gl_scissor_end (video_frame_info_t *video_info)
 

Variables

static const GLfloat gl_vertexes []
 
static const GLfloat gl_tex_coords []
 
menu_display_ctx_driver_t menu_display_ctx_gl
 

Function Documentation

◆ menu_display_gl_blend_begin()

static void menu_display_gl_blend_begin ( video_frame_info_t video_info)
static
Here is the call graph for this function:

◆ menu_display_gl_blend_end()

static void menu_display_gl_blend_end ( video_frame_info_t video_info)
static

◆ menu_display_gl_clear_color()

static void menu_display_gl_clear_color ( menu_display_ctx_clearcolor_t clearcolor,
video_frame_info_t video_info 
)
static

◆ menu_display_gl_draw()

static void menu_display_gl_draw ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ menu_display_gl_draw_pipeline()

static void menu_display_gl_draw_pipeline ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ menu_display_gl_font_init_first()

static bool menu_display_gl_font_init_first ( void **  font_handle,
void video_data,
const char *  font_path,
float  font_size,
bool  is_threaded 
)
static
Here is the call graph for this function:

◆ menu_display_gl_get_default_mvp()

static void* menu_display_gl_get_default_mvp ( video_frame_info_t video_info)
static
Here is the caller graph for this function:

◆ menu_display_gl_get_default_tex_coords()

static const float* menu_display_gl_get_default_tex_coords ( void  )
static
Here is the caller graph for this function:

◆ menu_display_gl_get_default_vertices()

static const float* menu_display_gl_get_default_vertices ( void  )
static
Here is the caller graph for this function:

◆ menu_display_gl_restore_clear_color()

static void menu_display_gl_restore_clear_color ( void  )
static

◆ menu_display_gl_scissor_begin()

static void menu_display_gl_scissor_begin ( video_frame_info_t video_info,
int  x,
int  y,
unsigned  width,
unsigned  height 
)
static

◆ menu_display_gl_scissor_end()

static void menu_display_gl_scissor_end ( video_frame_info_t video_info)
static

◆ menu_display_gl_viewport()

static void menu_display_gl_viewport ( menu_display_ctx_draw_t draw,
video_frame_info_t video_info 
)
static
Here is the caller graph for this function:

◆ menu_display_prim_to_gl_enum()

static GLenum menu_display_prim_to_gl_enum ( enum menu_display_prim_type  type)
static
Here is the caller graph for this function:

Variable Documentation

◆ gl_tex_coords

const GLfloat gl_tex_coords[]
static
Initial value:
= {
0, 1,
1, 1,
0, 0,
1, 0
}

◆ gl_vertexes

const GLfloat gl_vertexes[]
static
Initial value:
= {
0, 0,
1, 0,
0, 1,
1, 1
}

◆ menu_display_ctx_gl

menu_display_ctx_driver_t menu_display_ctx_gl
Initial value:
= {
"gl",
false,
}
static void menu_display_gl_restore_clear_color(void)
Definition: menu_display_gl.c:222
static const float * menu_display_gl_get_default_tex_coords(void)
Definition: menu_display_gl.c:48
static void menu_display_gl_draw_pipeline(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_gl.c:145
static void menu_display_gl_blend_end(video_frame_info_t *video_info)
Definition: menu_display_gl.c:94
static void menu_display_gl_blend_begin(video_frame_info_t *video_info)
Definition: menu_display_gl.c:80
static void * menu_display_gl_get_default_mvp(video_frame_info_t *video_info)
Definition: menu_display_gl.c:53
static void menu_display_gl_viewport(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_gl.c:99
static void menu_display_gl_scissor_end(video_frame_info_t *video_info)
Definition: menu_display_gl.c:260
Definition: menu_driver.h:323
static void menu_display_gl_draw(menu_display_ctx_draw_t *draw, video_frame_info_t *video_info)
Definition: menu_display_gl.c:106
static void menu_display_gl_clear_color(menu_display_ctx_clearcolor_t *clearcolor, video_frame_info_t *video_info)
Definition: menu_display_gl.c:227
static void menu_display_gl_scissor_begin(video_frame_info_t *video_info, int x, int y, unsigned width, unsigned height)
Definition: menu_display_gl.c:253
static bool menu_display_gl_font_init_first(void **font_handle, void *video_data, const char *font_path, float font_size, bool is_threaded)
Definition: menu_display_gl.c:239
static const float * menu_display_gl_get_default_vertices(void)
Definition: menu_display_gl.c:43