DXGL r341 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r340
|
r341
|
r342
>
Date:
00:54, 28 February 2013
Author:
admin
Status:
new
Tags:
Comment:
Remove non-working texture filtering optimization.
Update help file.
Update release version.
Modified paths:
/Help/configuration.htm
(modified) (
history
)
/ReadMe.txt
(modified) (
history
)
/common/releasever.h
(modified) (
history
)
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: Help/configuration.htm
—
—
@@ -62,7 +62,7 @@
63
63
If checked, adds additional, mostly low resolution, display modes to the list generated by IDirectDraw::EnumDisplayModes. Only works if
64
64
"Video mode" is not set to "Change desktop resolution."
65
65
<h2><a name="alldepths" />Support All Color Depths</h2>
66
- If checked, adds 8, 15, 16, 24, and 32-bit color modes if not listed by the system. Windows 8 users should check this box.
66
+ If checked, adds 8, 15, 16, 24, and 32-bit color modes if not listed by the system. Under Windows 8 or above, this will be enabled by default.
67
67
<h2><a name="scaler" />Scaling method</h2>
68
68
Selects the filter to use for scaling the output when the resolution is different than the desktop resolution,
69
69
as well as for blitting operations. The following methods are available:
—
—
@@ -69,7 +69,7 @@
70
70
<h3>Nearest</h3>
71
71
Uses nearest-neighbor scaling.
72
72
<h3>Bilinear</h3>
73
- Uses bilinear scaling. Reduces jagged edges, but may create visual artifacts in some applications. Does not work with 8-bit color.
73
+ Uses bilinear scaling. Reduces jagged edges, but may create visual artifacts in some applications. Does not work with 8-bit color except for the full-screen scaling modes.
74
74
<h3>Custom shader</h3>
75
75
(not implemented) Uses a custom GLSL pixel shader to display the image.
76
76
<h3>Shader (primary only)</h3>
Index: ReadMe.txt
—
—
@@ -1,4 +1,4 @@
2
-DXGL 0.4.2
2
+DXGL 0.5.0
3
3
http://www.williamfeely.info/wiki/DXGL
4
4
5
5
== Introduction ==
Index: common/releasever.h
—
—
@@ -3,8 +3,8 @@
4
4
#define __VERSION_H
5
5
6
6
#define DXGLMAJORVER 0
7
-#define DXGLMINORVER 4
8
-#define DXGLPOINTVER 2
7
+#define DXGLMINORVER 5
8
+#define DXGLPOINTVER 0
9
9
10
10
#define STR2(x) #x
11
11
#define STR(x) STR2(x)
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -1227,17 +1227,18 @@
1228
1228
min = GL_LINEAR_MIPMAP_LINEAR;
1229
1229
break;
1230
1230
}
1231
- if((magfilter != mag) || (minfilter != min)) ::SetTexture(level,texture);
1232
- if(magfilter != mag)
1233
- {
1231
+ //if((magfilter != mag) || (minfilter != min))
1232
+ ::SetTexture(level,texture);
1233
+ //if(magfilter != mag)
1234
+ //{
1234
1235
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,mag);
1235
1236
magfilter = mag;
1236
- }
1237
- if(minfilter != min)
1238
- {
1237
+ //}
1238
+ //if(minfilter != min)
1239
+ //{
1239
1240
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,min);
1240
1241
minfilter = min;
1241
- }
1242
+ //}
1242
1243
}
1243
1244
1244
1245
HRESULT glDirectDrawSurface7::GetHandle(glDirect3DDevice7 *glD3DDev7, LPD3DTEXTUREHANDLE lpHandle)
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