Edit

kc3-lang/angle/src/libANGLE/renderer/SurfaceImpl.cpp

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2015-08-07 16:49:07
    Hash : a284f2ff
    Message : 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>

  • src/libANGLE/renderer/SurfaceImpl.cpp
  • //
    // 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