(D3D9 renderchain) Take out video_frame_info dependencies

This commit is contained in:
twinaphex 2020-03-08 19:03:57 +01:00
parent c465fda58a
commit 3e706fe5b2
4 changed files with 1 additions and 7 deletions

View File

@ -52,7 +52,6 @@ typedef struct d3d9_renderchain_driver
const char *id, const char *path, const char *id, const char *path,
bool smooth); bool smooth);
bool (*render)(d3d9_video_t *d3d, bool (*render)(d3d9_video_t *d3d,
const video_frame_info_t *video_info,
const void *frame, const void *frame,
unsigned width, unsigned height, unsigned pitch, unsigned rotation); unsigned width, unsigned height, unsigned pitch, unsigned rotation);
const char *ident; const char *ident;

View File

@ -1586,8 +1586,7 @@ static bool d3d9_frame(void *data, const void *frame,
} }
if (!d3d->renderchain_driver->render( if (!d3d->renderchain_driver->render(
d3d, video_info, d3d, frame, frame_width, frame_height,
frame, frame_width, frame_height,
pitch, d3d->dev_rotation)) pitch, d3d->dev_rotation))
{ {
RARCH_ERR("[D3D9]: Failed to render scene.\n"); RARCH_ERR("[D3D9]: Failed to render scene.\n");

View File

@ -772,7 +772,6 @@ static bool d3d9_cg_renderchain_create_first_pass(
static bool d3d9_cg_renderchain_init( static bool d3d9_cg_renderchain_init(
d3d9_video_t *d3d, d3d9_video_t *d3d,
const video_info_t *video_info,
LPDIRECT3DDEVICE9 dev, LPDIRECT3DDEVICE9 dev,
const D3DVIEWPORT9 *final_viewport, const D3DVIEWPORT9 *final_viewport,
const struct LinkInfo *info, const struct LinkInfo *info,
@ -960,7 +959,6 @@ static void d3d9_cg_renderchain_render_pass(
static bool d3d9_cg_renderchain_render( static bool d3d9_cg_renderchain_render(
d3d9_video_t *d3d, d3d9_video_t *d3d,
const video_frame_info_t *video_info,
const void *frame_data, const void *frame_data,
unsigned width, unsigned height, unsigned width, unsigned height,
unsigned pitch, unsigned rotation) unsigned pitch, unsigned rotation)

View File

@ -418,7 +418,6 @@ static bool hlsl_d3d9_renderchain_init_shader(d3d9_video_t *d3d,
static bool hlsl_d3d9_renderchain_init( static bool hlsl_d3d9_renderchain_init(
d3d9_video_t *d3d, d3d9_video_t *d3d,
const video_info_t *video_info,
LPDIRECT3DDEVICE9 dev, LPDIRECT3DDEVICE9 dev,
const D3DVIEWPORT9 *final_viewport, const D3DVIEWPORT9 *final_viewport,
const struct LinkInfo *info, const struct LinkInfo *info,
@ -540,7 +539,6 @@ static void hlsl_d3d9_renderchain_render_pass(
static bool hlsl_d3d9_renderchain_render( static bool hlsl_d3d9_renderchain_render(
d3d9_video_t *d3d, d3d9_video_t *d3d,
const video_frame_info_t *video_info,
const void *frame, const void *frame,
unsigned width, unsigned height, unsigned width, unsigned height,
unsigned pitch, unsigned rotation) unsigned pitch, unsigned rotation)