DXGL r716 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r715
|
r716
|
r717
>
Date:
01:29, 12 June 2017
Author:
admin
Status:
new
Tags:
Comment:
Fix regression in Blt filtering.
Update release version.
Add more documentation regarding first pass scaling.
Modified paths:
/Help/configuration.htm
(modified) (
history
)
/ReadMe.md
(modified) (
history
)
/common/releasever.h
(modified) (
history
)
/ddraw/glRenderer.cpp
(modified) (
history
)
Diff
[
purge
]
Index: Help/configuration.htm
—
—
@@ -79,7 +79,8 @@
80
80
Uses bilinear scaling. 8-bit display modes will always use nearest scaling for this pass.
81
81
<h2><a name="scalerfirstsize" />1st pass scale size</h2>
82
82
Selects the amount to scale the display on the first pass. There is an Auto preset as well as presets for fixed 1x, 2x1, 2x, 3x, and 4x ratios. In addition, a ratio can manually be set anywhere from 0.25x0.25 to 16x16. 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.
83
- 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.
83
+ 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.<br />
84
+ If "Adjust primary resolution" is checked, typing 0.5 in the box will enable 2x2 supersampling for Direct3D applications. This will also modify the behavior of "Change desktop resolution."
84
85
<h2><a name="scalerfinal" />Scaling method (final pass)</h2>
85
86
Selects the filter to use for scaling the output when the resolution is different than the desktop resolution, or when the optional 1st pass scaling is in effect, the scaled resolution is different from the desktop resolution,
86
87
as well as for blitting operations. The following methods are available:
Index: ReadMe.md
—
—
@@ -1,4 +1,4 @@
2
-# DXGL 0.5.10
2
+# DXGL 0.5.11
3
3
https://www.dxgl.info
4
4
5
5
## Introduction
Index: common/releasever.h
—
—
@@ -4,7 +4,7 @@
5
5
6
6
#define DXGLMAJORVER 0
7
7
#define DXGLMINORVER 5
8
-#define DXGLPOINTVER 10
8
+#define DXGLPOINTVER 11
9
9
10
10
#define STR2(x) #x
11
11
#define STR(x) STR2(x)
Index: ddraw/glRenderer.cpp
—
—
@@ -3165,9 +3165,9 @@
3166
3166
glUtil_SetTexture(This->util, 8, cmd->src);
3167
3167
if(This->ext->GLEXT_ARB_sampler_objects)
3168
3168
{
3169
- if((dxglcfg.scalingfilter == 0) || (This->ddInterface->GetBPP() == 8))\
3170
- glTexture__SetFilter(cmd->src, 0, GL_NEAREST, GL_NEAREST, This);
3171
- else glTexture__SetFilter(cmd->src, 0, GL_LINEAR, GL_LINEAR, This);
3169
+ if((dxglcfg.scalingfilter == 0) || (This->ddInterface->GetBPP() == 8))
3170
+ glTexture__SetFilter(cmd->src, 8, GL_NEAREST, GL_NEAREST, This);
3171
+ else glTexture__SetFilter(cmd->src, 8, GL_LINEAR, GL_LINEAR, This);
3172
3172
}
3173
3173
}
3174
3174
else glUtil_SetTexture(This->util,8,NULL);
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version