Blender V5.3
gpu_testing.hh File Reference
#include "testing/testing.h"
#include "BKE_global.hh"
#include "GHOST_IContext.hh"
#include "GHOST_ISystem.hh"
#include "GPU_platform.hh"

Go to the source code of this file.

Classes

class  blender::gpu::GPUTest

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Macros

#define GPU_OPENGL_TEST(test_name)
#define GPU_METAL_TEST(test_name)
#define GPU_VULKAN_TEST(test_name)
#define GPU_TEST(test_name)
#define BLOCK_GPU_TEST_ON(device_type, os_type, driver_type, backend_type)

Macro Definition Documentation

◆ BLOCK_GPU_TEST_ON

#define BLOCK_GPU_TEST_ON ( device_type,
os_type,
driver_type,
backend_type )
Value:
if (!blender::tests::should_ignore_blocklist(device_type == GPU_DEVICE_ANY) && \
GPU_type_matches_ex(device_type, os_type, driver_type, backend_type)) \
{ \
GTEST_SKIP(); \
return; \
}

Definition at line 170 of file gpu_testing.hh.

◆ GPU_METAL_TEST

#define GPU_METAL_TEST ( test_name)

Definition at line 120 of file gpu_testing.hh.

◆ GPU_OPENGL_TEST

#define GPU_OPENGL_TEST ( test_name)

Definition at line 81 of file gpu_testing.hh.

◆ GPU_TEST

#define GPU_TEST ( test_name)
Value:
GPU_OPENGL_TEST(test_name) \
GPU_METAL_TEST(test_name) \
GPU_VULKAN_TEST(test_name)
#define GPU_OPENGL_TEST(test_name)

Definition at line 165 of file gpu_testing.hh.

◆ GPU_VULKAN_TEST

#define GPU_VULKAN_TEST ( test_name)

Definition at line 162 of file gpu_testing.hh.