Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-11-21 21:09:29 +08:00
commit 310c05b97a
177 changed files with 514 additions and 4888 deletions

View file

@ -1824,7 +1824,9 @@ WebGLContext::UpdateContextLossStatus()
void
WebGLContext::ForceLoseContext(bool simulateLosing)
{
#ifdef DEBUG
printf_stderr("WebGL(%p)::ForceLoseContext\n", this);
#endif
MOZ_ASSERT(!IsContextLost());
mContextStatus = ContextLostAwaitingEvent;
mContextLostErrorSet = false;
@ -1840,7 +1842,9 @@ WebGLContext::ForceLoseContext(bool simulateLosing)
void
WebGLContext::ForceRestoreContext()
{
#ifdef DEBUG
printf_stderr("WebGL(%p)::ForceRestoreContext\n", this);
#endif
mContextStatus = ContextLostAwaitingRestore;
mAllowContextRestore = true; // Hey, you did say 'force'.