mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
GPU: Check post shaders once per host frame, after resizes
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
4749872f2e
commit
759b494b6a
2 files changed
+5
-5
No files matched your search
@@ -75,6 +75,11 @@ void GPUCommon::BeginHostFrame(const DisplayLayoutConfig &config) {
|
||||
CheckConfigChanged(config);
|
||||
CheckDisplayResized();
|
||||
CheckRenderResized(config);
|
||||
|
||||
// After the resizes, which ask for the post shaders to be rebuilt at the new size.
|
||||
if (framebufferManager_) {
|
||||
framebufferManager_->CheckPostShaders(config);
|
||||
}
|
||||
}
|
||||
|
||||
void GPUCommon::EndHostFrame() {
|
||||
|
||||
@@ -416,11 +416,6 @@ void GPUCommonHW::CheckConfigChanged(const DisplayLayoutConfig &config) {
|
||||
BuildReportingInfo();
|
||||
configChanged_ = false;
|
||||
}
|
||||
|
||||
// Check needed when running tests.
|
||||
if (framebufferManager_) {
|
||||
framebufferManager_->CheckPostShaders(config);
|
||||
}
|
||||
}
|
||||
|
||||
void GPUCommonHW::CheckDisplayResized() {
|
||||
|
||||
Reference in new issue
Block a user