mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)
This commit is contained in:
parent
9985a44c41
commit
1feafdc819
21 changed files with 0 additions and 193 deletions
|
|
@ -1078,14 +1078,8 @@ WebGLContext::ClearBackbufferIfNeeded()
|
|||
void
|
||||
WebGLContext::LoseOldestWebGLContextIfLimitExceeded()
|
||||
{
|
||||
#ifdef MOZ_GFX_OPTIMIZE_MOBILE
|
||||
// some mobile devices can't have more than 8 GL contexts overall
|
||||
const size_t kMaxWebGLContextsPerPrincipal = 2;
|
||||
const size_t kMaxWebGLContexts = 4;
|
||||
#else
|
||||
const size_t kMaxWebGLContextsPerPrincipal = 16;
|
||||
const size_t kMaxWebGLContexts = 32;
|
||||
#endif
|
||||
MOZ_ASSERT(kMaxWebGLContextsPerPrincipal < kMaxWebGLContexts);
|
||||
|
||||
if (!NS_IsMainThread()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue