kc3-lang/SDL/src/video/emscripten

Branch :


Log

Author Commit Date CI Message
97d05b0d 2016-12-09 05:12:27 Fixed a bunch of SwapWindow calls that needed their return value updated
232ae688 2016-11-23 17:20:28 Still more compiler warning fixes for various platforms.
c3451262 2016-11-18 00:05:28 Emscripten: Fixed handling of deactivated mouse events. SDL_GetEventState() was called with a button state instead of an event type.
01f62736 2016-10-14 17:06:28 emscripten: check if device pixel ratio has changed
00791f3a 2016-09-13 00:09:21 Only prevent the default browser event handling when the specific event types aren't disabled by the user, patch contributed by Jonas Platte
993dd835 2016-09-13 00:04:00 Add mapping for media keys
1b6565fc 2016-09-13 00:03:59 use Module.createContext for 2D rendering in emscripten
bec55734 2016-09-13 00:03:58 add some detail to fullscreen workaround comment; version 6 Conflicts: version.txt
405d64b2 2016-09-13 00:03:56 only unset fullscreen flags if fullscreen failed
c68cac89 2016-09-13 00:03:55 use screen resolution instead of canvas size
791b946a 2016-09-13 00:03:54 Fix full screen mode in Firefox, which was broken by 9d4beb2
b71208d4 2016-09-13 00:03:53 Support SDL_SetWindowTitle() via Module['setWindowTitle']()
7cf44f1b 2016-09-13 00:03:51 Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().
b54eb82c 2016-09-13 00:03:49 Unpress all keys on blur to avoid stuck keys
a0a75f38 2016-09-13 00:03:48 Listen for blur and focus events on window instead of canvas Blur and focus events were not arriving for the canvas in Firefox 35 and Chrome 40.
3e5c4cec 2016-09-13 00:03:46 Mouse events use CSS coordinates, so don't scale by pixel_ratio
a20c40c4 2016-09-13 00:03:45 Accumulate subpixel mouse motion so motion is not lost. Previously when the canvas was scaled up and the pointer was locked, motion corresponding to less than one pixel was lost. Therefore, slow mouse motion resulted in no motion. This fixes that.
443998ff 2016-09-13 00:03:44 Fix of mouse events in browser without pointer locks
2b367cb6 2016-09-13 00:03:43 optimize Emscripten_UpdateWindowFramebuffer - avoid creating contexts and images all the time - use set and then fix alpha directly
98ec8443 2016-09-13 00:03:39 send mouse move on enter/leave
a2ef0db8 2016-09-13 00:03:37 listen for mouse up on document (fixes mouseup outside canvas)
cd05184f 2016-09-13 00:03:36 use SDL_SetMouseFocus
bdca510f 2016-09-13 00:03:28 simplify fullscreen handling using new fullscreen_strategy api, patch contributed by Charlie Birks
be08cc61 2016-09-12 23:58:08 use css size for touch normalisation
d05ae194 2016-08-12 19:59:00 emscripten: send fake mouse events for touches, like other targets do. (This really should be handled at the higher level and not in the individual targets, but this fixes the immediate bug.)
19f18558 2016-03-11 22:10:35 Emscripten: Deactivated custom cursor support because it created system cursors.
42065e78 2016-01-02 10:10:34 Updated copyright to 2016
0e45984f 2015-06-21 17:33:46 Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().