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
1f736b5f
Commit
1f736b5f
authored
Jun 22, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid: Initial version of the OpenGL driver.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ad9fbf8e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
1 deletion
+27
-1
Makefile.in
dlls/wineandroid.drv/Makefile.in
+1
-0
android.h
dlls/wineandroid.drv/android.h
+8
-0
init.c
dlls/wineandroid.drv/init.c
+17
-1
opengl.c
dlls/wineandroid.drv/opengl.c
+0
-0
window.c
dlls/wineandroid.drv/window.c
+1
-0
No files found.
dlls/wineandroid.drv/Makefile.in
View file @
1f736b5f
...
...
@@ -5,6 +5,7 @@ C_SRCS = \
device.c
\
init.c
\
keyboard.c
\
opengl.c
\
window.c
IN_SRCS
=
\
...
...
dlls/wineandroid.drv/android.h
View file @
1f736b5f
...
...
@@ -49,6 +49,14 @@ DECL_FUNCPTR( ANativeWindow_release );
/**************************************************************************
* OpenGL driver
*/
extern
void
destroy_gl_drawable
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
struct
opengl_funcs
*
get_wgl_driver
(
UINT
version
)
DECLSPEC_HIDDEN
;
/**************************************************************************
* Android pseudo-device
*/
...
...
dlls/wineandroid.drv/init.c
View file @
1f736b5f
...
...
@@ -307,6 +307,22 @@ BOOL CDECL ANDROID_EnumDisplaySettingsEx( LPCWSTR name, DWORD n, LPDEVMODEW devm
}
/**********************************************************************
* ANDROID_wine_get_wgl_driver
*/
static
struct
opengl_funcs
*
ANDROID_wine_get_wgl_driver
(
PHYSDEV
dev
,
UINT
version
)
{
struct
opengl_funcs
*
ret
;
if
(
!
(
ret
=
get_wgl_driver
(
version
)))
{
dev
=
GET_NEXT_PHYSDEV
(
dev
,
wine_get_wgl_driver
);
ret
=
dev
->
funcs
->
wine_get_wgl_driver
(
dev
,
version
);
}
return
ret
;
}
static
const
struct
gdi_dc_funcs
android_drv_funcs
=
{
NULL
,
/* pAbortDoc */
...
...
@@ -435,7 +451,7 @@ static const struct gdi_dc_funcs android_drv_funcs =
NULL
,
/* pStrokePath */
NULL
,
/* pUnrealizePalette */
NULL
,
/* pWidenPath */
NULL
,
/* wine_get_wgl_driver */
ANDROID_wine_get_wgl_driver
,
/* wine_get_wgl_driver */
GDI_PRIORITY_GRAPHICS_DRV
/* priority */
};
...
...
dlls/wineandroid.drv/opengl.c
0 → 100644
View file @
1f736b5f
This diff is collapsed.
Click to expand it.
dlls/wineandroid.drv/window.c
View file @
1f736b5f
...
...
@@ -1001,6 +1001,7 @@ void CDECL ANDROID_DestroyWindow( HWND hwnd )
if
(
data
->
surface
)
window_surface_release
(
data
->
surface
);
data
->
surface
=
NULL
;
destroy_gl_drawable
(
hwnd
);
free_win_data
(
data
);
}
...
...
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