This commit introduce back support for all geometry types and all nodetree support. Only the forward shading pipeline is implemented for now. Vertex Displacement is automatically enabled for now. Lighting & Shading is placeholder. Related Task: T93220 # Conflicts: # source/blender/draw/engines/eevee_next/eevee_engine.cc # source/blender/gpu/CMakeLists.txt
38 lines
684 B
C++
38 lines
684 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2016 Blender Foundation. */
|
|
|
|
/** \file
|
|
* \ingroup draw
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct rcti;
|
|
|
|
void DRW_stats_free(void);
|
|
void DRW_stats_begin(void);
|
|
void DRW_stats_reset(void);
|
|
|
|
/**
|
|
* Use this to group the queries. It does NOT keep track
|
|
* of the time, it only sum what the queries inside it.
|
|
*/
|
|
void DRW_stats_group_start(const char *name);
|
|
void DRW_stats_group_end(void);
|
|
|
|
/**
|
|
* \note Only call this when no sub timer will be called.
|
|
*/
|
|
void DRW_stats_query_start(const char *name);
|
|
void DRW_stats_query_end(void);
|
|
|
|
void DRW_stats_draw(const rcti *rect);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|