mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
[WebGL] Add preffed limit to WebGL vertCount
Defaults to 30M, working around driver bugs (looking at you, Mesa)
This commit is contained in:
parent
f2b0066036
commit
e4d635f889
4 changed files with 17 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "gfxPrefs.h"
|
||||
#include "GLContextTypes.h"
|
||||
#include "GLDefs.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
|
@ -1397,6 +1398,7 @@ protected:
|
|||
CheckedUint32 mGeneration;
|
||||
|
||||
WebGLContextOptions mOptions;
|
||||
const uint32_t mMaxVertIdsPerDraw = gfxPrefs::WebglMaxVertIDsPerDraw();
|
||||
|
||||
bool mInvalidated;
|
||||
bool mCapturedFrameInvalidated;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue