| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GL_GL_SURFACE_EGL_H_ | 5 #ifndef UI_GL_GL_SURFACE_EGL_H_ |
| 6 #define UI_GL_GL_SURFACE_EGL_H_ | 6 #define UI_GL_GL_SURFACE_EGL_H_ |
| 7 | 7 |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/macros.h" |
| 16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "build/build_config.h" |
| 17 #include "ui/gfx/geometry/size.h" | 19 #include "ui/gfx/geometry/size.h" |
| 18 #include "ui/gfx/vsync_provider.h" | 20 #include "ui/gfx/vsync_provider.h" |
| 19 #include "ui/gl/gl_bindings.h" | 21 #include "ui/gl/gl_bindings.h" |
| 20 #include "ui/gl/gl_surface.h" | 22 #include "ui/gl/gl_surface.h" |
| 21 #include "ui/gl/gl_surface_overlay.h" | 23 #include "ui/gl/gl_surface_overlay.h" |
| 22 | 24 |
| 23 namespace gfx { | 25 namespace gfx { |
| 24 | 26 |
| 25 // Get default EGL display for GLSurfaceEGL (differs by platform). | 27 // Get default EGL display for GLSurfaceEGL (differs by platform). |
| 26 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay(); | 28 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay(); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 ~SurfacelessEGL() override; | 197 ~SurfacelessEGL() override; |
| 196 | 198 |
| 197 private: | 199 private: |
| 198 gfx::Size size_; | 200 gfx::Size size_; |
| 199 DISALLOW_COPY_AND_ASSIGN(SurfacelessEGL); | 201 DISALLOW_COPY_AND_ASSIGN(SurfacelessEGL); |
| 200 }; | 202 }; |
| 201 | 203 |
| 202 } // namespace gfx | 204 } // namespace gfx |
| 203 | 205 |
| 204 #endif // UI_GL_GL_SURFACE_EGL_H_ | 206 #endif // UI_GL_GL_SURFACE_EGL_H_ |
| OLD | NEW |