This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Start a more generic stroke tessellator for path #40690
Merged
Merged
Changes from 17 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f4be79d
More generic path tessellation for strokes
dnfield 62bf162
merge
dnfield fd73fa6
revert unintended changes
dnfield 268391d
more cleanup
dnfield 718b20d
Make it actually build
dnfield 6f73ae4
Merge remote-tracking branch 'upstream/main' into strokes
dnfield f423d3d
docs
dnfield 57f8d7b
Fix compiler, fix include
dnfield 3409db3
commented out code
dnfield db55415
Fix metal compilation again
dnfield a1495ea
++
dnfield b0bc6ec
Fixup
dnfield ff78580
Make iOS compile
dnfield aae71bf
I know the alphabet I promise
dnfield 9b8310b
Vulkan language version so Malioc knows what to do
dnfield beaf878
Merge remote-tracking branch 'upstream/main' into strokes
dnfield 9db6008
Update malioc.json
dnfield a96028e
revert malioc.json
dnfield 9b19021
try again
dnfield 141dd2d
rename
dnfield 8e8abeb
Format
dnfield 7b7b1e3
tidy
dnfield 3740e18
merge
dnfield File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ | |
| #include "impeller/renderer/backend/metal/formats_mtl.h" | ||
| #include "impeller/renderer/backend/metal/surface_mtl.h" | ||
| #include "impeller/renderer/backend/metal/texture_mtl.h" | ||
| #include "impeller/renderer/mtl/tessellation_shaders.h" | ||
| #include "impeller/scene/shaders/mtl/scene_shaders.h" | ||
|
|
||
| namespace impeller { | ||
|
|
@@ -34,23 +35,25 @@ | |
|
|
||
| static std::vector<std::shared_ptr<fml::Mapping>> | ||
| ShaderLibraryMappingsForPlayground() { | ||
| return { | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_entity_shaders_data, | ||
| impeller_entity_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_modern_shaders_data, | ||
| impeller_modern_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_framebuffer_blend_shaders_data, | ||
| impeller_framebuffer_blend_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_fixtures_shaders_data, | ||
| impeller_fixtures_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_subgroup_fixtures_shaders_data, | ||
| impeller_subgroup_fixtures_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_imgui_shaders_data, | ||
| impeller_imgui_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_scene_shaders_data, | ||
| impeller_scene_shaders_length), | ||
| return {std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_entity_shaders_data, impeller_entity_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_modern_shaders_data, impeller_modern_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_framebuffer_blend_shaders_data, | ||
| impeller_framebuffer_blend_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_fixtures_shaders_data, impeller_fixtures_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_subgroup_fixtures_shaders_data, | ||
| impeller_subgroup_fixtures_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_imgui_shaders_data, | ||
| impeller_imgui_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>(impeller_scene_shaders_data, | ||
| impeller_scene_shaders_length), | ||
| std::make_shared<fml::NonOwnedMapping>( | ||
| impeller_tessellation_shaders_data, | ||
|
||
| impeller_tessellation_shaders_length) | ||
|
|
||
| }; | ||
| } | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinmaygarde please review this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Particularly for the Vulkan change)