<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 745" role="img" aria-labelledby="title desc">
<title id="title">가상 화면 필요 여부와 준비 상태 판단</title>
<desc id="desc">화면 조회 오류, 명시적 가상 화면 요청, 실제 화면 없는 fallback을 서로 구분한다.</desc>
<defs><marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M 0 0 L 10 5 L 0 10 z" fill="#536172"/></marker></defs>
<rect width="1100" height="745" fill="white"/>
<g font-family="Noto Sans CJK KR, Malgun Gothic, sans-serif" font-size="16" fill="#192a3b">
<rect x="360" y="25" width="350" height="64" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="535" y="62" text-anchor="middle">입력 데스크톱 연결 → CCD 조회</text>
<rect x="20" y="135" width="290" height="74" rx="10" fill="#fff0ef" stroke="#ad463d" stroke-width="2"/>
<text x="165" y="166" text-anchor="middle">조회 오류 보존</text>
<text x="165" y="188" text-anchor="middle">모니터 0개로 바꾸지 않음</text>
<rect x="360" y="135" width="350" height="74" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="535" y="177" text-anchor="middle">Privacy 또는 Virtual Displays > 0?</text>
<rect x="785" y="260" width="290" height="84" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="930" y="285" text-anchor="middle">가상 화면 수 결정</text>
<text x="930" y="307" text-anchor="middle">명시 요청: max(설정값, 1)</text>
<text x="930" y="329" text-anchor="middle">화면 없음 + fallback: 1</text>
<rect x="360" y="260" width="350" height="84" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="535" y="307" text-anchor="middle">CCD 활성 target가 존재하는가?</text>
<rect x="20" y="390" width="290" height="74" rx="10" fill="#e9f7ef" stroke="#27704a" stroke-width="2"/>
<text x="165" y="421" text-anchor="middle">기존 활성 화면 사용</text>
<text x="165" y="443" text-anchor="middle">Fallback On만으로 VDD 요구 안 함</text>
<rect x="360" y="390" width="350" height="74" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="535" y="432" text-anchor="middle">Fallback To Virtual Display On?</text>
<rect x="360" y="550" width="350" height="74" rx="10" fill="#fff0ef" stroke="#ad463d" stroke-width="2"/>
<text x="535" y="592" text-anchor="middle">활성 화면 없음 오류</text>
<rect x="785" y="440" width="290" height="90" rx="10" fill="#eef4ff" stroke="#2f5fa2" stroke-width="2"/>
<text x="930" y="479" text-anchor="middle">장치·인터페이스·ABI·용량 확인</text>
<text x="930" y="501" text-anchor="middle">호환 응답과 유휴 상태 확보</text>
<rect x="785" y="630" width="290" height="80" rx="10" fill="#fff7df" stroke="#94701c" stroke-width="2"/>
<text x="930" y="664" text-anchor="middle">가상 출력 생성·캡처 확인</text>
<text x="930" y="686" text-anchor="middle">Privacy는 추가 복구 조건 필요</text>
<path d="M 360 57 L 165 57 L 165 135" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="257" y="47" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">조회 실패</text>
<path d="M 535 89 L 535 135" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="592" y="115" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">조회 성공</text>
<path d="M 710 172 L 930 172 L 930 260" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="811" y="158" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">예</text>
<path d="M 535 209 L 535 260" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="590" y="237" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">아니오</text>
<path d="M 360 302 L 165 302 L 165 390" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="271" y="290" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">있음</text>
<path d="M 535 344 L 535 390" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="574" y="371" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">0개</text>
<path d="M 710 427 L 749 427 L 749 302 L 785 302" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="745" y="356" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">예</text>
<path d="M 535 464 L 535 550" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="590" y="513" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">아니오</text>
<path d="M 930 344 L 930 440" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="992" y="400" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">자체 VDD만 검사</text>
<path d="M 930 530 L 930 630" fill="none" stroke="#536172" stroke-width="2" marker-end="url(#arrow)"/>
<text x="994" y="586" text-anchor="middle" font-size="14" paint-order="stroke" stroke="white" stroke-width="6" stroke-linejoin="round">Ready일 때만 진행</text>
</g>
</svg>
생성 코드·템플릿
diagrams/vdd-privacy/display-decision.svg
design/diagrams/vdd-privacy/display-decision.svg