Hyprland/src/protocols
Tom Englund f7fcbe32c9
renderer: various fixes towards improving gpu calls robustness (#9188)
ensure framebuffer textures are detached and deleted, avoid leaving framebuffers bound when not needed

* render: avoid calling glDeleteProgram on no program

its safe to do so but it adds a bunch of unnecessery lines in apitrace
when tracing. if guard it and return early.

* opengl: ensure texture and buffers are unbound

ensure bound buffers are unbound after use, also detach textures from
framebuffer before deleting it otherwise it will become dangling and
essentially leak.
2025-02-08 01:46:26 +01:00
..
core protocols: Support content-type-v1 proto (#9226) 2025-02-02 20:25:29 +01:00
types protocols: Support content-type-v1 proto (#9226) 2025-02-02 20:25:29 +01:00
AlphaModifier.cpp renderer/internal: stop using box pointers 2025-01-26 15:05:34 +00:00
AlphaModifier.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ColorManagement.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
ColorManagement.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ContentType.cpp protocols: Support content-type-v1 proto (#9226) 2025-02-02 20:25:29 +01:00
ContentType.hpp config: fix includes 2025-02-02 22:20:28 +00:00
CTMControl.cpp protocols: implement hyprland-ctm-control rev 2 (#9267) 2025-02-02 18:31:04 +01:00
CTMControl.hpp protocols: implement hyprland-ctm-control rev 2 (#9267) 2025-02-02 18:31:04 +01:00
CursorShape.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
CursorShape.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
DataDeviceWlr.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
DataDeviceWlr.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
DRMLease.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
DRMLease.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
DRMSyncobj.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
DRMSyncobj.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
FocusGrab.cpp core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233) 2025-01-30 11:07:06 +00:00
FocusGrab.hpp core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233) 2025-01-30 11:07:06 +00:00
ForeignToplevel.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ForeignToplevel.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ForeignToplevelWlr.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ForeignToplevelWlr.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
FractionalScale.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
FractionalScale.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
FrogColorManagement.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
FrogColorManagement.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
GammaControl.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
GammaControl.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
GlobalShortcuts.cpp core: reserve vector sizes as much as we can (#9118) 2025-01-19 10:38:42 +00:00
GlobalShortcuts.hpp protocols: Move globalshortcuts impl (#7102) 2024-07-30 23:33:56 +02:00
HyprlandSurface.cpp renderer/internal: stop using box pointers 2025-01-26 15:05:34 +00:00
HyprlandSurface.hpp protocols: add hyprland_surface_v1.set_visible_region implementation (#9120) 2025-01-23 22:57:33 +01:00
IdleInhibit.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
IdleInhibit.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
IdleNotify.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
IdleNotify.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
InputMethodV2.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
InputMethodV2.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
LayerShell.cpp layershell: check if layer is valid (#9156) 2025-01-24 16:51:31 +01:00
LayerShell.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
LinuxDMABUF.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
LinuxDMABUF.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
LockNotify.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
LockNotify.hpp protocols: add hyprland_lock_notify_v1 implementation (#9092) 2025-01-19 18:21:36 +00:00
MesaDRM.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
MesaDRM.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
OutputManagement.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
OutputManagement.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
OutputPower.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
OutputPower.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PointerConstraints.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PointerConstraints.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PointerGestures.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PointerGestures.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PresentationTime.cpp presentation: log a fixme when there is a feedback leak 2025-01-28 23:43:31 +00:00
PresentationTime.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
PrimarySelection.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
PrimarySelection.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
RelativePointer.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
RelativePointer.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
Screencopy.cpp renderer: various fixes towards improving gpu calls robustness (#9188) 2025-02-08 01:46:26 +01:00
Screencopy.hpp internal: Move CMonitor to SP (#8178) 2024-10-19 23:03:29 +01:00
SecurityContext.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
SecurityContext.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
ServerDecorationKDE.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ServerDecorationKDE.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
SessionLock.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
SessionLock.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ShortcutsInhibit.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ShortcutsInhibit.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
SinglePixel.cpp core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233) 2025-01-30 11:07:06 +00:00
SinglePixel.hpp core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233) 2025-01-30 11:07:06 +00:00
Tablet.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
Tablet.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
TearingControl.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
TearingControl.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
TextInputV1.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
TextInputV1.hpp security-context: implement protocol 2024-10-06 14:07:07 +01:00
TextInputV3.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
TextInputV3.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
ToplevelExport.cpp renderer: various fixes towards improving gpu calls robustness (#9188) 2025-02-08 01:46:26 +01:00
ToplevelExport.hpp protocols: immediately copy toplevel content when ignoreDamage set (#9049) 2025-01-14 16:44:09 +00:00
Viewporter.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
Viewporter.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
VirtualKeyboard.cpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
VirtualKeyboard.hpp core: begin using CFileDescriptor from hyprutils (#9122) 2025-01-30 11:30:12 +00:00
VirtualPointer.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
VirtualPointer.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
WaylandProtocol.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
WaylandProtocol.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGActivation.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGActivation.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGDecoration.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGDecoration.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGDialog.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
XDGDialog.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGOutput.cpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XDGOutput.hpp internal: cleanup CMonitor usage and fix a few ref hogs 2024-10-26 02:06:13 +01:00
XDGShell.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
XDGShell.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00
XWaylandShell.cpp core: add LIKELY and UNLIKELY macros 2025-01-17 18:56:39 +01:00
XWaylandShell.hpp core: move all shared_ptrs from the STL to hyprutils (#9143) 2025-01-23 21:55:41 +01:00