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() const14bool ExternalImageSiblingImpl::hasFrontBufferUsage() const 15 { 16 return false; 17 } 18 isCubeMap() const19bool ExternalImageSiblingImpl::isCubeMap() const 20 { 21 return false; 22 } 23 getLevelCount() const24uint32_t ExternalImageSiblingImpl::getLevelCount() const 25 { 26 return 1; 27 } 28 exportVkImage(void * vkImage,void * vkImageCreateInfo)29egl::Error ImageImpl::exportVkImage(void *vkImage, void *vkImageCreateInfo) 30 { 31 UNIMPLEMENTED(); 32 return egl::EglBadAccess(); 33 } 34 isFixedRatedCompression(const gl::Context * context)35bool ImageImpl::isFixedRatedCompression(const gl::Context *context) 36 { 37 UNIMPLEMENTED(); 38 return false; 39 } 40 41 } // namespace rx 42