Use Slim Reader/Writer lock to replace CRITICAL_SECTION (better performance).
commit12e2cb21a2dedbd7f960cd140a2419ab0a9f21af
authorCrend King <crendking@gmail.com>
Tue, 10 Jan 2012 05:20:50 +0000 (9 21:20 -0800)
committerCrend King <crendking@gmail.com>
Tue, 10 Jan 2012 05:20:50 +0000 (9 21:20 -0800)
tree7a68efe858667d42d66e2a4fb6ba67af379df2d4
parent7e16a94cd12d6aabf482d8cfadc84b285da241cd
Use Slim Reader/Writer lock to replace CRITICAL_SECTION (better performance).
Use One-Time Initialization for glyph caching to avoid duplicate glyph generation.
Use thread local storage in stream I/O of font manager to avoid transient GDI font selection.
31 files changed:
gdipp_client/api_override.cpp
gdipp_client/com_override.cpp
gdipp_client/gamma.cpp
gdipp_client/gdipp_client.cpp
gdipp_config/render_config_cache.cpp
gdipp_config/render_config_delta_cache.cpp
gdipp_demo/gdipp_demo.rc
gdipp_lib/gdipp_lib.vcproj
gdipp_lib/lock.cpp [deleted file]
gdipp_lib/lock.h [deleted file]
gdipp_lib/lru.h
gdipp_lib/scoped_rw_lock.cpp [new file with mode: 0644]
gdipp_lib/scoped_rw_lock.h [new file with mode: 0644]
gdipp_server/dc_pool.cpp
gdipp_server/font_mgr.cpp
gdipp_server/font_mgr.h
gdipp_server/font_proxy.cpp [deleted file]
gdipp_server/font_proxy.h [deleted file]
gdipp_server/freetype.cpp
gdipp_server/freetype.h
gdipp_server/ft_renderer.cpp
gdipp_server/ft_renderer.h
gdipp_server/gdipp_server.rc
gdipp_server/gdipp_server.vcproj
gdipp_server/ggo_renderer.cpp
gdipp_server/ggo_renderer.h
gdipp_server/glyph_cache.cpp
gdipp_server/glyph_cache.h
gdipp_server/os2_metrics.cpp
gdipp_server/rpc_server.cpp
gdipp_server/rpc_server.h