Making clearer separation between responsibility of different classes
authorJørgen Lind <jorgen.lind@nokia.com>
Fri, 21 Jan 2011 14:52:02 +0000 (15:52 +0100)
committerJørgen Lind <jorgen.lind@nokia.com>
Wed, 26 Jan 2011 13:16:09 +0000 (14:16 +0100)
commit9075d224afb736e14014d5fa8001be03f79df267
tree31fbf945de4db0c0d11bda13635916b595576fef
parenta2d208c04a7db02f260be5b3e0ea82c769f69c0c
Making clearer separation between responsibility of different classes

Ie. Moving code into different files and refactoring some of the
classes. The Drmbuffer was most affected.

It has a depth and stencil buffer.
QWaylandGLContext contain the context. The drm buffer class has to
be bound to the context before used.
15 files changed:
src/plugins/platforms/wayland/qwaylandbuffer.h [new file with mode: 0644]
src/plugins/platforms/wayland/qwaylandcursor.cpp
src/plugins/platforms/wayland/qwaylanddisplay.cpp
src/plugins/platforms/wayland/qwaylanddisplay.h
src/plugins/platforms/wayland/qwaylanddrmsurface.cpp
src/plugins/platforms/wayland/qwaylanddrmsurface.h [new file with mode: 0644]
src/plugins/platforms/wayland/qwaylandglcontext.cpp
src/plugins/platforms/wayland/qwaylandglcontext.h
src/plugins/platforms/wayland/qwaylandinputdevice.cpp
src/plugins/platforms/wayland/qwaylandinputdevice.h
src/plugins/platforms/wayland/qwaylandintegration.cpp
src/plugins/platforms/wayland/qwaylandshmsurface.cpp
src/plugins/platforms/wayland/qwaylandshmsurface.h [moved from src/plugins/platforms/wayland/qwaylandwindowsurface.h with 69% similarity]
src/plugins/platforms/wayland/qwaylandwindow.cpp
src/plugins/platforms/wayland/wayland.pro