1 //
2 // Copyright (c) 2002-2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // SurfaceImpl.cpp: Implementation of Surface stub method class
8 
9 #include "libANGLE/renderer/SurfaceImpl.h"
10 
11 namespace rx
12 {
13 
SurfaceImpl(const egl::SurfaceState & state)14 SurfaceImpl::SurfaceImpl(const egl::SurfaceState &state) : mState(state)
15 {
16 }
17 
~SurfaceImpl()18 SurfaceImpl::~SurfaceImpl()
19 {
20 }
21 
swapWithDamage(const gl::Context * context,EGLint * rects,EGLint n_rects)22 egl::Error SurfaceImpl::swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects)
23 {
24     UNREACHABLE();
25     return egl::EglBadSurface() << "swapWithDamage implementation missing.";
26 }
27 
28 }  // namespace rx
29