DXGL r466 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r465
|
r466
|
r467
>
Date:
00:46, 14 July 2014
Author:
admin
Status:
new
Tags:
Comment:
Add NOTSRCINVERT raster operation.
Modified paths:
/ddraw/ShaderGen2D.cpp
(modified) (
history
)
/dxgltest/surfacegen.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/ShaderGen2D.cpp
—
—
@@ -117,11 +117,11 @@
118
118
119
119
const DWORD supported_rops[8] = {
120
120
0x00000001,
121
+ 0x00080000,
121
122
0x00000000,
122
123
0x00000000,
123
124
0x00000000,
124
125
0x00000000,
125
- 0x00000000,
126
126
0x00001000,
127
127
0x80000000
128
128
};
—
—
@@ -128,11 +128,11 @@
129
129
130
130
const DWORD supported_rops_gl2[8] = {
131
131
0x00000001,
132
+ 0x00080000,
132
133
0x00000000,
133
134
0x00000000,
134
135
0x00000000,
135
136
0x00000000,
136
- 0x00000000,
137
137
0x00001000,
138
138
0x80000000
139
139
};
—
—
@@ -247,6 +247,7 @@
248
248
"",//30
249
249
"",
250
250
"",
251
+"pixel = pixel ^ ivec4(255);",//33 NOTSRCCOPY
251
252
"",
252
253
"",
253
254
"",
—
—
@@ -258,7 +259,6 @@
259
260
"",
260
261
"",
261
262
"",
262
-"",
263
263
"",//3F
264
264
"",//40
265
265
"",
—
—
@@ -506,6 +506,7 @@
507
507
"",//30
508
508
"",
509
509
"",
510
+"pixel = ivec4(255) - pixel;",
510
511
"",
511
512
"",
512
513
"",
—
—
@@ -517,7 +518,6 @@
518
519
"",
519
520
"",
520
521
"",
521
-"",
522
522
"",//3F
523
523
"",//40
524
524
"",
Index: dxgltest/surfacegen.cpp
—
—
@@ -1115,7 +1115,7 @@
1116
1116
back->GetDC(&hdcblt);
1117
1117
SetBkColor(hdcblt, RGB(0, 0, 255));
1118
1118
SetTextColor(hdcblt, RGB(255, 255, 255));
1119
- TextOut(hdcblt, 0, 0, _T("Screen 0: GDI Blt"), 18);
1119
+ TextOut(hdcblt, 0, 0, _T("Screen 1: GDI Blt"), 18);
1120
1120
back->ReleaseDC(hdcblt);
1121
1121
back->BltFast(0, 16, sprites[1].surface, NULL, DDBLTFAST_WAIT);
1122
1122
back->Release();
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