-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added immediate rendering of Skia Views (#1614)
* Added immediate rendering of Skia Views Instead of waiting till the draw loop calls us back, the view will now perform a direct render after adding itself to the draw loop to ensure that the view is rendered as quickly as possible. Fixes Skia mount startup time #610 (again) * Added support for direct rendering on first frame - Added renderImmediate() method that can be called on the main UI thread to render outside the drawing loop - Added return value to render method in providers to enable propagating the result value - Implemented drawRect on iOS to render immediate * Removed unused method * Added #pragma * Added reset of redraw counter when renderImmediate is called * Added SVG Comparison example - Added RN SVG - Added navigation tabbar - Added comparison example * Simplified OpenGL C++ renderer a bit - Moved connecting Skia / OpenGL to render method - it doesn't need to be done only once. * Added immediate rendering to the Android C++ Base View class When surface is available, the Android view will now try to perform an immediate rendering like on iOS. * Lint * Lint * Fixed CI * Fixed inconcisency in performDraw in SkPictureView Renderer Added test to see if picture is set inside of the renderer, not outside. * Remove redudant example * Remove redudant example * 💚 * Remove log * 💚 --------- Co-authored-by: William Candillon <[email protected]>
- Loading branch information
1 parent
c7be20b
commit 8c80884
Showing
13 changed files
with
81 additions
and
99 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
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
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.