Originally posted by intellivision
View Post
Announcement
Collapse
No announcement yet.
Mir Works On Screencasting, Parallelized Page Flipping
Collapse
X
-
Originally posted by marciocr View PostThe cases are totally different.
The "Mir haters" must understand that Wayland isn't a display server. No DE will adopt Wayland as his display server. The DEs teams will build a display server that will implement Wayland protocol.
as much as i'm hyped about wayland, i also get downright sad when i think i'll be reverting to 90s era where my desktop looked like museum of various looking toolkits. right now selection is really bad. most gtk apps were completely destroyed by gnome HIG down to being complete crap (gedit, epiphany...) and last months all i'm doing is searching for sane replacements in order to be ready for wayland
Comment
-
Originally posted by Attent?ter View Postnope Mir is using Compiz
Originally posted by Attent?ter View Postand it shares code with Wayland
Originally posted by Attent?ter View PostUnity8 was
Originally posted by Attent?ter View Posthow do you think they build the compositor?
Comment
-
Originally posted by Attent?ter View Posti fix that for you
they used code from Wayland and Compiz even the SDL Mir code is using Wayland paths
Wayland is a protocol, you can't use code from Wayland as Wayland isn't code!
Compiz is a X.org specific software with a very high use of X.org specific APIs
using Compiz without X.org is inpossible. Also Mir have nothing to do with how
windows look and behave wich is the only thing Compiz cares about.
Comment
-
Originally posted by Pajn View PostYou don't know much about anything, do you?
Wayland is a protocol, you can't use code from Wayland as Wayland isn't code!
Compiz is a X.org specific software with a very high use of X.org specific APIs
using Compiz without X.org is inpossible. Also Mir have nothing to do with how
windows look and behave wich is the only thing Compiz cares about.
no duplicated code here
Originally posted by Awesomeness View PostThe fact right now is that code is duplicated.
Just compare https://hg.libsdl.org/SDL/file/52f86...L_waylanddyn.c against https://hg.libsdl.org/SDL/file/52f86...r/SDL_mirdyn.c
Occasionally here is a line of code missing, there was a line of code added and in the end the Mir back-end has 20 lines of code less in this file than the Wayland back-end but the rest is pretty much a search "WAYLAND" and replace with "MIR". Even the comments are the same:
Code:#if DEBUG_DYNAMIC_WAYLAND if (fn != NULL) SDL_Log("WAYLAND: Found '%s' in %s (%p)\n", fnname, waylandlibs[i].libname, fn); else SDL_Log("WAYLAND: Symbol '%s' NOT FOUND!\n", fnname); #endif if (fn == NULL) *pHasModule = 0; /* kill this module. */ return fn; } #endif /* SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC */ /* Define all the function pointers and wrappers... */ #define SDL_WAYLAND_MODULE(modname) int SDL_WAYLAND_HAVE_##modname = 0; #define SDL_WAYLAND_SYM(rc,fn,params) SDL_DYNWAYLANDFN_##fn WAYLAND_##fn = NULL; #define SDL_WAYLAND_INTERFACE(iface) const struct wl_interface *WAYLAND_##iface = NULL; #include "SDL_waylandsym.h" #undef SDL_WAYLAND_MODULE #undef SDL_WAYLAND_SYM #undef SDL_WAYLAND_INTERFACE
Code:#if DEBUG_DYNAMIC_MIR if (fn != NULL) SDL_Log("MIR: Found '%s' in %s (%p)\n", fnname, mirlibs[i].libname, fn); else SDL_Log("MIR: Symbol '%s' NOT FOUND!\n", fnname); #endif if (fn == NULL) *pHasModule = 0; /* kill this module. */ return fn; } #endif /* SDL_VIDEO_DRIVER_MIR_DYNAMIC */ /* Define all the function pointers and wrappers... */ #define SDL_MIR_MODULE(modname) int SDL_MIR_HAVE_##modname = 0; #define SDL_MIR_SYM(rc,fn,params) SDL_DYNMIRFN_##fn MIR_##fn = NULL; #include "SDL_mirsym.h" #undef SDL_MIR_MODULE #undef SDL_MIR_SYM
Comment
-
Projects have coding standards. If you submit a patch that doesn't look
like the rest of the code then you won't get your code merged. If you look
at the X11 dyn it looks exactly the same aswell
Code:#if DEBUG_DYNAMIC_X11 if (fn != NULL) printf("X11: Found '%s' in %s (%p)\n", fnname, x11libs[i].libname, fn); else printf("X11: Symbol '%s' NOT FOUND!\n", fnname); #endif if (fn == NULL) *pHasModule = 0; /* kill this module. */ return fn; } #endif /* SDL_VIDEO_DRIVER_X11_DYNAMIC */ /* Define all the function pointers and wrappers... */ #define SDL_X11_MODULE(modname) #define SDL_X11_SYM(rc,fn,params,args,ret) SDL_DYNX11FN_##fn X11_##fn = NULL; #include "SDL_x11sym.h" #undef SDL_X11_MODULE #undef SDL_X11_SYM
Comment
Comment