Use One-Time Initialization for glyph run caching to avoid duplicate glyph run genera...
[gdipp.git] / gdipp_server / global.h
blob7d081a72a9e471c2d4105ca2afe8ff32f494bc0a
1 #pragma once
3 #include "gdipp_config/config.h"
4 #include "gdipp_config/render_config_cache.h"
5 #include "gdipp_server/dc_pool.h"
6 #include "gdipp_server/font_link.h"
7 #include "gdipp_server/font_mgr.h"
8 #include "gdipp_server/glyph_cache.h"
10 namespace gdipp
13 extern config_file config_file_instance;
14 extern config config_instance;
15 extern dc_pool dc_pool_instance;
16 extern font_link font_link_instance;
17 extern font_mgr font_mgr_instance;
18 extern render_config_cache font_render_config_cache_instance;
19 extern glyph_cache glyph_cache_instance;
20 extern unsigned int server_cache_size;
21 //extern sqlite3 *index_db_instance;