[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 62/76: Bug 1744525 - Add missing IsMesa definition. a=bustage



This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch tor-browser-91.8.0esr-11.0-1
in repository tor-browser.

commit caa9137aca07befabf82c7fcd631300b8787b1db
Author: Jeff Gilbert <jgilbert@xxxxxxxxxxx>
AuthorDate: Thu Mar 24 10:17:51 2022 -0400

    Bug 1744525 - Add missing IsMesa definition. a=bustage
    
    This was originally added by bug 1657189 for 93+.
---
 gfx/gl/GLContext.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gfx/gl/GLContext.h b/gfx/gl/GLContext.h
index d8da2ccc7ee3f..9f4a93205c3a1 100644
--- a/gfx/gl/GLContext.h
+++ b/gfx/gl/GLContext.h
@@ -280,8 +280,8 @@ class GLContext : public GenericAtomicRefCounted, public SupportsWeakPtr {
   }
 
   GLVendor Vendor() const { return mVendor; }
-
   GLRenderer Renderer() const { return mRenderer; }
+  bool IsMesa() const { return mIsMesa; }
 
   bool IsContextLost() const { return mContextLost; }
 
@@ -335,6 +335,7 @@ class GLContext : public GenericAtomicRefCounted, public SupportsWeakPtr {
 
   GLVendor mVendor = GLVendor::Other;
   GLRenderer mRenderer = GLRenderer::Other;
+  bool mIsMesa = false;
 
   // -----------------------------------------------------------------------------
   // Extensions management

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits