diff options
author | Ryan Holtz <rholtz@batcountryentertainment.com> | 2011-09-29 06:49:36 +0000 |
---|---|---|
committer | Ryan Holtz <rholtz@batcountryentertainment.com> | 2011-09-29 06:49:36 +0000 |
commit | 2e76ba4306ac84bbe51c850e70485910cdfa0152 (patch) | |
tree | 7fb7af7b63682562738c57c754d4b3471fd47f37 /src/osd/windows/d3dhlsl.h | |
parent | bbe7688c53610b2ae16d25d47ceccd8353ba8fc9 (diff) |
- Fixed all HLSL stability issues except visible crease. [Ryan Holtz, Bat Country Entertainment]
No whatsnew: There is no creasing visible to me, using either -window -nomaximize or -nowindow on a 1920x1080 display. If someone can get me a consistently reproducible case, it will be fixed.
Diffstat (limited to 'src/osd/windows/d3dhlsl.h')
-rw-r--r-- | src/osd/windows/d3dhlsl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osd/windows/d3dhlsl.h b/src/osd/windows/d3dhlsl.h index e604bb3e620..0ef0d45e48b 100644 --- a/src/osd/windows/d3dhlsl.h +++ b/src/osd/windows/d3dhlsl.h @@ -137,6 +137,8 @@ public: slider_state *init_slider_list(); private: + void enumerate_screens(); + void end_avi_recording(); void begin_avi_recording(const char *name); @@ -146,6 +148,9 @@ private: win_window_info * window; // D3D window info bool master_enable; // overall enable flag + bool paused; // whether or not rendering is currently paused + int num_screens; // number of emulated physical screens + int lastidx; // index of the last-encountered target bool write_ini; // enable external ini saving bool read_ini; // enable external ini loading int prescale_force_x; // prescale force x @@ -156,6 +161,7 @@ private: bitmap_t * shadow_bitmap; // shadow mask bitmap for post-processing shader d3d_texture_info * shadow_texture; // shadow mask texture for post-processing shader int registered_targets; // number of registered HLSL targets (i.e., screens) + int cyclic_target_idx; // cyclic index of next HLSL target slot hlsl_options * options; // current uniform state avi_file * avi_output_file; // AVI file bitmap_t * avi_snap; // AVI snapshot @@ -191,6 +197,7 @@ private: d3d_vertex * fsfx_vertices; // pointer to our full-screen-quad object // render targets + int raw_target_idx[9]; // Number of targets currently in use int target_use_count[9]; // Whether or not a target has been used yet d3d_texture_info * target_in_use[9]; // Target texture that is currently in use int target_width[9]; // Render target width |