Hash :
a284f2ff
Author :
Date :
2015-08-07T16:49:07
Add stubs for EGL_EXT_swap_buffers_with_damage. BUG=512090 Change-Id: I9413d6f5c13b9ea59ab9c923dc6c5d157f344166 Reviewed-on: https://chromium-review.googlesource.com/291652 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
//
// 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