/usr/include/gli/copy.hpp is in libgli-dev 0.8.2.0+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /// @brief Include to copy textures or a subset of either textures. These operations are performed without memory allocations.
/// @file gli/copy.hpp
#pragma once
#include "type.hpp"
namespace gli
{
/// Copy a specific image of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy(
texture_src_type const& TextureSrc, size_t LayerSrc, size_t FaceSrc, size_t LevelSrc,
texture_dst_type& TextureDst, size_t LayerDst, size_t FaceDst, size_t LevelDst);
/// Copy a texture
template <typename texture_src_type, typename texture_dst_type>
void copy(
texture_src_type const& TextureSrc,
texture_dst_type& TextureDst);
// Copy an entire level of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_level(
texture_src_type const& TextureSrc, size_t BaseLevelSrc,
texture_dst_type& TextureDst, size_t BaseLevelDst);
// Copy multiple levels of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_level(
texture_src_type const& TextureSrc, size_t BaseLevelSrc,
texture_dst_type& TextureDst, size_t BaseLevelDst,
size_t LevelCount);
// Copy an entire face of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_face(
texture_src_type const& TextureSrc, size_t BaseFaceSrc,
texture_dst_type& TextureDst, size_t BaseFaceDst);
// Copy multiple faces of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_face(
texture_src_type const& TextureSrc, size_t BaseFaceSrc,
texture_dst_type& TextureDst, size_t BaseFaceDst,
size_t FaceCount);
// Copy an entire layer of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_layer(
texture_src_type const& TextureSrc, size_t BaseLayerSrc,
texture_dst_type& TextureDst, size_t BaseLayerDst);
// Copy multiple layers of a texture
template <typename texture_src_type, typename texture_dst_type>
void copy_layer(
texture_src_type const& TextureSrc, size_t BaseLayerSrc,
texture_dst_type& TextureDst, size_t BaseLayerDst,
size_t LayerCount);
}//namespace gli
#include "./core/copy.inl"
|