Blender V5.3
mipmap_test.cc File Reference
#include "gpu_testing.hh"
#include <array>
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_bit_vector.hh"
#include "BLI_math_vector.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_rect.hh"
#include "BLI_span.hh"
#include "GPU_context.hh"
#include "GPU_shader.hh"
#include "GPU_shader_builtin.hh"
#include "GPU_state.hh"
#include "GPU_texture.hh"

Go to the source code of this file.

Classes

struct  blender::gpu::tests::ChangedRegion

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu
namespace  blender::gpu::tests

Functions

static BitVector blender::gpu::tests::modified_chunks_bitmask (const int2 chunks_size, const Span< ChangedRegion > changed, const int layer)
static float4 blender::gpu::tests::to_float4 (const float4 &v)
static float4 blender::gpu::tests::to_float4 (const uchar4 &v)
template<typename T>
static void blender::gpu::tests::test_mipmap_partial_matches_full (const TextureFormat format, const eGPUDataFormat data_format, const eGPUTextureUsage extra_usage, const GPUBuiltinShader mipmap_shader, const Span< T > layer_backgrounds, const T changed_value, const int size, const Span< ChangedRegion > changed, const float background_threshold)
static void blender::gpu::tests::test_mipmap_partial_float_pow2 ()
static void blender::gpu::tests::test_mipmap_partial_npot ()
static void blender::gpu::tests::test_mipmap_partial_srgb_pow2 ()
static void blender::gpu::tests::test_mipmap_partial_layered ()

Variables

static const std::array< ChangedRegion, 3 > blender::gpu::tests::test_changed_regions