xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/ImageImpl.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2021 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // ImageImpl.cpp: Defines the rx::ImageImpl class representing the EGLimage object.
8 
9 #include "libANGLE/renderer/ImageImpl.h"
10 
11 namespace rx
12 {
13 
hasFrontBufferUsage() const14 bool ExternalImageSiblingImpl::hasFrontBufferUsage() const
15 {
16     return false;
17 }
18 
isCubeMap() const19 bool ExternalImageSiblingImpl::isCubeMap() const
20 {
21     return false;
22 }
23 
getLevelCount() const24 uint32_t ExternalImageSiblingImpl::getLevelCount() const
25 {
26     return 1;
27 }
28 
exportVkImage(void * vkImage,void * vkImageCreateInfo)29 egl::Error ImageImpl::exportVkImage(void *vkImage, void *vkImageCreateInfo)
30 {
31     UNIMPLEMENTED();
32     return egl::EglBadAccess();
33 }
34 
isFixedRatedCompression(const gl::Context * context)35 bool ImageImpl::isFixedRatedCompression(const gl::Context *context)
36 {
37     UNIMPLEMENTED();
38     return false;
39 }
40 
41 }  // namespace rx
42