OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 GPU_GLES2_CONFORM_TEST_SURFACE_H_ | 5 #ifndef GPU_GLES2_CONFORM_TEST_SURFACE_H_ |
6 #define GPU_GLES2_CONFORM_TEST_SURFACE_H_ | 6 #define GPU_GLES2_CONFORM_TEST_SURFACE_H_ |
7 | 7 |
8 #include <EGL/egl.h> | 8 #include <EGL/egl.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace egl { | 12 namespace egl { |
13 | 13 |
14 class Surface { | 14 class Surface { |
15 public: | 15 public: |
16 explicit Surface(EGLNativeWindowType win); | 16 explicit Surface(EGLNativeWindowType win); |
17 ~Surface(); | 17 ~Surface(); |
18 | 18 |
19 EGLNativeWindowType window() { return window_; } | 19 EGLNativeWindowType window() { return window_; } |
20 | 20 |
21 private: | 21 private: |
22 EGLNativeWindowType window_; | 22 EGLNativeWindowType window_; |
23 | 23 |
24 DISALLOW_COPY_AND_ASSIGN(Surface); | 24 DISALLOW_COPY_AND_ASSIGN(Surface); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace egl | 27 } // namespace egl |
28 | 28 |
29 #endif // GPU_GLES2_CONFORM_TEST_SURFACE_H_ | 29 #endif // GPU_GLES2_CONFORM_TEST_SURFACE_H_ |
OLD | NEW |