mirror of
https://github.com/blender/blender
synced 2026-11-01 03:16:58 +03:00
This will be replaced by the texture cache. Advanced OpenImageIO features will no longer be available, and texture filtering results will be different. But performance will be better and there will be consistency with SVM. OSL specifc image tests were removed as these now match SVM exactly and are tested by WITH_CYCLES_TEST_OSL. Pull Request: https://projects.blender.org/blender/blender/pulls/154913
31 lines
549 B
C++
31 lines
549 B
C++
/* SPDX-FileCopyrightText: 2011-2026 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
#include "scene/image_loader.h"
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
/* Image Loader */
|
|
|
|
ImageLoader::ImageLoader() = default;
|
|
|
|
int ImageLoader::get_tile_number() const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool ImageLoader::equals(const ImageLoader *a, const ImageLoader *b)
|
|
{
|
|
if (a == nullptr && b == nullptr) {
|
|
return true;
|
|
}
|
|
return (a && b && typeid(*a) == typeid(*b) && a->equals(*b));
|
|
}
|
|
|
|
bool ImageLoader::is_vdb_loader() const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
CCL_NAMESPACE_END
|