Skip to content

[335279173] Improve handling of GPU compositing being disabled #768

Open

Description

@Indigochi1d

Issue

Bug

Documents

Description

GPU compositing 비활성화 상태를 renderer에 전달하는 경로가 지금은 command-line flag와 별도 mojo 인터페이스 두 개로 나뉘어 있다. 이를 GPU process가 주는 GpuFeatureInfo 하나를 source of truth로 삼도록 정리하는 것이 목표다.

현재 구조는 OOP-D 시절, 즉 GPU process가 있을 때도 있고 없을 때도 있던 때를 기준으로 설계됐다. 지금은 renderer가 항상 GPU channel을 맺기 때문에 기존 장치들이 대부분 필요 없어졌다.

상황 현재 제안
① renderer 시작 시점에 이미 비활성화된 경우 --disable-gpu-compositing flag 전달 필요 없을 것으로 봄 (renderer가 어차피 GPU channel을 맺음)
② renderer 실행 중에 비활성화되는 경우 browser → renderer mojom::CompositingModeReporter로 알림 GPU process가 모든 GPU channel을 닫고, renderer가 재연결하면서 갱신된 GpuFeatureInfo를 받음
③ browser에서 비활성화를 결정한 경우 — browser가 GPU process에 알리고, GPU process는 그 상태를 기억해 GpuFeatureInfo에 반영
④ 최종 결정권 browser 그대로 browser (GPU process가 crash 후 재시작해도 결정이 유지돼야 함)

핵심 변경

GpuFeatureInfo에 GPU_FEATURE_TYPE_GPU_COMPOSITING을 다시 추가하고, renderer는 이 값만 보고 compositing 모드를 결정한다.

예상 작업 범위

  • renderer에 --disable-gpu-compositing 스위치를 넘기는 코드 제거
  • CompositingModeReporter mojom과 구현/구독자 제거 (renderer 쪽은 RenderThreadImpl 근처)
  • GPU feature 판정 로직에 GPU compositing 항목 추가
  • browser → GPU process로 GPU compositing 비활성화를 알리는 경로 추가

References


패치를 Gerrit에 올린 뒤에는 기여 기록하기 가이드에 따라 기여 내역을 사이트에 반영해 주세요.

Activity

  1. added
    chromium-issues
    2026
    on Oct 14, 2026
  2. self-assigned this
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

2026chromium-issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions