Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/draw/engines/eevee/eevee_lightcache.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lightcache.h')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lightcache.h32
1 files changed, 21 insertions, 11 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.h b/source/blender/draw/engines/eevee/eevee_lightcache.h
index 03199632031..5aea712a910 100644
--- a/source/blender/draw/engines/eevee/eevee_lightcache.h
+++ b/source/blender/draw/engines/eevee/eevee_lightcache.h
@@ -23,7 +23,7 @@
#ifndef __EEVEE_LIGHTCACHE_H__
#define __EEVEE_LIGHTCACHE_H__
-#include "BLI_sys_types.h" /* for bool */
+#include "BLI_sys_types.h" /* for bool */
struct EEVEE_Data;
struct EEVEE_LightBake;
@@ -34,22 +34,32 @@ struct SceneEEVEE;
struct ViewLayer;
/* Light Bake */
-struct wmJob *EEVEE_lightbake_job_create(
- struct wmWindowManager *wm, struct wmWindow *win, struct Main *bmain,
- struct ViewLayer *view_layer, struct Scene *scene, int delay, int frame);
-void *EEVEE_lightbake_job_data_alloc(
- struct Main *bmain, struct ViewLayer *viewlayer, struct Scene *scene, bool run_as_job, int frame);
+struct wmJob *EEVEE_lightbake_job_create(struct wmWindowManager *wm,
+ struct wmWindow *win,
+ struct Main *bmain,
+ struct ViewLayer *view_layer,
+ struct Scene *scene,
+ int delay,
+ int frame);
+void *EEVEE_lightbake_job_data_alloc(struct Main *bmain,
+ struct ViewLayer *viewlayer,
+ struct Scene *scene,
+ bool run_as_job,
+ int frame);
void EEVEE_lightbake_job_data_free(void *custom_data);
void EEVEE_lightbake_update(void *custom_data);
void EEVEE_lightbake_job(void *custom_data, short *stop, short *do_update, float *progress);
-void EEVEE_lightbake_update_world_quick(struct EEVEE_ViewLayerData *sldata, struct EEVEE_Data *vedata, const Scene *scene);
+void EEVEE_lightbake_update_world_quick(struct EEVEE_ViewLayerData *sldata,
+ struct EEVEE_Data *vedata,
+ const Scene *scene);
/* Light Cache */
-struct LightCache *EEVEE_lightcache_create(
- const int grid_len, const int cube_len,
- const int cube_size, const int vis_size,
- const int irr_size[3]);
+struct LightCache *EEVEE_lightcache_create(const int grid_len,
+ const int cube_len,
+ const int cube_size,
+ const int vis_size,
+ const int irr_size[3]);
void EEVEE_lightcache_free(struct LightCache *lcache);
void EEVEE_lightcache_load(struct LightCache *lcache);
void EEVEE_lightcache_info_update(struct SceneEEVEE *eevee);