Comments (4)
The following commits aim at reducing STL header dependencies:
a81f34a
2ab245a
51856ac
c166990
b79f48f
5da3ebc
91333d6
from ogre-next.
New data from ClangBuildAnalyzer
It shows we spend a lot of time instantiating ParamDictionaryMap.
This map is used in StringInterface and Resource derives from it. As a result it ends up being used everywhere.
ParamDictionaryMap is actually used to define msDictionary which is a global static variable.
It doesn't have to be declared in class StringInterface.
Additionally, moving createParamDictionary to a cpp file instead of a header should allow us to completely remove ParamDictionaryMap & msDictionary from the header definition.
OgreGpuProgram.h & OgreGpuProgramParams.h are also expensive, which are included by OgreRenderable.h and hence everywhere.
That's only needed because of _updateCustomGpuParameter. Slightly refactoring that function to use forward declarations should allow us to remove that header.
from ogre-next.
Don't know if you're aware of it, but this is a brute force tool to clean useless #include
. It basically tries to build a project/solution removing headers one by one checking whether errors are raised or not.
from ogre-next.
I was aware of these tools but that one in particular looks very user friendly, thanks!
BTW I should also mention we should try Bloaty McBloatface. Example on libfmt
from ogre-next.
Related Issues (20)
- Is there a C API? HOT 2
- Why not read mesh in obj format? HOT 1
- Build error for NEON HOT 10
- EmptyProject script is broken for macOS
- Build script fails on Ubuntu 23.10 with error: ISO C++17 does not allow dynamic exception specifications HOT 3
- Investigate Vulkan commit b85e1a64bbb9d539042a08924990235aaa5e825f HOT 21
- Rendering different videos at different frame rates in multiple windows
- [Urgent security issue] FreeImage arbitrary code execution vulnerability HOT 1
- Camera rendering specified visible mask object crash HOT 1
- Pose Animation not working correctly with Skeleton Animation HOT 2
- [Question] Billboards2 HOT 9
- HLMS Unlit Datablock HLMS OgreTextureAnimationController
- The Metal rendering API is 120FPS regardless of whether vsync is set. HOT 2
- Multiple Leaks
- Multi window rendering of different texts? HOT 1
- Sample_Tutorial02_VariableFramerate not rendering correctly on VM with OpenGL 4.3 support HOT 1
- compiling on a Raspberry Pi 5 HOT 3
- Terrain with Decal not work HOT 1
- fragment shader compile errors when using transparency HOT 5
- Shadow artifacts with point light and transparency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogre-next.