Geoffrey McRae
fc66a4a19c
[client] egl: use persistant mapped texture buffers
...
While it is recommended to use memory barriers when updating a buffer
like we are, since we double buffer it is unlikely we will corrupt a
prior frame, and even if we do since it's just texture data at worst
we might see a tear.
2019-05-22 11:37:27 +10:00
Geoffrey McRae
087387087e
[client] fix race condition on initial uniform access
2019-05-22 11:36:47 +10:00
Geoffrey McRae
e3c98ddc35
[client] port all configuration parsing to use the new option helper
2019-05-21 15:03:59 +10:00
Geoffrey McRae
ba50fbdc3e
[client] egl: implement pixel perfect upscaling
2019-04-19 11:23:51 +10:00
Geoffrey McRae
d8915dbfc9
[build] make "common" a static library (part 2/2)
2019-04-11 11:12:59 +10:00
Geoffrey McRae
1fbba5cf2d
[client] egl: make nightvision enhance luminosity before gain
2019-03-31 00:08:52 +11:00
Geoffrey McRae
35094a57cb
[client] more cleanup and added alerts for new events
2019-03-30 12:26:06 +11:00
Geoffrey McRae
c4001c727a
[client] egl: added new super+N binding to increase image gain
...
This feture is to allow the use of the key combination <super>+N to
increase the brightness of the screen when using monitors with poor
backlighting. Can help in some games.
N = Night vision
2019-03-29 00:15:14 +11:00
Geoffrey McRae
ee09594190
[client] cmake: cosmetics
2019-03-28 20:15:13 +11:00
Geoffrey McRae
66c3c0115f
[client] added options to disable/enable interfaces
2019-03-28 20:12:18 +11:00
Geoffrey McRae
3e021f3a6b
[client] use cmake to generate renderers/fonts/clipboards headers/code
...
This is in preperation of cmake options to enable/disable various
functionallity.
2019-03-28 19:56:14 +11:00
Geoffrey McRae
b524c077a4
[client] egl: remove the rest of the shaders into seperate files
2019-03-28 15:53:15 +11:00
Geoffrey McRae
10f7efecb2
[client] cmake: fix inconsistent versioning
2019-03-28 15:03:35 +11:00
Geoffrey McRae
f09ee0bdb3
[client] egl: fix minor error in CMakeLists
2019-03-28 15:01:52 +11:00
Geoffrey McRae
d5a52241b0
[client] egl: move shaders into seperate files and build into objects
2019-03-28 14:59:54 +11:00
Geoffrey McRae
52c4e15c76
[client] project restructure part 2/2
2019-03-28 12:42:41 +11:00
Geoffrey McRae
fdba14691c
[client] egl: requires gl
2019-03-28 12:31:28 +11:00
Geoffrey McRae
db398d41a0
[client] project restructure part 1/2
2019-03-28 11:02:36 +11:00
Geoffrey McRae
7cbaf8b5be
[egl] don't assume SDL is compiled with Wayland support
2019-03-26 17:30:16 +11:00
Geoffrey McRae
08bf01b649
[all] update copyright dates
2019-02-22 22:16:14 +11:00
Geoffrey McRae
e4ae9134ae
[client] egl: fix graphical glitch with splash
2019-01-02 10:36:17 +11:00
Geoffrey McRae
640bc03c6b
[client] [Patch 2/2] fixes #106
2019-01-02 10:30:55 +11:00
Geoffrey McRae
667aed635d
[client] egl: added untested support for wayland
2019-01-02 00:04:40 +11:00
Geoffrey McRae
507732587e
[client] egl: fixed uninitialized variable bug
2018-12-16 12:17:12 +11:00
Geoffrey McRae
de5795e368
[client] egl: implemented alerts and some minor fixes to fps
2018-12-16 10:57:01 +11:00
Geoffrey McRae
fca71e2b95
[client] egl: slight correction to splash
2018-12-16 00:56:35 +11:00
Geoffrey McRae
0e2b371e59
[client] egl: added splash screen rendering
2018-12-16 00:54:37 +11:00
Geoffrey McRae
e1fa6b4057
[client] egl: fix cursor regression
2018-12-13 02:11:37 +11:00
Geoffrey McRae
b6c8d3fae5
[client] egl: fix mono cursor double height regression
2018-12-13 01:39:52 +11:00
Geoffrey McRae
5fe2db7e56
[client] rename fps variables to be more correct
2018-12-12 23:59:22 +11:00
Geoffrey McRae
42fa0e1d1f
[client] egl: corrected fps alpha blending
2018-12-12 22:38:08 +11:00
Geoffrey McRae
abfe3a9b4d
[client] egl: moved desktop rendering into seperate unit
2018-12-12 21:41:51 +11:00
Geoffrey McRae
b9f8f1a0ad
[client] egl: add and use default quad helper for models
2018-12-12 20:08:52 +11:00
Geoffrey McRae
608b67af77
[client] egl: moved fps code into seperate unit
2018-12-12 20:04:43 +11:00
Geoffrey McRae
2a65e39848
[client] egl: added missing files from last commit
2018-12-12 18:57:31 +11:00
Geoffrey McRae
c23bf6a0c4
[client] egl: migrate cursor code into seperate unit
2018-12-12 18:53:55 +11:00
Geoffrey McRae
50c460df5a
[client] define GL_GLEXT_PROTOTYPES globally
2018-12-12 16:53:30 +11:00
Geoffrey McRae
61f0577ab2
[client] egl: costmetics
2018-12-12 16:41:29 +11:00
Geoffrey McRae
a9aab3c1ee
[client] egl: moved egl sources into subdirectory
2018-12-12 16:39:04 +11:00
Geoffrey McRae
73da86ac0e
[client] egl: add checking to egl_shader_get_uniform_location
2018-12-12 16:32:16 +11:00
Geoffrey McRae
43d08df6b3
[client] egl: rename "shader" to "this" for consistancy
2018-12-12 16:31:25 +11:00
Geoffrey McRae
4654f317ca
[client] opengl: fixed incorrect colors and added 10-bit RGBA support
2018-12-12 10:55:18 +11:00
Geoffrey McRae
d2b83027b4
[client] egl: removed accidental commit of test code
2018-12-11 16:35:53 +11:00
Geoffrey McRae
7be930a69c
[client] removed use of now removed frame type, fixed #105
2018-12-11 16:34:41 +11:00
Geoffrey McRae
75ffcacfe4
[client] added support for RGBA, BGRA and 10-bit RGBA
2018-12-04 21:24:01 +11:00
Geoffrey McRae
1beeac545d
[client] added missing lg-fonts.c to the repo
2018-11-20 22:34:01 +11:00
Geoffrey McRae
ab98c87e7c
[client] egl: added FPS rendering
2018-11-20 09:50:09 +11:00
Geoffrey McRae
5b453d604e
[client] remove other render modes from font ABI
2018-11-20 05:50:22 +11:00
Geoffrey McRae
90fc2a8164
[client] move FPS calculations out of renderers
2018-11-20 05:26:51 +11:00
Geoffrey McRae
0ed9301ed9
[client] font: implemented font ABI and updated OpenGL to use it
2018-11-20 04:38:53 +11:00
Geoffrey McRae
4e7de236d3
[egl] implement window positioning
2018-10-04 02:31:37 +10:00
Geoffrey McRae
741dfd418d
[egl] improve texture upload performance
2018-10-04 00:09:47 +10:00
Geoffrey McRae
e70928d603
[egl] fix incorrect xor blending for monochrome cursors
2018-09-25 23:32:45 +10:00
Geoffrey McRae
e2b33348f3
[egl] added monochrome cursor rendering
2018-09-25 23:04:29 +10:00
Geoffrey McRae
3ff712fea5
[egl] fix performance issue with cursor updates and add todo message
2018-09-24 20:26:31 +10:00
Geoffrey McRae
2db26ae37e
[egl] fix incorrect mouse size and position scaling
2018-09-24 20:11:42 +10:00
Geoffrey McRae
375b97ca6f
[egl] fix incorrect mouse colors
2018-09-24 19:52:44 +10:00
Geoffrey McRae
d331a3dd5a
[egl] added intial cursor support
2018-09-24 19:48:11 +10:00
Geoffrey McRae
c0c63fd93b
[egl] simplify yuv to rgb shader
2018-09-23 20:56:18 +10:00
Geoffrey McRae
b5a47cae25
[egl] implemented YUV420 decode support in hardware
2018-09-23 20:45:20 +10:00
Geoffrey McRae
1f1c9dfa59
[egl] don't re-create the buffer each frame
2018-09-23 16:56:09 +10:00
Geoffrey McRae
884ad6557b
[egl] cleanup texture API
2018-09-23 15:56:47 +10:00
Geoffrey McRae
00658f3d64
[egl] split out texture code into it's own object
2018-09-23 15:48:44 +10:00
Geoffrey McRae
fff3ec30b8
[egl] added basic shaders and use dma to xfer buffer to the gpu
2018-09-22 18:00:52 +10:00
Geoffrey McRae
26434f7baf
[egl] initial commit of new modern OpenGL ES renderer
2018-09-22 16:26:55 +10:00
Geoffrey McRae
83592f7e4a
[client] cleanup of renderer API for better usage
...
* Added new on_render_start for render initialization
* Changed on_resize to execute inside the render thread
2018-07-28 14:49:37 +10:00
Geoffrey McRae
13cd50f92c
[client] disable multisample after logo is gone
...
We only use multisample to smooth out the edges of the LG logo, it is
pointless to leave it on after the logo is gone.
2018-07-28 10:36:41 +10:00
Geoffrey McRae
05bd587c74
[client] implemented initial slow yuv420 support
2018-07-28 08:41:39 +10:00
Geoffrey McRae
60070e6076
[client] implement stream paused alert
2018-07-24 01:09:53 +10:00
Geoffrey McRae
d839026ade
[opengl] added fade out to wait screen
2018-07-20 01:01:16 +10:00
Geoffrey McRae
34de213926
[opengl] render alerts and fps on wait screen
2018-07-20 00:10:29 +10:00
Geoffrey McRae
b5ec4dd305
[client] scale up the logo and put a gradient behind it
2018-07-19 23:48:35 +10:00
Geoffrey McRae
023d3f811b
[client] render the looking glass logo (almost)
2018-07-19 23:33:51 +10:00
Geoffrey McRae
53c32cc5a4
[client] enable multisampling
2018-07-19 23:33:26 +10:00
Geoffrey McRae
eb6ee8ea46
[client] allow window resize event's before startup
2018-07-19 23:32:42 +10:00
Geoffrey McRae
14954cc426
[client] fix too early release of OpenGL context
...
Fixes a problem where resolution changes would require a restart of
the client
2018-05-31 18:54:29 +10:00
Geoffrey McRae
fbbee1cdac
[opengl] added support for alerts
2018-05-29 11:08:25 +10:00
Geoffrey McRae
a647a602bf
[opengl] render a blue screen while waiting for sync
2018-05-28 15:30:31 +10:00
Geoffrey McRae
882b31aeaa
[client] add support for masked colour cursors ( fixes #61 )
...
Also allows early SDL usage for cursor and keyboard control before
the host application starts
2018-05-28 11:40:56 +10:00
Geoffrey McRae
b3aadccfc4
[client] use glFinish to prevent buffering and re-enable by default
2018-05-21 23:16:16 +10:00
Geoffrey McRae
adb1ca58b9
[opengl-basic] removed basic renderer as it is no longer needed
2018-05-16 18:13:20 +10:00
Geoffrey McRae
cf4d16b528
[opengl] numerous improvements to buffer transfer
2018-05-16 17:58:36 +10:00
Geoffrey McRae
4fd59ce8c9
[opengl] fix free bug with new contiguous buffer
2018-05-15 19:25:22 +10:00
Geoffrey McRae
adca879fb9
[opengl] use a single contiguous buffer for the AMD pinned buffer
2018-05-15 19:23:57 +10:00
Geoffrey McRae
3a2d612b41
[decoders] change the API to allow more flexability in the future
2018-05-15 19:19:39 +10:00
Geoffrey McRae
332d53e016
[opengl] Add support for AMD_pinned_memory if it is available
2018-05-15 13:23:44 +10:00
Geoffrey McRae
ae382949c8
[opengl] glxWaitVideoSyncSGI is not well supported in Mesa 18
...
It seems Mesa 18 has problems with the glxWaitVideoSyncSGI API so
we disable the 'preventBuffer' option by default
2018-05-15 09:54:24 +10:00
Geoffrey McRae
7648ea712c
[client] opengl: fix termination on configure failure
2018-01-04 09:25:42 +11:00
Geoffrey McRae
fbf08b94aa
[client] initial vaapi h264 decode support (unfinished)
2017-12-31 00:27:26 +11:00
Geoffrey McRae
076a45acc5
[client] added initial decoder framework
2017-12-29 22:48:21 +11:00
Geoffrey McRae
c239306d82
[client] initial support for compressed frames
2017-12-29 21:20:51 +11:00
Geoffrey McRae
db52a55b36
[client] opengl: remove deprecated glScissor, fixes FPS display
2017-12-23 17:40:50 +11:00
Geoffrey McRae
0574daca13
[client] removed unused function argument
2017-12-23 17:38:25 +11:00
Geoffrey McRae
a08aad8009
[client] opengl: don't scale the FPS readout
2017-12-21 06:50:57 +11:00
Geoffrey McRae
58ed978767
[client] opengl: switch to SDL_mutex locking
2017-12-21 01:23:25 +11:00
Geoffrey McRae
c098967293
[client] opengl: update FPS even when there is no updates
2017-12-21 01:17:45 +11:00
Geoffrey McRae
5501d22a2d
[client] fixed missed usage of new locking semantics
2017-12-21 01:03:21 +11:00
Geoffrey McRae
2f6b7e08f8
[client] define locking types and semantics to allow for alt methods
2017-12-21 00:58:16 +11:00
Geoffrey McRae
695822bd6d
[client] redesign of the renderer archiceture for mt support
...
This is the first of two commits that completely turn the rendering code
on it's head. This change set decouples the guest's capture rate from
the host's render rate for both cursor and frame updates. This helps
prevent the host application from stalling when waiting for frame draws
when all it want's to do is send cursor updates.
* Breaks OpenGL-Basic for now
2017-12-20 00:53:45 +11:00
Geoffrey McRae
8b25f8a344
[client] opengl: show actual FPS seperate from updates per second (UPS)
2017-12-19 12:17:50 +11:00