summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/renderer/ImageImpl.cpp
blob: 014b1d634d79cad751241d8f907a65ce7dd32e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// 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