summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.h
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-06-29 22:48:41 +0200
committermobserveur <mobserveur@gmail.com>2024-06-29 22:48:41 +0200
commit714038e0f35329b614d12cf467230f9cb6eea017 (patch)
tree2d51920ba097820f0c383840cdae9626dfcce3a6 /indra/llrender/llgl.h
parent5d578f69df6ad00e51d1c2902a1f304f4d942e61 (diff)
Apple GPU Detection and Apple GPU performance optimisations
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
Diffstat (limited to 'indra/llrender/llgl.h')
-rw-r--r--indra/llrender/llgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h
index 5a7ad943df..e4b106c999 100644
--- a/indra/llrender/llgl.h
+++ b/indra/llrender/llgl.h
@@ -100,6 +100,7 @@ public:
BOOL mIsAMD;
BOOL mIsNVIDIA;
BOOL mIsIntel;
+ BOOL mIsApple;
#if LL_DARWIN
// Needed to distinguish problem cards on older Macs that break with Materials