gfxFallback.h 946 B

123456789101112131415161718192021222324252627282930
  1. /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef mozilla_gfx_config_gfxFallback_h
  6. #define mozilla_gfx_config_gfxFallback_h
  7. #include <stdint.h>
  8. #include "gfxTelemetry.h"
  9. namespace mozilla {
  10. namespace gfx {
  11. #define GFX_FALLBACK_MAP(_) \
  12. /* Name */ \
  13. _(PLACEHOLDER_DO_NOT_USE) \
  14. /* Add new entries above this comment */
  15. enum class Fallback : uint32_t {
  16. #define MAKE_ENUM(name) name,
  17. GFX_FALLBACK_MAP(MAKE_ENUM)
  18. #undef MAKE_ENUM
  19. NumValues
  20. };
  21. } // namespace gfx
  22. } // namespace mozilla
  23. #endif // mozilla_gfx_config_gfxFallback_h