tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ImageImpl.cpp (621B)


      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 
     14 bool ExternalImageSiblingImpl::isCubeMap() const
     15 {
     16    return false;
     17 }
     18 
     19 uint32_t ExternalImageSiblingImpl::getLevelCount() const
     20 {
     21    return 1;
     22 }
     23 
     24 egl::Error ImageImpl::exportVkImage(void *vkImage, void *vkImageCreateInfo)
     25 {
     26    UNIMPLEMENTED();
     27    return egl::EglBadAccess();
     28 }
     29 
     30 }  // namespace rx