forked from ajstarks/openvg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge changes from Paeryn (see issue ajstarks#41)
- Loading branch information
Showing
8 changed files
with
467 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
typedef struct { | ||
// Screen dimentions | ||
uint32_t screen_width; | ||
uint32_t screen_height; | ||
// OpenGL|ES objects | ||
// Window dimentions | ||
int32_t window_x; | ||
int32_t window_y; | ||
uint32_t window_width; | ||
uint32_t window_height; | ||
// dispman window | ||
DISPMANX_ELEMENT_HANDLE_T element; | ||
|
||
// EGL data | ||
EGLDisplay display; | ||
|
||
EGLSurface surface; | ||
EGLContext context; | ||
} STATE_T; | ||
|
||
extern void oglinit(STATE_T *); | ||
extern void dispmanMoveWindow(STATE_T *, int, int); | ||
extern void dispmanChangeWindowOpacity(STATE_T *, unsigned int); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.