Blender Git Loki

Git Commits -> Revision 92b7bf4

Revision 92b7bf4 by Jesse Yurkovich (master)
October 13, 2021, 14:20 (GMT)
Cleanup: Remove data duplication from SMAA lookup tables

These 2 large tables, `areaTexBytes` and `searchTexBytes`, contributed
~176kb worth of duplicate data into the `blender` executable due to the
header being used in multiple places. We were lucky that only 2
translation units had included this header so only 1 duplicate copy of
each was wasted.

Define the tables as `extern` to address this.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12723

Commit Details:

Full Hash: 92b7bf4856022bc27f21c5c60be717605d47930e
Parent Commit: 6c11b32
Committed By: Clément Foucault
Lines Changed: +15071, -15034

1 Added Path:

/source/blender/draw/intern/smaa_textures.c (+15068, -0) (View)

2 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/intern/smaa_textures.h (+2, -15034) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021