Edit

kc3-lang/angle/src/libANGLE/renderer/null/ImageNULL.cpp

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2018-07-19 11:25:54
    Hash : cd7cd2a8
    Message : Pass Context to EGLImage creation and Display to EGLImage initialization. BUG=angleproject:2507 Change-Id: I6c195434131709203f892be6037e974002c174c2 Reviewed-on: https://chromium-review.googlesource.com/1143453 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>

  • src/libANGLE/renderer/null/ImageNULL.cpp
  • //
    // Copyright 2016 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.
    //
    // ImageNULL.cpp:
    //    Implements the class methods for ImageNULL.
    //
    
    #include "libANGLE/renderer/null/ImageNULL.h"
    
    #include "common/debug.h"
    
    namespace rx
    {
    
    ImageNULL::ImageNULL(const egl::ImageState &state) : ImageImpl(state)
    {
    }
    
    ImageNULL::~ImageNULL()
    {
    }
    
    egl::Error ImageNULL::initialize(const egl::Display *display)
    {
        return egl::NoError();
    }
    
    gl::Error ImageNULL::orphan(const gl::Context *context, egl::ImageSibling *sibling)
    {
        return gl::NoError();
    }
    
    }  // namespace rx