Hash :
90b6d511
Author :
Date :
2023-01-13T10:06:12
Vulkan: Add support for AHB usage FRONT_BUFFER flag AHB usage flags have been updated to include front buffer usage. AHBs tagged with this flag need to be handled similar to single-buffered window surfaces especially w.r.t glFlush semantics. Account for the new usage flag when deferring flushes. Bug: angleproject:7956 Test: Android VTS GraphicsFrontBufferTests.* Change-Id: I79440d8447ac569c3d785de191815d2d2f3f069f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4167063 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Yuxin Hu <yuxinhu@google.com> Reviewed-by: Charlie Lao <cclao@google.com> 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::hasFrontBufferUsage() const
{
return false;
}
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