kwin/platformsupport/scenes/opengl
Vlad Zahorodnii 62a7db7028 Use nullptr everywhere
Summary:
Because KWin is a very old project, we use three kinds of null pointer
literals: 0, NULL, and nullptr. Since C++11, it's recommended to use
nullptr keyword.

This change converts all usages of 0 and NULL literal to nullptr. Even
though it breaks git history, we need to do it in order to have consistent
code as well to ease code reviews (it's very tempting for some people to
add unrelated changes to their patches, e.g. converting NULL to nullptr).

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson, romangg

Reviewed By: #kwin, davidedmundson, romangg

Subscribers: romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D23618
2019-09-19 17:48:21 +03:00
..
abstract_egl_backend.cpp Switch to Q_ASSERT 2019-08-31 20:07:05 +03:00
abstract_egl_backend.h [wayland] Add support for zwp_linux_dmabuf 2019-08-06 21:55:45 +02:00
backend.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
backend.h Split Compositor class in Wayland and X11 child classes 2019-08-07 21:06:53 +02:00
CMakeLists.txt [wayland] Add support for zwp_linux_dmabuf 2019-08-06 21:55:45 +02:00
drm_fourcc.h [wayland] Add support for zwp_linux_dmabuf 2019-08-06 21:55:45 +02:00
linux_dmabuf.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
linux_dmabuf.h [wayland] Add support for zwp_linux_dmabuf 2019-08-06 21:55:45 +02:00
swap_profiler.cpp
swap_profiler.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
texture.cpp
texture.h [platformsupport] Minor code style and class variables access changes 2019-06-27 15:22:40 +02:00