|
Description
Charlie Birks
2016-01-09 14:57:23 UTC
+1 for these changes Created attachment 2410 [details]
use css size for touch normalisation
Prep for next patch
Created attachment 2411 [details]
simplify fullscreen handling using new fullscreen_strategy api
Created attachment 2412 [details]
use SDL_SetMouseFocus
Created attachment 2413 [details]
listen for mouse up on document (fixes mouseup outside canvas)
Created attachment 2414 [details]
send mouse move on enter/leave
Created attachment 2415 [details]
Include timers when using cmake
Created attachment 2416 [details]
optimize a getValue
Created attachment 2417 [details]
optimize Emscripten_UpdateWindowFramebuffer
Significant optimisation to software rendering.
Created attachment 2418 [details]
Fix of mouse events in browser without pointer locks
Created attachment 2419 [details]
Accumulate subpixel mouse motion so motion is not lost.
Created attachment 2420 [details]
Mouse events use CSS coordinates, so don't scale by pixel_ratio
Created attachment 2421 [details]
Listen for blur and focus events on window instead of canvas
Created attachment 2422 [details]
Unpress all keys on blur to avoid stuck keys
Created attachment 2423 [details]
Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.
Created attachment 2424 [details]
Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().
Created attachment 2425 [details]
Support SDL_SetWindowTitle() via Module['setWindowTitle']()
Created attachment 2426 [details] Fix full screen mode in Firefox, which was broken by 9d4beb2 This one is a hack but we can't use fullscreen mode otherwise... (see https://github.com/emscripten-ports/SDL2/pull/13 and https://github.com/kripken/emscripten/pull/3265) Created attachment 2427 [details]
use screen resolution instead of canvas size
Makes reported display mode actually match the screen.
Created attachment 2428 [details]
only unset fullscreen flags if fullscreen failed
Created attachment 2429 [details]
add some detail to fullscreen workaround comment
Comment on fullscreen hack
Created attachment 2430 [details]
use Module.createContext for 2D rendering in emscripten
Created attachment 2431 [details]
Add mapping for media keys
Created attachment 2432 [details]
Only prevent the default browser event handling when the specific event types aren't disabled by the user
Reminded about this today, so generated patches. Apart from "simplify fullscreen handling using new fullscreen_strategy api" and "Only prevent the default browser event handling when the specific event types aren't disabled by the user" these should still apply. Rebased versions of these are here: https://github.com/Daft-Freak/SDL-emscripten/commit/1cb4f143721ccf3217b55285d9755133caa261ff https://github.com/Daft-Freak/SDL-emscripten/commit/365e9166000abe87d71f2d8316a317db826f87b8 Is there anything I need to do to get these looked at? Patches applied, thanks! |