egl: fixup format modifier lookups with implicit modifiers

ref #6485
This commit is contained in:
Vaxry
2024-06-14 21:59:21 +02:00
parent 12ce06f39b
commit 2f278dc883
3 changed files with 27 additions and 13 deletions

View File

@@ -238,7 +238,9 @@ class CHyprOpenGLImpl {
void createBGTextureForMonitor(CMonitor*);
void initShaders();
void initDRMFormats();
std::vector<uint64_t> getModsForFormat(EGLint format);
//
std::optional<std::vector<uint64_t>> getModsForFormat(EGLint format);
// returns the out FB, can be either Mirror or MirrorSwap
CFramebuffer* blurMainFramebufferWithDamage(float a, CRegion* damage);