|
static void * | d3d9_cg_get_constant_by_name (void *data, const char *name) |
|
static INLINE void | d3d9_cg_set_param_1f (void *data, void *userdata, const char *name, const void *values) |
|
static INLINE void | d3d9_cg_set_param_2f (void *data, void *userdata, const char *name, const void *values) |
|
static INLINE void | d3d9_cg_bind_program (void *data) |
|
static INLINE void | d3d9_cg_set_param_matrix (void *data, void *userdata, const char *name, const void *values) |
|
static INLINE bool | d3d9_cg_validate_param_name (const char *name) |
|
static INLINE CGparameter | d3d9_cg_find_param_from_semantic (CGparameter param, const char *sem) |
|
static bool | d3d9_cg_load_program (void *data, struct shader_pass *pass, const char *prog, bool path_is_file) |
|
static void | d3d9_cg_renderchain_set_shader_params (d3d9_renderchain_t *chain, LPDIRECT3DDEVICE9 dev, struct shader_pass *pass, unsigned video_w, unsigned video_h, unsigned tex_w, unsigned tex_h, unsigned viewport_w, unsigned viewport_h) |
|
static bool | d3d9_cg_renderchain_init_shader_fvf (d3d9_renderchain_t *chain, struct shader_pass *pass) |
|
static void | d3d9_cg_renderchain_bind_orig (d3d9_renderchain_t *chain, LPDIRECT3DDEVICE9 dev, struct shader_pass *pass) |
|
static void | d3d9_cg_renderchain_bind_prev (d3d9_renderchain_t *chain, LPDIRECT3DDEVICE9 dev, struct shader_pass *pass) |
|
static void | d3d9_cg_renderchain_bind_pass (d3d9_renderchain_t *chain, LPDIRECT3DDEVICE9 dev, struct shader_pass *pass, unsigned pass_index) |
|
static void | d3d9_cg_deinit_progs (cg_renderchain_t *chain) |
|
static void | d3d9_cg_destroy_resources (cg_renderchain_t *chain) |
|
static void | d3d9_cg_deinit_context_state (cg_renderchain_t *chain) |
|
void | d3d9_cg_renderchain_free (void *data) |
|
static void * | d3d9_cg_renderchain_new (void) |
|
static bool | d3d9_cg_renderchain_init_shader (d3d9_video_t *d3d, cg_renderchain_t *renderchain) |
|
static bool | d3d9_cg_renderchain_create_first_pass (LPDIRECT3DDEVICE9 dev, cg_renderchain_t *cg_chain, d3d9_renderchain_t *chain, const struct LinkInfo *info, unsigned _fmt) |
|
static bool | d3d9_cg_renderchain_init (d3d9_video_t *d3d, const video_info_t *video_info, LPDIRECT3DDEVICE9 dev, const D3DVIEWPORT9 *final_viewport, const struct LinkInfo *info, bool rgb32) |
|
static void | d3d9_cg_renderchain_set_final_viewport (d3d9_video_t *d3d, void *renderchain_data, const D3DVIEWPORT9 *final_viewport) |
|
static bool | d3d9_cg_renderchain_add_pass (void *data, const struct LinkInfo *info) |
|
static bool | d3d9_cg_renderchain_add_lut (void *data, const char *id, const char *path, bool smooth) |
|
static void | d3d9_cg_renderchain_calc_and_set_shader_mvp (void *data, unsigned vp_width, unsigned vp_height, unsigned rotation) |
|
static void | d3d9_cg_renderchain_set_vertices (d3d9_renderchain_t *chain, struct shader_pass *pass, unsigned width, unsigned height, unsigned out_width, unsigned out_height, unsigned vp_width, unsigned vp_height, unsigned rotation) |
|
static void | d3d9_cg_renderchain_set_params (d3d9_renderchain_t *chain, LPDIRECT3DDEVICE9 dev, struct shader_pass *pass, state_tracker_t *tracker, unsigned pass_index) |
|
static void | d3d9_cg_renderchain_render_pass (d3d9_renderchain_t *chain, struct shader_pass *pass, state_tracker_t *tracker, unsigned pass_index) |
|
static bool | d3d9_cg_renderchain_render (d3d9_video_t *d3d, const video_frame_info_t *video_info, state_tracker_t *tracker, const void *frame_data, unsigned width, unsigned height, unsigned pitch, unsigned rotation) |
|