소스 검색

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();
     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 = [=]() {
     m_compose_timer.on_timeout = [=]() {
 #if defined(COMPOSITOR_DEBUG)
 #if defined(COMPOSITOR_DEBUG)
         dbgprintf("WSCompositor: delayed frame callback: %d rects\n", m_dirty_rects.size());
         dbgprintf("WSCompositor: delayed frame callback: %d rects\n", m_dirty_rects.size());

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.