There was an error fetching the commit references. Please try again later.
core: Make the main System class use the PImpl idiom
core.h is kind of a massive header in terms what it includes within itself. It includes VFS utilities, kernel headers, file_sys header, ARM-related headers, etc. This means that changing anything in the headers included by core.h essentially requires you to rebuild almost all of core. Instead, we can modify the System class to use the PImpl idiom, which allows us to move all of those headers to the cpp file and forward declare the bulk of the types that would otherwise be included, reducing compile times. This change specifically only performs the PImpl portion.
Showing
- src/core/core.cpp 341 additions, 174 deletionssrc/core/core.cpp
- src/core/core.h 38 additions, 100 deletionssrc/core/core.h
- src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp 2 additions, 1 deletionsrc/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
- src/core/hle/service/nvflinger/nvflinger.cpp 2 additions, 1 deletionsrc/core/hle/service/nvflinger/nvflinger.cpp
- src/video_core/renderer_opengl/renderer_opengl.cpp 4 additions, 3 deletionssrc/video_core/renderer_opengl/renderer_opengl.cpp
Loading
Please register or sign in to comment