Chrome核心解析:GraphicsContext之間的同步

來源:互聯網
上載者:User


轉載請標明出處:http://blog.csdn.net/yunchao_he/article/details/49717747


多個GraphicsContext之間的同步

多個GraphicsContext都是在同一個Gpu thread上執行,它們之間有同步關係,比如WebGL尚未結束時,不能拿它的Texture到RenderCompositor或者BrowserCompositor裡做compositing, 否則結果不正確。

通過在command buffer用戶端(實際上就是各個GraphicsContexts)裡向command buffer中分別插入InsertSyncPoint和WaitSyncPoint

         Commandbuffer的伺服器端解析用戶端發來的訊息,遇到WaitSyncPoint時,則調用InsertSyncPoint對應的GraphicsContexts,去執行它的commands.


(未完待續) Chromium裡如何?GraphicContexts的同步,調度。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.