Don't preload rarely seen large images
[chromium-blink-merge.git] / gpu / gles2_conform_support / egl / surface.h
blob3b66de082c7cdfd1fd67ec4534d81af24416a74a
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
3 // found in the LICENSE file.
5 #ifndef GPU_GLES2_CONFORM_TEST_SURFACE_H_
6 #define GPU_GLES2_CONFORM_TEST_SURFACE_H_
8 #include <EGL/egl.h>
10 #include "base/basictypes.h"
12 namespace egl {
14 class Surface {
15 public:
16 explicit Surface(EGLNativeWindowType win);
17 ~Surface();
19 EGLNativeWindowType window() { return window_; }
21 private:
22 EGLNativeWindowType window_;
24 DISALLOW_COPY_AND_ASSIGN(Surface);
27 } // namespace egl
29 #endif // GPU_GLES2_CONFORM_TEST_SURFACE_H_