GfxInfoWebGL.h 672 B

12345678910111213141516171819202122232425262728
  1. /* vim: se cin sw=2 ts=2 et : */
  2. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  7. #ifndef __mozilla_widget_GfxInfoWebGL_h__
  8. #define __mozilla_widget_GfxInfoWebGL_h__
  9. #include "nsString.h"
  10. namespace mozilla {
  11. namespace widget {
  12. class GfxInfoWebGL {
  13. public:
  14. static nsresult GetWebGLParameter(const nsAString& aParam, nsAString& aResult);
  15. protected:
  16. GfxInfoWebGL() { }
  17. };
  18. } // namespace widget
  19. } // namespace mozilla
  20. #endif