Feature #618
GTK backend needs IsCompositeGUI implementation
Status: | Approved | Start date: | 12/29/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | CtrlCore | Spent time: | - | |
Target version: | - |
Description
I think gtk backend should support "bool Ctrl::IsCompositedGUI()" method.
So, this is my implementation(CtrlCore/GtkWnd.cpp - line 57):
bool Ctrl::IsCompositedGui() { GuiLock __; static bool b = gdk_display_supports_composite(gdk_display_get_default()); // <- Should I use "gdk_display_get_default()" or something else for example stored variable??? return b; }
- It seems that this patch is very important for some proprietary GPU drivers like NVIDIA, because b value is always true.
History
#1 Updated by Zbigniew Rebacz over 10 years ago
- Category changed from U++/gtk to CtrlCore
#2 Updated by Zbigniew Rebacz over 10 years ago
- File deleted (
GtkWnd.cpp)
#3 Updated by Zbigniew Rebacz over 10 years ago
- File GtkWnd.cpp added
#4 Updated by Miroslav Fidler over 10 years ago
- Status changed from Patch ready to Approved