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:
authorJesse Yurkovich <deadpin>2021-10-13 17:12:53 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-10-13 17:20:51 +0300
commit92b7bf4856022bc27f21c5c60be717605d47930e (patch)
treec3b219918478d7d6f16bacdba46211f1fbfe7104 /source/blender/draw/CMakeLists.txt
parent6c11b320c410255bbad358595af2044da016b9c5 (diff)
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
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r--source/blender/draw/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index dd4aa1747e5..62dcf438471 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -108,6 +108,7 @@ set(SRC
intern/draw_select_buffer.c
intern/draw_texture_pool.cc
intern/draw_shader.c
+ intern/smaa_textures.c
intern/draw_view.c
engines/basic/basic_engine.c
engines/image/image_engine.c