Use value of UIScreen.MainScreen.Scale to support retina display by jordoh · Pull Request #2 · MonoGame/MonoGame

@jordoh

retina display resolution

sulix referenced this pull request in sulix/MonoGame

Apr 30, 2013
Merge back from develop3d

totallyeviljake pushed a commit that referenced this pull request

Jun 8, 2013
Null checks for _mediaElement in handlers.

@nkast nkast mentioned this pull request

Jun 18, 2013

dellis1972 added a commit that referenced this pull request

Sep 29, 2013

KonajuGames pushed a commit that referenced this pull request

Jan 30, 2014

AgileJoshua pushed a commit to AgileJoshua/MonoGame that referenced this pull request

May 31, 2014
Fix for concurrent modification of the resources list during disposeAll.

@nkast nkast mentioned this pull request

Aug 4, 2014

nkast referenced this pull request in nkast/MonoGame

Sep 25, 2014
There is a bug on WP8 (Lumia 620, Lumia Black) with the Obscure event.
The bug occure sometimes when resume from the Lock screen and cause the
app to pause on a black screen.
It never happens when the phone is attacked to the debugger so this
required some sort of on-screen logging to figure out.

case #1
ApplicationIdleDetectionMode=Enabled (default)
App is suspended either by timeout or power button.

Obscured event triggered. IsLocked=true.
It's safe to ignore the Obscure event since the OS deactivates the app
anyway. IsActive is set to false by OnDeactivate.
When the user unlock the phone Unobscure event triggered but *sometimes*
another Obscured event
arrive after that, causing to app to remain in IsActive=false state.
That's why we need to ignore the event.

case #2
ApplicationIdleDetectionMode=Disabled
App is suspended either by timeout or power button.

Obscured event triggered. IsLocked=true.
We set IsActive=false on Obscure event as before.
When the user unlock the phone Unobscure event triggered and we set
IsActive=true.
Actually a second obscured event is triggered following by an
Unobscured, not an issue here.
In that mode the OS doesn't deactivate the app, allowing the app to run
under lock screen.
note: actually MonoGame doesn't allow run under lock screen
MonoGame#2084.

case #3
ApplicationIdleDetectionMode=Enabled|Disabled
App is suspended by a phone call.

Obscured event triggered. IsLocked=false.
We set IsActive=false on Obscure event.
When the action that obscured the app ends, an Unobscure event is
triggered and we set IsActive=true. No bug here.
That is similar to case #2. The OS doesn't deactivate the app.

@nkast nkast mentioned this pull request

Sep 25, 2014

Decavoid added a commit to Decavoid/MonoGame that referenced this pull request

Oct 28, 2014

KonajuGames added a commit that referenced this pull request

Jul 11, 2015
Added Support for ATI compression

@s-m-k s-m-k mentioned this pull request

Feb 23, 2018

@matx2 matx2 mentioned this pull request

Jul 3, 2019

MrPodunkian referenced this pull request in MrPodunkian/MonoGame

Dec 2, 2021
- Fixed the CueDefinition/SetSound functions incorrectly assigning th…

AristurtleDev referenced this pull request in AristurtleDev/MonoGame

Mar 11, 2024
Revert "Feature/cake frosting"

tomspilman pushed a commit that referenced this pull request

Oct 13, 2025
Several fixes for getting WindowsDX working.

This is working off PR #9023

1. Fixed a bug where switching from multiple render targets back to a
single render target wasn't properly handled.
6027892
2. Creating/setting a custom render target was never fully implemented.
Custom render target is now created along with it's depth texture. Fixes
#9021
6027892
4. Disposing of textures was not calling `FreeDescriptors` resulting in
an eventual crash.
6027892
5. `MGG_Buffer_SetData` was not using the correct signature. Going to
need more work.
6027892
6. Fixed bug where a buffer remains on the free list when it doesn't
match the exact size. a04b281

---------

Co-authored-by: sepcnt <sepcnt@proton.me>
Co-authored-by: Sepcnt <30561671+sepcnt@users.noreply.github.com>