diff options
-rw-r--r-- | opengl/include/EGL/eglext_angle.h | 4 | ||||
-rw-r--r-- | opengl/libs/EGL/Loader.cpp | 2 | ||||
-rw-r--r-- | opengl/libs/EGL/egl_display.cpp | 23 | ||||
-rw-r--r-- | opengl/libs/EGL/egl_platform_entries.cpp | 26 |
4 files changed, 24 insertions, 31 deletions
diff --git a/opengl/include/EGL/eglext_angle.h b/opengl/include/EGL/eglext_angle.h index 0556ea1342..1f1bcb3950 100644 --- a/opengl/include/EGL/eglext_angle.h +++ b/opengl/include/EGL/eglext_angle.h @@ -4,12 +4,12 @@ // found in the LICENSE file. // // eglext_angle.h: ANGLE modifications to the eglext.h header file. -// Currently we don't include this file directly, we patch eglext.h -// to include it implicitly so it is visible throughout our code. #ifndef INCLUDE_EGL_EGLEXT_ANGLE_ #define INCLUDE_EGL_EGLEXT_ANGLE_ +#include <EGL/eglext.h> + // clang-format off #ifndef EGL_ANGLE_robust_resource_initialization diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 2ac02a71f9..85e2c15c89 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -30,10 +30,10 @@ #include <string> +#include "EGL/eglext_angle.h" #include "egl_platform_entries.h" #include "egl_trace.h" #include "egldefs.h" -#include "EGL/eglext_angle.h" namespace android { diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp index 3b1cf712a2..8c6f2842cc 100644 --- a/opengl/libs/EGL/egl_display.cpp +++ b/opengl/libs/EGL/egl_display.cpp @@ -19,25 +19,22 @@ #include "egl_display.h" -#include "../egl_impl.h" - -#include <EGL/eglext_angle.h> -#include <private/EGL/display.h> - -#include "Loader.h" -#include "egl_angle_platform.h" -#include "egl_cache.h" -#include "egl_object.h" -#include "egl_tls.h" - #include <SurfaceFlingerProperties.h> #include <android-base/properties.h> #include <android/dlext.h> +#include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h> +#include <configstore/Utils.h> #include <dlfcn.h> #include <graphicsenv/GraphicsEnv.h> -#include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h> -#include <configstore/Utils.h> +#include "../egl_impl.h" +#include "EGL/eglext_angle.h" +#include "Loader.h" +#include "egl_angle_platform.h" +#include "egl_cache.h" +#include "egl_object.h" +#include "egl_tls.h" +#include "private/EGL/display.h" using namespace android::hardware::configstore; using namespace android::hardware::configstore::V1_0; diff --git a/opengl/libs/EGL/egl_platform_entries.cpp b/opengl/libs/EGL/egl_platform_entries.cpp index b93afc4a10..570d36bbf1 100644 --- a/opengl/libs/EGL/egl_platform_entries.cpp +++ b/opengl/libs/EGL/egl_platform_entries.cpp @@ -18,36 +18,32 @@ #include "egl_platform_entries.h" -#include <ctype.h> -#include <dlfcn.h> -#include <stdlib.h> -#include <string.h> - -#include <EGL/egl.h> -#include <EGL/eglext.h> -#include <EGL/eglext_angle.h> - #include <android-base/properties.h> #include <android-base/strings.h> #include <android/hardware_buffer.h> -#include <graphicsenv/GraphicsEnv.h> -#include <private/android/AHardwareBufferHelpers.h> - +#include <ctype.h> #include <cutils/compiler.h> +#include <dlfcn.h> +#include <graphicsenv/GraphicsEnv.h> #include <log/log.h> +#include <private/android/AHardwareBufferHelpers.h> +#include <stdlib.h> +#include <string.h> #include <condition_variable> #include <deque> #include <mutex> -#include <unordered_map> #include <string> #include <thread> +#include <unordered_map> #include "../egl_impl.h" - +#include "EGL/egl.h" +#include "EGL/eglext.h" +#include "EGL/eglext_angle.h" #include "egl_display.h" -#include "egl_object.h" #include "egl_layers.h" +#include "egl_object.h" #include "egl_tls.h" #include "egl_trace.h" |