Bug 113834 - Enable GPU-GPU texture copy in Canvas2D painting for HTMLVideoElement if hardware accelerated video decode is in use.
Summary: Enable GPU-GPU texture copy in Canvas2D painting for HTMLVideoElement if hard...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2013-04-02 16:28 PDT by hkuang
Modified: 2022-07-18 15:59 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hkuang 2013-04-02 16:28:30 PDT
Hardware accelerated video decode is supported in most platforms like Windows, Mac OSX, ChromeOS, etc, to improve Video playback performance. On mobile platforms, most of the videos are hardware decoded now days. With limits resources on mobile platform, it will be quite inefficient if we tried to read the memory from GPU back to CPU when drawing video to Canvas. 

When the Canvas is hardware accelerated, there is a possibility to do a GPU-GPU texture copy instead of CPU readback when drawing video to Canvas. There is another patch in Chromium that needed to combine with this patch to enable this feature for Canvas2D painting on android platform.
Comment 1 Brent Fulgham 2022-07-18 15:59:45 PDT
We believe that this is true for all Cocoa-based platforms. I'm not sure about GTK or WinCairo ports.