// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gl/egl_util.h" #include "build/build_config.h" #if BUILDFLAG(IS_ANDROID) #include <EGL/egl.h> #else #include "third_party/khronos/EGL/egl.h" #endif // This needs to be after the EGL includes #include "ui/gl/gl_bindings.h" namespace ui { const char* GetEGLErrorString(uint32_t error) { … } // Returns the last EGL error as a string. const char* GetLastEGLErrorString() { … } } // namespace ui