| 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_GLX_H_ | 5 #ifndef UI_GL_GL_SURFACE_GLX_H_ |
| 6 #define UI_GL_GL_SURFACE_GLX_H_ | 6 #define UI_GL_GL_SURFACE_GLX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/events/platform/platform_event_dispatcher.h" | 11 #include "ui/events/platform/platform_event_dispatcher.h" |
| 12 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 13 #include "ui/gfx/size.h" | |
| 14 #include "ui/gfx/vsync_provider.h" | 14 #include "ui/gfx/vsync_provider.h" |
| 15 #include "ui/gfx/x/x11_types.h" | 15 #include "ui/gfx/x/x11_types.h" |
| 16 #include "ui/gl/gl_export.h" | 16 #include "ui/gl/gl_export.h" |
| 17 #include "ui/gl/gl_surface.h" | 17 #include "ui/gl/gl_surface.h" |
| 18 | 18 |
| 19 namespace gfx { | 19 namespace gfx { |
| 20 | 20 |
| 21 // Base class for GLX surfaces. | 21 // Base class for GLX surfaces. |
| 22 class GL_EXPORT GLSurfaceGLX : public GLSurface { | 22 class GL_EXPORT GLSurfaceGLX : public GLSurface { |
| 23 public: | 23 public: |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 gfx::Size size_; | 113 gfx::Size size_; |
| 114 void* config_; | 114 void* config_; |
| 115 XID pbuffer_; | 115 XID pbuffer_; |
| 116 | 116 |
| 117 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceGLX); | 117 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceGLX); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace gfx | 120 } // namespace gfx |
| 121 | 121 |
| 122 #endif // UI_GL_GL_SURFACE_GLX_H_ | 122 #endif // UI_GL_GL_SURFACE_GLX_H_ |
| OLD | NEW |