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
dc7ff3a4
Commit
dc7ff3a4
authored
Jun 01, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Jun 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add support for 24 bpp dibs.
parent
9acd1ef1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
273 additions
and
0 deletions
+273
-0
dc.c
dlls/gdi32/dibdrv/dc.c
+4
-0
dibdrv.h
dlls/gdi32/dibdrv/dibdrv.h
+1
-0
primitives.c
dlls/gdi32/dibdrv/primitives.c
+268
-0
No files found.
dlls/gdi32/dibdrv/dc.c
View file @
dc7ff3a4
...
...
@@ -102,6 +102,10 @@ static BOOL init_dib_info(dib_info *dib, const BITMAPINFOHEADER *bi, const DWORD
dib
->
funcs
=
&
funcs_32
;
break
;
case
24
:
dib
->
funcs
=
&
funcs_24
;
break
;
case
16
:
if
(
bi
->
biCompression
==
BI_RGB
)
bit_fields
=
bit_fields_555
;
...
...
dlls/gdi32/dibdrv/dibdrv.h
View file @
dc7ff3a4
...
...
@@ -47,6 +47,7 @@ typedef struct primitive_funcs
extern
const
primitive_funcs
funcs_8888
DECLSPEC_HIDDEN
;
extern
const
primitive_funcs
funcs_32
DECLSPEC_HIDDEN
;
extern
const
primitive_funcs
funcs_24
DECLSPEC_HIDDEN
;
extern
const
primitive_funcs
funcs_555
DECLSPEC_HIDDEN
;
extern
const
primitive_funcs
funcs_16
DECLSPEC_HIDDEN
;
extern
const
primitive_funcs
funcs_8
DECLSPEC_HIDDEN
;
...
...
dlls/gdi32/dibdrv/primitives.c
View file @
dc7ff3a4
This diff is collapsed.
Click to expand it.
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