summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support/egl/surface.h
blob: 3b66de082c7cdfd1fd67ec4534d81af24416a74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_GLES2_CONFORM_TEST_SURFACE_H_
#define GPU_GLES2_CONFORM_TEST_SURFACE_H_

#include <EGL/egl.h>

#include "base/basictypes.h"

namespace egl {

class Surface {
 public:
  explicit Surface(EGLNativeWindowType win);
  ~Surface();

  EGLNativeWindowType window() { return window_; }

 private:
  EGLNativeWindowType window_;

  DISALLOW_COPY_AND_ASSIGN(Surface);
};

}  // namespace egl

#endif  // GPU_GLES2_CONFORM_TEST_SURFACE_H_