RetroArch
Classes | Typedefs | Functions | Variables
gl1_renderchain.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include <retro_common_api.h>
#include <libretro.h>
#include <compat/strl.h>
#include <gfx/scaler/scaler.h>
#include <formats/image.h>
#include <retro_inline.h>
#include <retro_miscellaneous.h>
#include <retro_math.h>
#include <string/stdstring.h>
#include <gfx/gl_capabilities.h>
#include <gfx/video_frame.h>
#include "../video_driver.h"
#include "../video_shader_parse.h"
#include "../common/gl_common.h"
#include "../../driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
Include dependency graph for gl1_renderchain.c:

Classes

struct  gl1_renderchain
 

Typedefs

typedef struct gl1_renderchain gl1_renderchain_t
 

Functions

static bool gl1_renderchain_read_viewport (gl_t *gl, void *chain_data, uint8_t *buffer, bool is_idle)
 
void gl1_renderchain_free_internal (void *data, void *chain_data)
 
static voidgl1_renderchain_new (void)
 
static void gl1_renderchain_ff_vertex (const void *data)
 
static void gl1_renderchain_ff_matrix (const void *data)
 
static void gl1_renderchain_disable_client_arrays (void *data, void *chain_data)
 
static void gl1_renderchain_restore_default_state (gl_t *gl, void *chain_data)
 
static void gl1_renderchain_copy_frame (gl_t *gl, void *chain_data, video_frame_info_t *video_info, const void *frame, unsigned width, unsigned height, unsigned pitch)
 
static void gl1_renderchain_readback (gl_t *gl, void *chain_data, unsigned alignment, unsigned fmt, unsigned type, void *src)
 
static void gl1_renderchain_set_mvp (void *data, void *chain_data, void *shader_data, const void *mat_data)
 
static void gl1_renderchain_set_coords (void *handle_data, void *chain_data, void *shader_data, const struct video_coords *coords)
 
static void gl1_renderchain_render (gl_t *gl, void *chain_data, video_frame_info_t *video_info, uint64_t frame_count, const struct video_tex_info *tex_info, const struct video_tex_info *feedback_info)
 

Variables

gl_renderchain_driver_t gl1_renderchain
 

Typedef Documentation

◆ gl1_renderchain_t

Function Documentation

◆ gl1_renderchain_copy_frame()

static void gl1_renderchain_copy_frame ( gl_t gl,
void chain_data,
video_frame_info_t video_info,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch 
)
static
Here is the call graph for this function:

◆ gl1_renderchain_disable_client_arrays()

static void gl1_renderchain_disable_client_arrays ( void data,
void chain_data 
)
static
Here is the call graph for this function:

◆ gl1_renderchain_ff_matrix()

static void gl1_renderchain_ff_matrix ( const void data)
static

◆ gl1_renderchain_ff_vertex()

static void gl1_renderchain_ff_vertex ( const void data)
static

◆ gl1_renderchain_free_internal()

void gl1_renderchain_free_internal ( void data,
void chain_data 
)
Here is the call graph for this function:

◆ gl1_renderchain_new()

static void* gl1_renderchain_new ( void  )
static

◆ gl1_renderchain_read_viewport()

static bool gl1_renderchain_read_viewport ( gl_t gl,
void chain_data,
uint8_t buffer,
bool  is_idle 
)
static
Here is the call graph for this function:

◆ gl1_renderchain_readback()

static void gl1_renderchain_readback ( gl_t gl,
void chain_data,
unsigned  alignment,
unsigned  fmt,
unsigned  type,
void src 
)
static

◆ gl1_renderchain_render()

static void gl1_renderchain_render ( gl_t gl,
void chain_data,
video_frame_info_t video_info,
uint64_t  frame_count,
const struct video_tex_info tex_info,
const struct video_tex_info feedback_info 
)
static

◆ gl1_renderchain_restore_default_state()

static void gl1_renderchain_restore_default_state ( gl_t gl,
void chain_data 
)
static

◆ gl1_renderchain_set_coords()

static void gl1_renderchain_set_coords ( void handle_data,
void chain_data,
void shader_data,
const struct video_coords coords 
)
static

◆ gl1_renderchain_set_mvp()

static void gl1_renderchain_set_mvp ( void data,
void chain_data,
void shader_data,
const void mat_data 
)
static

Variable Documentation

◆ gl1_renderchain