diff options
Diffstat (limited to 'src/osd/modules/render/drawd3d.h')
-rw-r--r-- | src/osd/modules/render/drawd3d.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/osd/modules/render/drawd3d.h b/src/osd/modules/render/drawd3d.h index 906bd7711b8..9c2014ead39 100644 --- a/src/osd/modules/render/drawd3d.h +++ b/src/osd/modules/render/drawd3d.h @@ -38,14 +38,16 @@ public: cache_target() { } ~cache_target(); - bool init(renderer *d3d, base *d3dintf, int width, int height, int prescale_x, int prescale_y); + bool init(renderer *d3d, base *d3dintf, int target_width, int target_height); surface *last_target; texture *last_texture; + // real target dimension int target_width; int target_height; + // only used to identify/find the render target int width; int height; @@ -63,25 +65,24 @@ public: render_target() { } ~render_target(); - bool init(renderer *d3d, base *d3dintf, int width, int height, int prescale_x, int prescale_y); + bool init(renderer *d3d, base *d3dintf, int width, int height, int target_width, int target_height); int next_index(int index) { return ++index > 1 ? 0 : index; } + // real target dimension int target_width; int target_height; - int prescale_x; - int prescale_y; - + // only used to identify/find the render target int width; int height; int screen_index; int page_index; - surface *prescale_target[2]; - texture *prescale_texture[2]; - surface *native_target[2]; - texture *native_texture[2]; + surface *target_surface[2]; + texture *target_texture[2]; + surface *source_surface[2]; + texture *source_texture[2]; render_target *next; render_target *prev; |