Hash :
078da78f
Author :
Date :
2022-03-17T13:06:58
Vulkan: Support GL_EXT_EGL_image_storage extension This extension provides a mechanism for creating texture objects that are both EGLImage targets and immutable and removes the possibility of implicit orphaning. EGL images created from external sources now support types other than 2D. Tests covering the new feature were added to ImageTest.cpp. Bug: angleproject:6346 Change-Id: Id3e328f352deb1af47062be232384229a8b1c341 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3530489 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: mohan maiya <m.maiya@samsung.com>
//
// Copyright 2021 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.cpp: Defines the rx::ImageImpl class representing the EGLimage object.
#include "libANGLE/renderer/ImageImpl.h"
namespace rx
{
bool ExternalImageSiblingImpl::isCubeMap() const
{
return false;
}
uint32_t ExternalImageSiblingImpl::getLevelCount() const
{
return 1;
}
egl::Error ImageImpl::exportVkImage(void *vkImage, void *vkImageCreateInfo)
{
UNIMPLEMENTED();
return egl::EglBadAccess();
}
} // namespace rx