summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp')
-rwxr-xr-xgfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/gfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp b/gfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp
new file mode 100755
index 000000000..e4b3d7c8b
--- /dev/null
+++ b/gfx/angle/src/libANGLE/renderer/SurfaceImpl.cpp
@@ -0,0 +1,28 @@
+//
+// Copyright (c) 2002-2014 The ANGLE Project Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+
+// SurfaceImpl.cpp: Implementation of Surface stub method class
+
+#include "libANGLE/renderer/SurfaceImpl.h"
+
+namespace rx
+{
+
+SurfaceImpl::SurfaceImpl(const egl::SurfaceState &state) : mState(state)
+{
+}
+
+SurfaceImpl::~SurfaceImpl()
+{
+}
+
+egl::Error SurfaceImpl::swapWithDamage(EGLint *rects, EGLint n_rects)
+{
+ UNREACHABLE();
+ return egl::Error(EGL_BAD_SURFACE, "swapWithDamage implementation missing.");
+}
+
+} // namespace rx