Edit

kc3-lang/angle/src/libANGLE/renderer/ImageImpl.h

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2015-07-21 16:53:39
    Hash : a840617a
    Message : Implement the egl and gl layers of EGL Image. Add end2end tests and unittests. BUG=angleproject:970 Change-Id: Ie8306971730a793f08dfd09ead1bfd6ff3e4623d Reviewed-on: https://chromium-review.googlesource.com/291260 Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>

  • src/libANGLE/renderer/ImageImpl.h
  • //
    // Copyright (c) 2015 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.
    //
    
    // ImageImpl.h: Defines the rx::ImageImpl class representing the EGLimage object.
    
    #ifndef LIBANGLE_RENDERER_IMAGEIMPL_H_
    #define LIBANGLE_RENDERER_IMAGEIMPL_H_
    
    #include "common/angleutils.h"
    #include "libANGLE/Error.h"
    
    namespace egl
    {
    class ImageSibling;
    }
    
    namespace rx
    {
    class ImageImpl : angle::NonCopyable
    {
      public:
        virtual ~ImageImpl() {}
        virtual egl::Error initialize() = 0;
    
        virtual gl::Error orphan(egl::ImageSibling *sibling) = 0;
    };
    }
    
    #endif  // LIBANGLE_RENDERER_IMAGEIMPL_H_