DXGL r804 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r803‎ | r804 | r805 >
Date:00:05, 24 April 2018
Author:admin
Status:new
Tags:
Comment:
Add effects tab to help file.
Modified paths:
  • /Help/Help.vcxproj (modified) (history)
  • /Help/Help.vcxproj.filters (modified) (history)
  • /Help/dxgl.hhp (modified) (history)
  • /Help/html/config/effects/bltscalingfilter.htmlbody (added) (history)
  • /Help/html/config/effects/bltscalingfilter.htmltitle (added) (history)
  • /Help/html/config/effects/postprocessinputmultiplier.htmlbody (added) (history)
  • /Help/html/config/effects/postprocessinputmultiplier.htmltitle (added) (history)
  • /Help/html/config/effects/postprocessscaler.htmlbody (added) (history)
  • /Help/html/config/effects/postprocessscaler.htmltitle (added) (history)
  • /Help/html/config/effects/primarybufferscaling.htmlbody (added) (history)
  • /Help/html/config/effects/primarybufferscaling.htmltitle (added) (history)
  • /Help/html/config/effectstab.htmlbody (modified) (history)
  • /Help/toc.hhc (modified) (history)

Diff [purge]

Index: Help/Help.vcxproj
@@ -145,6 +145,14 @@
146146 <None Include="html\config\display\videomode.htmltitle" />
147147 <None Include="html\config\effectstab.htmlbody" />
148148 <None Include="html\config\effectstab.htmltitle" />
 149+ <None Include="html\config\effects\bltscalingfilter.htmlbody" />
 150+ <None Include="html\config\effects\bltscalingfilter.htmltitle" />
 151+ <None Include="html\config\effects\postprocessinputmultiplier.htmlbody" />
 152+ <None Include="html\config\effects\postprocessinputmultiplier.htmltitle" />
 153+ <None Include="html\config\effects\postprocessscaler.htmlbody" />
 154+ <None Include="html\config\effects\postprocessscaler.htmltitle" />
 155+ <None Include="html\config\effects\primarybufferscaling.htmlbody" />
 156+ <None Include="html\config\effects\primarybufferscaling.htmltitle" />
149157 <None Include="html\config\gfxtesttab.htmlbody" />
150158 <None Include="html\config\gfxtesttab.htmltitle" />
151159 <None Include="html\config\hackstab.htmlbody" />
@@ -154,7 +162,18 @@
155163 <None Include="html\troubleshooting.htmlbody" />
156164 <None Include="html\troubleshooting.htmltitle" />
157165 <None Include="images\dxgl-header.png" />
 166+ <None Include="images\dxglcfg-3dgraphics.png" />
 167+ <None Include="images\dxglcfg-about.png" />
 168+ <None Include="images\dxglcfg-advanced.png" />
 169+ <None Include="images\dxglcfg-debug.png" />
158170 <None Include="images\dxglcfg-display.png" />
 171+ <None Include="images\dxglcfg-effects.png" />
 172+ <None Include="images\dxglcfg-hacks.png" />
 173+ <None Include="images\dxglcfg-tests.png" />
 174+ <None Include="images\gradients-15bpp.png" />
 175+ <None Include="images\gradients-16bpp.png" />
 176+ <None Include="images\gradients-24bpp.png" />
 177+ <None Include="images\gradients-8bpp.png" />
159178 <None Include="Index.hhk" />
160179 <None Include="template.html" />
161180 <None Include="toc.hhc" />
Index: Help/Help.vcxproj.filters
@@ -16,6 +16,9 @@
1717 <Filter Include="Help files\html\config\display">
1818 <UniqueIdentifier>{933e60ac-025f-4ea7-8faf-4de1dd6fb468}</UniqueIdentifier>
1919 </Filter>
 20+ <Filter Include="Help files\html\config\effects">
 21+ <UniqueIdentifier>{508eed92-c424-422b-9783-90a3a2baf281}</UniqueIdentifier>
 22+ </Filter>
2023 </ItemGroup>
2124 <ItemGroup>
2225 <None Include="dxgl.hhp">
@@ -186,5 +189,62 @@
187190 <None Include="html\config\display\singlebuffereddisplay.htmlbody">
188191 <Filter>Help files\html\config\display</Filter>
189192 </None>
 193+ <None Include="html\config\effects\postprocessscaler.htmltitle">
 194+ <Filter>Help files\html\config\effects</Filter>
 195+ </None>
 196+ <None Include="html\config\effects\postprocessscaler.htmlbody">
 197+ <Filter>Help files\html\config\effects</Filter>
 198+ </None>
 199+ <None Include="html\config\effects\postprocessinputmultiplier.htmltitle">
 200+ <Filter>Help files\html\config\effects</Filter>
 201+ </None>
 202+ <None Include="html\config\effects\postprocessinputmultiplier.htmlbody">
 203+ <Filter>Help files\html\config\effects</Filter>
 204+ </None>
 205+ <None Include="html\config\effects\primarybufferscaling.htmltitle">
 206+ <Filter>Help files\html\config\effects</Filter>
 207+ </None>
 208+ <None Include="html\config\effects\primarybufferscaling.htmlbody">
 209+ <Filter>Help files\html\config\effects</Filter>
 210+ </None>
 211+ <None Include="html\config\effects\bltscalingfilter.htmltitle">
 212+ <Filter>Help files\html\config\effects</Filter>
 213+ </None>
 214+ <None Include="html\config\effects\bltscalingfilter.htmlbody">
 215+ <Filter>Help files\html\config\effects</Filter>
 216+ </None>
 217+ <None Include="images\dxglcfg-3dgraphics.png">
 218+ <Filter>Help files\images</Filter>
 219+ </None>
 220+ <None Include="images\dxglcfg-about.png">
 221+ <Filter>Help files\images</Filter>
 222+ </None>
 223+ <None Include="images\dxglcfg-advanced.png">
 224+ <Filter>Help files\images</Filter>
 225+ </None>
 226+ <None Include="images\dxglcfg-debug.png">
 227+ <Filter>Help files\images</Filter>
 228+ </None>
 229+ <None Include="images\dxglcfg-effects.png">
 230+ <Filter>Help files\images</Filter>
 231+ </None>
 232+ <None Include="images\dxglcfg-hacks.png">
 233+ <Filter>Help files\images</Filter>
 234+ </None>
 235+ <None Include="images\dxglcfg-tests.png">
 236+ <Filter>Help files\images</Filter>
 237+ </None>
 238+ <None Include="images\gradients-8bpp.png">
 239+ <Filter>Help files\images</Filter>
 240+ </None>
 241+ <None Include="images\gradients-15bpp.png">
 242+ <Filter>Help files\images</Filter>
 243+ </None>
 244+ <None Include="images\gradients-16bpp.png">
 245+ <Filter>Help files\images</Filter>
 246+ </None>
 247+ <None Include="images\gradients-24bpp.png">
 248+ <Filter>Help files\images</Filter>
 249+ </None>
190250 </ItemGroup>
191251 </Project>
\ No newline at end of file
Index: Help/dxgl.hhp
@@ -49,6 +49,10 @@
5050 html\config\display\sortvideomodes.html
5151 html\config\display\verticalsync.html
5252 html\config\display\videomode.html
 53+html\config\effects\bltscalingfilter.html
 54+html\config\effects\postprocessinputmultiplier.html
 55+html\config\effects\postprocessscaler.html
 56+html\config\effects\primarybufferscaling.html
5357
5458 [INFOTYPES]
5559
Index: Help/html/config/effects/bltscalingfilter.htmlbody
@@ -0,0 +1,5 @@
 2+<p>Selects the method used for scaling Blt commands. The following modes are available:</p>
 3+<h1>Nearest</h1>
 4+<p>Uses nearest-neighbor scaling.</p>
 5+<h1>Bilinear</h1>
 6+<p>Uses bilinear scaling. Reduces jagged edges, but may create visual artifacts in some applications. This mode does not work in 8-bit color mode.</p>
\ No newline at end of file
Index: Help/html/config/effects/bltscalingfilter.htmltitle
@@ -0,0 +1 @@
 2+Blt scaling filter
\ No newline at end of file
Index: Help/html/config/effects/postprocessinputmultiplier.htmlbody
@@ -0,0 +1,5 @@
 2+<p>
 3+ Selects the amount to scale the display on the first pass. There is an Auto preset as well as presets for fixed 1x, 2&#215;1, 2x, 3x, and 4x ratios. In addition, a ratio can manually be set anywhere from 0.25&#215;0.25 to 16&#215;16. The Auto preset will automatically double pixels horizontally if the horizontal resolution is 400 pixels or less, and will double pixels vertically if the vertical resolution is 300 or less.<br />
 4+ In addition, if Video mode is set to Change desktop resolution and Add extra display modes is enabled, a subset of low resolution pixel doubled modes will be added, providing support for low resolution modes even if not supported by your graphics card.<br />
 5+ If Primary buffer scaling is set to Scale to screen, typing 0.5 in the box will enable 2&#215;2 supersampling for Direct3D applications. This will also modify the behavior of &#8220;Change desktop resolution&#8221; in the Display tab.
 6+</p>
\ No newline at end of file
Index: Help/html/config/effects/postprocessinputmultiplier.htmltitle
@@ -0,0 +1 @@
 2+Postprocess input multiplier
\ No newline at end of file
Index: Help/html/config/effects/postprocessscaler.htmlbody
@@ -0,0 +1,9 @@
 2+<p>
 3+ Scaling method for an optional image scaling pass. This can be used to create a pixelated effect while still preserving the ability to have filtered display scaling.<br />
 4+ In addition, it can be used to set the scaling filter for a postprocess pass, to be implemented in the future.<br />
 5+ The following methods are available:
 6+</p>
 7+<h3>Nearest</h3>
 8+<p>Uses nearest-neighbor scaling.</p>
 9+<h3>Bilinear</h3>
 10+<p>Uses bilinear scaling. 8-bit display modes will always use nearest scaling for this pass.</p>
\ No newline at end of file
Index: Help/html/config/effects/postprocessscaler.htmltitle
@@ -0,0 +1 @@
 2+Postprocess scaler
\ No newline at end of file
Index: Help/html/config/effects/primarybufferscaling.htmlbody
@@ -0,0 +1,25 @@
 2+<p>
 3+ Selects an amount to scale the primary buffer by. May cause slowdowns in certain applications or on certain computers.<br />
 4+ Can enhance the resolution of 3D applications.
 5+</p>
 6+<p>The following options are available:</p>
 7+<h3>1x scale</h3>
 8+<p>Disables primary buffer scaling.</p>
 9+<h3>Scale to screen</h3>
 10+<p>Scales the primary buffer to the current screen resolution. May cause significant artifacts.</p>
 11+<h3>Maximum integer scaling</h3>
 12+<p>Scales the primary buffer to an automatic amount, by a whole number amount. This may reduce artifacts compared to Scale to screen.</p>
 13+<h3>
 14+ 1.5x scale<br />
 15+ 2x scale<br />
 16+ 2.5x scale<br />
 17+ 3x scale<br />
 18+ 4x scale<br />
 19+ 5x SCALE<br />
 20+ 6X scale<br />
 21+ 7X scale<br />
 22+ 8x scale
 23+</h3>
 24+<p>Scales the primary buffer by the specified amount. Note that this may fail if the selected mode scales the primary beyond your graphics card&#8217;s capability.</p>
 25+<h3>Custom scale</h3>
 26+<p>Scales the primary buffer by a custom amount. This amount can be entered in X and Y dimensions and may be an integer or floating point using the boxes provided. The default scaling is 1&#215;1, disabling scaling.</p>
\ No newline at end of file
Index: Help/html/config/effects/primarybufferscaling.htmltitle
@@ -0,0 +1 @@
 2+Primary buffer scaling
\ No newline at end of file
Index: Help/html/config/effectstab.htmlbody
@@ -3,14 +3,14 @@
44 The Effects tab adjusts the scaling and filtering of the graphics, and allows the increasing of the resolution of the primary buffer.
55 </p>
66 <p>
7 - <a href="https://www.dxgl.info/help/configuration/effects-tab/postprocess-scaler/">Postprocess scaler</a>
 7+ <a href="effects/postprocessscaler.html">Postprocess scaler</a>
88 </p>
99 <p>
10 - <a href="https://www.dxgl.info/help/configuration/effects-tab/postprocess-input-multiplier/">Postprocess input multiplier</a>
 10+ <a href="effects/postprocessinputmultiplier.html">Postprocess input multiplier</a>
1111 </p>
1212 <p>
13 - <a href="https://www.dxgl.info/help/configuration/effects-tab/primary-buffer-scaling/">Primary buffer scaling</a>
 13+ <a href="effects/primarybufferscaling.html">Primary buffer scaling</a>
1414 </p>
1515 <p>
16 - <a href="https://www.dxgl.info/help/configuration/effects-tab/blt-scaling-filter/">Blt scaling filter</a>
 16+ <a href="effects/bltscalingfilter.html">Blt scaling filter</a>
1717 </p>
\ No newline at end of file
Index: Help/toc.hhc
@@ -79,6 +79,24 @@
8080 <param name="Name" value="Effects Tab">
8181 <param name="Local" value="html\config\effectstab.html">
8282 </OBJECT>
 83+ <UL>
 84+ <LI> <OBJECT type="text/sitemap">
 85+ <param name="Name" value="Postprocess scaler">
 86+ <param name="Local" value="html\config\effects\postprocessscaler.html">
 87+ </OBJECT>
 88+ <LI> <OBJECT type="text/sitemap">
 89+ <param name="Name" value="Postprocess input multiplier">
 90+ <param name="Local" value="html\config\effects\postprocessinputmultiplier.html">
 91+ </OBJECT>
 92+ <LI> <OBJECT type="text/sitemap">
 93+ <param name="Name" value="Primary buffer scaling">
 94+ <param name="Local" value="html\config\effects\primarybufferscaling.html">
 95+ </OBJECT>
 96+ <LI> <OBJECT type="text/sitemap">
 97+ <param name="Name" value="Blt scaling filter">
 98+ <param name="Local" value="html\config\effects\bltscalingfilter.html">
 99+ </OBJECT>
 100+ </UL>
83101 <LI> <OBJECT type="text/sitemap">
84102 <param name="Name" value="3D Graphics Tab">
85103 <param name="Local" value="html\config\3dgraphicstab.html">
@@ -103,10 +121,10 @@
104122 <param name="Name" value="About Tab">
105123 <param name="Local" value="html\config\abouttab.html">
106124 </OBJECT>
107 - <LI> <OBJECT type="text/sitemap">
108 - <param name="Name" value="Troubleshooting">
109 - <param name="Local" value="html\troubleshooting.html">
110 - </OBJECT>
111125 </UL>
 126+ <LI> <OBJECT type="text/sitemap">
 127+ <param name="Name" value="Troubleshooting">
 128+ <param name="Local" value="html\troubleshooting.html">
 129+ </OBJECT>
112130 </UL>
113131 </BODY></HTML>