Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Krypton wayland #9

Open
wants to merge 59 commits into
base: Krypton
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
6b9b7b4
utils/Variant: use std::to_string() instead of std::ostringstream
MaxKellermann Apr 24, 2017
9ab180b
VideoPlayer: add "override"
MaxKellermann Apr 24, 2017
097e65e
xbmc/gen-compileinfo.mk: set GIT_DIR, fixes out-of-tree build
MaxKellermann Apr 24, 2017
d796b28
xbmc/gen-compileinfo.mk: use $(FILEPATH) for all paths, fixes out-of-…
MaxKellermann Apr 24, 2017
b3a8e26
JsonSchemaBuilder/Makefile: remove unused variable APPBIN
MaxKellermann Apr 24, 2017
9c83280
JsonSchemaBuilder/Makefile: fix the APP path
MaxKellermann Apr 24, 2017
929dcfc
JsonSchemaBuilder/Makefile: simplify rm/mkdir/cp
MaxKellermann Apr 24, 2017
c59c5eb
JsonSchemaBuilder/Makefile: split the target, improve robustness
MaxKellermann Apr 24, 2017
5afcbe5
JsonSchemaBuilder/Makefile: check "cd" success
MaxKellermann Apr 24, 2017
56d8b42
JsonSchemaBuilder/Makefile: build out-of-tree
MaxKellermann Apr 24, 2017
49962c4
guilib/GUIBaseContainer: use std::list for CGUIListItemLayout
MaxKellermann Apr 24, 2017
3757949
Video/RenderManager: move protected #includes out of #if block
MaxKellermann Apr 24, 2017
d449667
Video/RendererVAAPI: allow building with GLES2
MaxKellermann Apr 24, 2017
a63e995
Video/CLinuxRendererGLES: UploadNV12Texture() returns bool
MaxKellermann Apr 24, 2017
8834b58
Video/VAAPI: make compatible with GLES2
MaxKellermann Apr 24, 2017
a228439
Video/VAAPI: use 0 instead of None, which is a libX11 macro
MaxKellermann Apr 24, 2017
30c0994
shaders/yuv2rgb_basic_gles.glsl: support NV12_RRG format
MaxKellermann Apr 24, 2017
e1cda86
tools/depends/target/libdvdcss: generate empty ChangeLog to prevent "…
MaxKellermann Apr 24, 2017
0f21082
lib/gtest: use only FUSED_GTEST_SRC for fused-gtest dependency
MaxKellermann Apr 24, 2017
b8b13ad
lib/gtest: move fused-src to $(builddir)
MaxKellermann Apr 24, 2017
2ab5a33
VideoPlayer: fix race condition in Get(StreamType)
MaxKellermann Apr 24, 2017
22d61c5
VideoPlayer: document that CSelectionStreams::Get() is thread-unsafe
MaxKellermann Apr 24, 2017
0615900
ContextMenuManager: reserve space in CContextButtons
MaxKellermann Apr 24, 2017
8bbabb2
Revert "[cleanup] wayland"
MaxKellermann Apr 24, 2017
b8c0154
system_egl.h: new header wrapping EGL/egl.h
MaxKellermann Apr 24, 2017
ee9297c
Windowing/EGL: add method GetWaylandDisplay()
MaxKellermann Apr 24, 2017
c787165
WINDOW_SYSTEM: add Wayland
mihailescu2m Apr 24, 2017
6bc5441
Wayland: replace Boost with C++11 standard library
MaxKellermann Apr 24, 2017
e1c6fab
windowing/egl/wayland: move to windowing/wayland/
MaxKellermann Apr 24, 2017
8e7bfb4
windowing/wayland/tests/Makefile.in: rename SRCS to GENERATED for out…
MaxKellermann Apr 24, 2017
d717cb3
windowing/test/wayland: fix stringstream<<stringstream operator
MaxKellermann Apr 24, 2017
34e5557
windowing/test/wayland: eliminate boost::tokenizer
MaxKellermann Apr 24, 2017
7caff1a
input/XKBCommonKeymap: include cleanup
MaxKellermann Apr 24, 2017
90e1073
wayland/Keyboard, input/XKBCommonKeymap: eliminate boost::scope_exit
MaxKellermann Apr 24, 2017
bc4d9b4
wayland: Make sure to return the list from Split
smspillaz Apr 24, 2017
73be802
wayland: Move SplitForEach and Split to anonymous namespace
smspillaz Apr 24, 2017
110a5b9
wayland: Don't go from char to string to char to string and back again
smspillaz Apr 24, 2017
9b6d3f7
wayland: WAYLAND_TEST_LIBS comes from AC_SUBST, not the Makefile
smspillaz Apr 24, 2017
99b0ac3
wayland: Don't build tests requiring module if module is not built
smspillaz Apr 24, 2017
54551b6
wayland: Ensure that thread is synchronized before shutting down
smspillaz Apr 24, 2017
5494153
wayland: Make a note that initial pointer position is undefined
smspillaz Apr 24, 2017
45377e3
wayland: Don't include wayland-test-ext stuff if we can't compile it
smspillaz Apr 24, 2017
6457fd5
wayland: Get user-data through container_of
smspillaz Apr 24, 2017
c4997b5
wayland: Go through the view first, then to the surface
smspillaz Apr 24, 2017
b4ed4c0
windowing/wayland: remove the DynamicDll code
MaxKellermann Apr 24, 2017
33b3ff7
windowing/wayland/Display: inline trivial methods
MaxKellermann Apr 24, 2017
196862d
windowing/wayland/Callback: inline trivial methods
MaxKellermann Apr 24, 2017
99dd5cc
Wayland: cmake rules
mihailescu2m Oct 9, 2017
68801ac
windowing/wayland/Compositor: inline trivial methods
MaxKellermann Apr 24, 2017
4fb83d6
windowing/wayland/Keyboard: inline trivial methods
MaxKellermann Apr 24, 2017
2687793
windowing/wayland/Output: inline trivial methods
MaxKellermann Apr 24, 2017
345b849
windowing/wayland/Pointer: inline trivial methods
MaxKellermann Apr 24, 2017
61b0be5
windowing/wayland/Region: inline trivial methods
MaxKellermann Apr 24, 2017
cd23fe8
windowing/wayland/Registry: inline trivial methods
MaxKellermann Apr 24, 2017
d805a62
windowing/wayland/Seat: inline trivial methods
MaxKellermann Apr 24, 2017
0b58d0d
windowing/wayland/Shell: inline trivial methods
MaxKellermann Apr 24, 2017
5e57f61
windowing/wayland/ShellSurface: inline trivial methods
MaxKellermann Apr 24, 2017
001cc9b
windowing/wayland/Surface: inline trivial methods
MaxKellermann Apr 24, 2017
d3d3b5a
replace memcpy with NEON-optimized fast_memcpy function
mihailescu2m Oct 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
windowing/wayland/Callback: inline trivial methods
Signed-off-by: memeka <mihailescu2m@gmail.com>
  • Loading branch information
MaxKellermann authored and mihailescu2m committed Oct 9, 2017
commit 196862d60c8c8475c0078792b9079370393cf2dc
12 changes: 0 additions & 12 deletions xbmc/windowing/wayland/Callback.cpp
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
* <http://www.gnu.org/licenses/>.
*
*/
#include <wayland-client.h>

#include "Callback.h"

@@ -37,17 +36,6 @@ xw::Callback::Callback(struct wl_callback *callback,
reinterpret_cast<void *>(this));
}

xw::Callback::~Callback()
{
wl_callback_destroy(m_callback);
}

struct wl_callback *
xw::Callback::GetWlCallback()
{
return m_callback;
}

void
xw::Callback::OnCallback(void *data,
struct wl_callback *callback,
8 changes: 6 additions & 2 deletions xbmc/windowing/wayland/Callback.h
Original file line number Diff line number Diff line change
@@ -40,12 +40,16 @@ class Callback

Callback(struct wl_callback *callback,
const Func &func);
~Callback();
~Callback() {
wl_callback_destroy(m_callback);
}

Callback(const Callback &) = delete;
Callback &operator=(const Callback &) = delete;

struct wl_callback * GetWlCallback();
struct wl_callback * GetWlCallback() {
return m_callback;
}

static const struct wl_callback_listener m_listener;