فهرست منبع

WindowServer: Remove the default background wallpaper

Booting without a wallpaper is significantly faster in QEMU when the
host machine is under load (e.g while recording the screen..)

Using a wallpaper is now optional. :^)
Andreas Kling 5 سال پیش
والد
کامیت
270adea22f
3فایلهای تغییر یافته به همراه0 افزوده شده و 18608 حذف شده
  1. BIN
      Base/res/wallpapers/highpriority16.png
  2. 0 18605
      Base/res/wallpapers/retro.rgb
  3. 0 3
      Servers/WindowServer/WSCompositor.cpp

BIN
Base/res/wallpapers/highpriority16.png


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 18605
Base/res/wallpapers/retro.rgb


+ 0 - 3
Servers/WindowServer/WSCompositor.cpp

@@ -38,9 +38,6 @@ WSCompositor::WSCompositor()
 
     init_bitmaps();
 
-    m_wallpaper_path = "/res/wallpapers/retro.rgb";
-    m_wallpaper = GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, m_wallpaper_path, { 1024, 768 });
-
     m_compose_timer.on_timeout = [=]() {
 #if defined(COMPOSITOR_DEBUG)
         dbgprintf("WSCompositor: delayed frame callback: %d rects\n", m_dirty_rects.size());

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است