kwin/plugins/platforms/drm
Roman Gilg 7eafab7304 [platforms/drm] Return when property found
When initializing a property we loop through the drmModeObjectProperties
object and search for the property by its name.

Once found we create the Property object and there should be not another one
with the same name afterwards. In any case we would leak memory. Therefore just
directly return once the property was found.

This gives us the added benefit that we can put out a warning in case the
property was not found in the loop, what should not happen with the properties
we use.
2019-12-11 18:38:21 +01:00
..
CMakeLists.txt
drm.json
drm_backend.cpp
drm_backend.h
drm_buffer.cpp
drm_buffer.h
drm_buffer_gbm.cpp
drm_buffer_gbm.h
drm_inputeventfilter.cpp
drm_inputeventfilter.h
drm_object.cpp [platforms/drm] Return when property found 2019-12-11 18:38:21 +01:00
drm_object.h [platforms/drm] Do plane and object chore 2019-12-11 18:05:35 +01:00
drm_object_connector.cpp
drm_object_connector.h
drm_object_crtc.cpp
drm_object_crtc.h
drm_object_plane.cpp [platforms/drm] Align plane type enum with kernel 2019-12-11 18:19:41 +01:00
drm_object_plane.h [platforms/drm] Align plane type enum with kernel 2019-12-11 18:19:41 +01:00
drm_output.cpp [platforms/drm] Refactor updateTransform 2019-12-01 13:11:16 +01:00
drm_output.h Use Transform enum internally 2019-11-27 21:08:20 +01:00
drm_pointer.h
edid.cpp
edid.h
egl_gbm_backend.cpp [platforms/drm] Do EglGbmBackend chore 2019-12-10 11:00:59 +01:00
egl_gbm_backend.h [platforms/drm] Do EglGbmBackend chore 2019-12-10 11:00:59 +01:00
egl_stream_backend.cpp Remove vsync detection and configurability 2019-11-14 08:55:08 +01:00
egl_stream_backend.h
gbm_surface.cpp
gbm_surface.h
logging.cpp
logging.h
remoteaccess_manager.cpp
remoteaccess_manager.h
scene_qpainter_drm_backend.cpp
scene_qpainter_drm_backend.h
screens_drm.cpp
screens_drm.h