Cleanup: Converted draw_color_management to CPP.

This commit is contained in:
Jeroen Bakker 2021-08-31 12:20:28 +02:00
parent 3abf56db27
commit a18d88213f
5 changed files with 25 additions and 1 deletions

View File

@ -91,7 +91,7 @@ set(SRC
intern/draw_cache_impl_particles.c
intern/draw_cache_impl_pointcloud.c
intern/draw_cache_impl_volume.c
intern/draw_color_management.c
intern/draw_color_management.cc
intern/draw_common.c
intern/draw_debug.c
intern/draw_fluid.c

View File

@ -22,6 +22,10 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
struct GPUBatch;
struct GPUMaterial;
struct ModifierData;
@ -263,3 +267,7 @@ struct GPUBatch *DRW_cache_gpencil_face_wireframe_get(struct Object *ob);
struct bGPDstroke *DRW_cache_gpencil_sbuffer_stroke_data_get(struct Object *ob);
void DRW_cache_gpencil_sbuffer_clear(struct Object *ob);
#ifdef __cplusplus
}
#endif

View File

@ -22,4 +22,12 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
void DRW_transform_none(struct GPUTexture *tex);
#ifdef __cplusplus
}
#endif

View File

@ -43,6 +43,10 @@
#include "draw_instance_data.h"
#ifdef __cplusplus
extern "C" {
#endif
struct DupliObject;
struct Object;
@ -626,3 +630,7 @@ void drw_uniform_attrs_pool_update(struct GHash *table,
struct Object *ob,
struct Object *dupli_parent,
struct DupliObject *dupli_source);
#ifdef __cplusplus
}
#endif