forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ImageBufferHaiku: adapt to new backends system
Introduced in aa9a420, this new system abstracts away backend-specific details from platform-specific implementations, allowing code reuse between platforms. This commit adapts Haiku's ImageBufferBackend implementation to use this new system. A new method `backendAlphaPremultiplication()` is added for dealing with BBitmap's sole support for unpremultiplied alpha. Interactions against 83cc46b remains to be seen as tests requires WebGL2. Testing with WebPositive shows more or less the same pass rate for web-platform-tests/html/canvas/element/imagebitmap against the old code path. No further tests has been done as DumpRenderTree couldn't run due to a relocation error, making automated testing difficult.
- Loading branch information
Showing
5 changed files
with
59 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.