[Bf-blender-cvs] [ee7785510b5] temp-lanpr-review: Cleanup: TNS_THREAD_LINE_COUNT commenting.
YimingWu
noreply at git.blender.org
Wed Nov 20 10:23:40 CET 2019
Commit: ee7785510b5dfd3861dcf29db9325447bf9d0a3a
Author: YimingWu
Date: Mon Nov 18 22:14:32 2019 +0800
Branches: temp-lanpr-review
https://developer.blender.org/rBee7785510b5dfd3861dcf29db9325447bf9d0a3a
Cleanup: TNS_THREAD_LINE_COUNT commenting.
===================================================================
M source/blender/editors/include/ED_lanpr.h
===================================================================
diff --git a/source/blender/editors/include/ED_lanpr.h b/source/blender/editors/include/ED_lanpr.h
index a0365dd7703..12470708cd0 100644
--- a/source/blender/editors/include/ED_lanpr.h
+++ b/source/blender/editors/include/ED_lanpr.h
@@ -86,8 +86,6 @@ typedef struct LANPR_RenderLineSegment {
struct LANPR_RenderLineSegment *next, *prev;
/** at==0: left at==1: right (this is in 2D projected space) */
real at;
- /** This is used to reconstruct 3d stroke (TODO: implement global space?) */
- real at_global;
/** Occlusion level after "at" point */
unsigned char occlusion;
/** For determining lines beind a glass window material. (TODO: implement this) */
@@ -348,6 +346,10 @@ typedef enum LANPR_CullState {
LANPR_CULL_DISCARD = 2,
} LANPR_CullState;
+
+/** Controls how many lines a worker thread is processing at one request.
+ * There's no significant performance impact on choosing different values.
+ * Don't make it too small so that the worker thread won't request too many times. */
#define TNS_THREAD_LINE_COUNT 10000
typedef struct LANPR_RenderTaskInfo {
More information about the Bf-blender-cvs
mailing list