Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b0e508a9
Commit
b0e508a9
authored
Aug 20, 2014
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Aug 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Remove wxr_color_shifts.
parent
fe79e62a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
xrender.c
dlls/winex11.drv/xrender.c
+0
-17
No files found.
dlls/winex11.drv/xrender.c
View file @
b0e508a9
...
...
@@ -102,23 +102,6 @@ static const WineXRenderFormatTemplate wxr_formats_template[WXR_NB_FORMATS] =
/* WXR_FORMAT_B8G8R8X8 */
{
32
,
0
,
0
,
8
,
0xff
,
16
,
0xff
,
24
,
0xff
},
};
static
const
ColorShifts
wxr_color_shifts
[
WXR_NB_FORMATS
]
=
{
/* format phys red phys green phys blue log red log green log blue */
/* WXR_FORMAT_MONO */
{
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
}
},
/* WXR_FORMAT_GRAY */
{
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
},
{
0
,
0
,
0
}
},
/* WXR_FORMAT_X1R5G5B5 */
{
{
10
,
5
,
31
},
{
5
,
5
,
31
},
{
0
,
5
,
31
},
{
10
,
5
,
31
},
{
5
,
5
,
31
},
{
0
,
5
,
31
}
},
/* WXR_FORMAT_X1B5G5R5 */
{
{
0
,
5
,
31
},
{
5
,
5
,
31
},
{
10
,
5
,
31
},
{
0
,
5
,
31
},
{
5
,
5
,
31
},
{
10
,
5
,
31
}
},
/* WXR_FORMAT_R5G6B5 */
{
{
11
,
5
,
31
},
{
5
,
6
,
63
},
{
0
,
5
,
31
},
{
11
,
5
,
31
},
{
5
,
6
,
63
},
{
0
,
5
,
31
}
},
/* WXR_FORMAT_B5G6R5 */
{
{
0
,
5
,
31
},
{
5
,
6
,
63
},
{
11
,
5
,
31
},
{
0
,
5
,
31
},
{
5
,
6
,
63
},
{
11
,
5
,
31
}
},
/* WXR_FORMAT_R8G8B8 */
{
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
},
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
}
},
/* WXR_FORMAT_B8G8R8 */
{
{
0
,
8
,
255
},
{
8
,
8
,
255
},
{
16
,
8
,
255
},
{
0
,
8
,
255
},
{
8
,
8
,
255
},
{
16
,
8
,
255
}
},
/* WXR_FORMAT_A8R8G8B8 */
{
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
},
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
}
},
/* WXR_FORMAT_B8G8R8A8 */
{
{
8
,
8
,
255
},
{
16
,
8
,
255
},
{
24
,
8
,
255
},
{
8
,
8
,
255
},
{
16
,
8
,
255
},
{
24
,
8
,
255
}
},
/* WXR_FORMAT_X8R8G8B8 */
{
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
},
{
16
,
8
,
255
},
{
8
,
8
,
255
},
{
0
,
8
,
255
}
},
/* WXR_FORMAT_B8G8R8X8 */
{
{
8
,
8
,
255
},
{
16
,
8
,
255
},
{
24
,
8
,
255
},
{
8
,
8
,
255
},
{
16
,
8
,
255
},
{
24
,
8
,
255
}
},
};
static
enum
wxr_format
default_format
=
WXR_INVALID_FORMAT
;
static
XRenderPictFormat
*
pict_formats
[
WXR_NB_FORMATS
+
1
/* invalid format */
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment