Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Emscripten changes #2069

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Various Emscripten changes #2069

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Other, Other

Comments on the original bug report:

On 2016-01-09 14:57:23 +0000, Charlie Birks wrote:

Not sure of the best way to submit these, but here's a link to the relevant commits:

spurious/SDL-mirror@master...Daft-Freak:squash

On 2016-01-13 14:06:02 +0000, Martin Gerhardy wrote:

+1 for these changes

On 2016-04-12 14:55:01 +0000, Charlie Birks wrote:

Created attachment 2410
use css size for touch normalisation

Prep for next patch

On 2016-04-12 14:55:53 +0000, Charlie Birks wrote:

Created attachment 2411
simplify fullscreen handling using new fullscreen_strategy api

On 2016-04-12 14:56:52 +0000, Charlie Birks wrote:

Created attachment 2412
use SDL_SetMouseFocus

On 2016-04-12 14:59:05 +0000, Charlie Birks wrote:

Created attachment 2413
listen for mouse up on document (fixes mouseup outside canvas)

On 2016-04-12 15:00:24 +0000, Charlie Birks wrote:

Created attachment 2414
send mouse move on enter/leave

On 2016-04-12 15:02:00 +0000, Charlie Birks wrote:

Created attachment 2415
Include timers when using cmake

On 2016-04-12 15:03:09 +0000, Charlie Birks wrote:

Created attachment 2416
optimize a getValue

On 2016-04-12 15:04:18 +0000, Charlie Birks wrote:

Created attachment 2417
optimize Emscripten_UpdateWindowFramebuffer

Significant optimisation to software rendering.

On 2016-04-12 15:05:31 +0000, Charlie Birks wrote:

Created attachment 2418
Fix of mouse events in browser without pointer locks

On 2016-04-12 15:07:17 +0000, Charlie Birks wrote:

Created attachment 2419
Accumulate subpixel mouse motion so motion is not lost.

On 2016-04-12 15:07:50 +0000, Charlie Birks wrote:

Created attachment 2420
Mouse events use CSS coordinates, so don't scale by pixel_ratio

On 2016-04-12 15:08:51 +0000, Charlie Birks wrote:

Created attachment 2421
Listen for blur and focus events on window instead of canvas

On 2016-04-12 15:14:51 +0000, Charlie Birks wrote:

Created attachment 2422
Unpress all keys on blur to avoid stuck keys

On 2016-04-12 15:16:43 +0000, Charlie Birks wrote:

Created attachment 2423
Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.

On 2016-04-12 15:17:18 +0000, Charlie Birks wrote:

Created attachment 2424
Remove unused variable warning from Emscripten build in Emscripten_HandleFullscreenChange().

On 2016-04-12 15:18:48 +0000, Charlie Birks wrote:

Created attachment 2425
Support SDL_SetWindowTitle() via Module'setWindowTitle'

On 2016-04-12 15:23:32 +0000, Charlie Birks wrote:

Created attachment 2426
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 emscripten-ports/SDL2#13 and emscripten-core/emscripten#3265)

On 2016-04-12 15:25:15 +0000, Charlie Birks wrote:

Created attachment 2427
use screen resolution instead of canvas size

Makes reported display mode actually match the screen.

On 2016-04-12 15:26:19 +0000, Charlie Birks wrote:

Created attachment 2428
only unset fullscreen flags if fullscreen failed

On 2016-04-12 15:27:36 +0000, Charlie Birks wrote:

Created attachment 2429
add some detail to fullscreen workaround comment

Comment on fullscreen hack

On 2016-04-12 15:28:21 +0000, Charlie Birks wrote:

Created attachment 2430
use Module.createContext for 2D rendering in emscripten

On 2016-04-12 15:29:04 +0000, Charlie Birks wrote:

Created attachment 2431
Add mapping for media keys

On 2016-04-12 15:29:43 +0000, Charlie Birks wrote:

Created attachment 2432
Only prevent the default browser event handling when the specific event types aren't disabled by the user

On 2016-04-12 15:32:03 +0000, Charlie Birks wrote:

Reminded about this today, so generated patches.

On 2016-09-01 14:11:51 +0000, Charlie Birks wrote:

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:

Daft-Freak/SDL-emscripten@1cb4f14
Daft-Freak/SDL-emscripten@365e916

Is there anything I need to do to get these looked at?

On 2016-09-13 07:11:07 +0000, Sam Lantinga wrote:

Patches applied, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant