angle_platform_impl.h 589 B

12345678910111213141516171819202122
  1. // Copyright 2015 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_
  5. #define UI_GL_ANGLE_PLATFORM_IMPL_H_
  6. // Implements the ANGLE platform interface, for functionality like
  7. // histograms and trace profiling.
  8. #include "ui/gl/gl_export.h"
  9. typedef void* EGLDisplay;
  10. namespace angle {
  11. GL_EXPORT bool InitializePlatform(EGLDisplay display);
  12. GL_EXPORT void ResetPlatform(EGLDisplay display);
  13. } // namespace angle
  14. #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_