17267 Commits

Author SHA1 Message Date
Chinmay Garde
80a7c32a8e Setup aiks for canvas subpasses. 2022-04-27 15:57:33 -07:00
Chinmay Garde
c73218bee1 Fix bug in texture usage mask. 2022-04-27 15:57:33 -07:00
Chinmay Garde
1a1134f72c WIP on creating utils for creating offscreen render targets. 2022-04-27 15:57:33 -07:00
Chinmay Garde
b943a06616 Renderer components no longer need a surface reference to function. 2022-04-27 15:57:33 -07:00
Chinmay Garde
0a855c21f7 Rework canvas passes in prep for subpasses. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2eb6372d9d Implement stencil-only clips. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6223a79f95 Give the default render target a stencil buffer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
9f2632abb2 Add support for typed commands. 2022-04-27 15:57:33 -07:00
Chinmay Garde
b0fbe2252b WIP Add test for clip rendering. 2022-04-27 15:57:33 -07:00
Chinmay Garde
14a3b5e187 Cleanup entity API. 2022-04-27 15:57:33 -07:00
Chinmay Garde
75daec6e7b Rendering of continuous strokes. 2022-04-27 15:57:33 -07:00
Chinmay Garde
76b8ca7ca1 Fix struct padding calculations. 2022-04-27 15:57:33 -07:00
Chinmay Garde
fe98565148 Insert additional padding at the end of the struct if the size of the struct does not satisfy the alignment requirements of all its members. 2022-04-27 15:57:33 -07:00
Chinmay Garde
04fadf5652 WIP on stroke rendering. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6dc7ec06f9 Implement texture mapping. 2022-04-27 15:57:33 -07:00
Chinmay Garde
96fda8f7be Allow shader libraries to look at multiple shader dylibs. 2022-04-27 15:57:33 -07:00
Chinmay Garde
71b41f2636 Start wiring up the entity playground. 2022-04-27 15:57:33 -07:00
Chinmay Garde
d226108835 Separate save layer calls into a canvas pass. 2022-04-27 15:57:33 -07:00
Chinmay Garde
40992281d5 Start consolidating content rendering. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6ab947ca80 Make pipelines store pipeline descriptors. 2022-04-27 15:57:33 -07:00
Chinmay Garde
791a4c34a6 Minor fixups to pipeline creation. 2022-04-27 15:57:33 -07:00
Chinmay Garde
b7cb641d6a Fixup names of pipeline descriptors. 2022-04-27 15:57:33 -07:00
Chinmay Garde
3b5d0de968 Shorten names of the render target attachment descriptors. 2022-04-27 15:57:33 -07:00
Chinmay Garde
4204ad3779 Move entity shaders to their own directory. 2022-04-27 15:57:33 -07:00
Chinmay Garde
6572fa9350 Merge entity renderer impl into the entity renderer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e8a632c8e5 Minor build fixups. 2022-04-27 15:57:33 -07:00
Chinmay Garde
351bb6d019 More doc updates. 2022-04-27 15:57:33 -07:00
Chinmay Garde
24f28685fe Make the renderer APIs more verbose. 2022-04-27 15:57:33 -07:00
Chinmay Garde
1c983cee42 Add docs for command buffer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
07229ea4d7 Minor doc updates. 2022-04-27 15:57:33 -07:00
Chinmay Garde
39bf8737c3 Rename the pipeline vertex descriptor. 2022-04-27 15:57:33 -07:00
Chinmay Garde
b84b8ca09f Use platform agnostic semaphores in the renderer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
0c66998e1c Make Impeller ObjC agnostic. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e129fbaba1 Start getting rid of ObjC TU's from core library. 2022-04-27 15:57:33 -07:00
Chinmay Garde
1401218afc Add stubs for backend library. 2022-04-27 15:57:33 -07:00
Chinmay Garde
d4308e38ee Rename the compositor to the entity framework. 2022-04-27 15:57:33 -07:00
Chinmay Garde
105b988e1a Move MatrixDecomposition into its TU. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e7e2555ec6 Merge primitives into compositor. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7ac751e9ad Implement gradient contents renderer. 2022-04-27 15:57:33 -07:00
Chinmay Garde
f372fe5305 Add docstring to PipelineColorAttachment. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ad383b44d4 Update defaults to be closer to Skia. 2022-04-27 15:57:33 -07:00
Chinmay Garde
ce8a7dfd7b Add more path builder ops. 2022-04-27 15:57:33 -07:00
Chinmay Garde
7f23e748ab Cleanup path builder rounded rect implementation. 2022-04-27 15:57:33 -07:00
Chinmay Garde
117aaa3a01 Fix circle path components. 2022-04-27 15:57:33 -07:00
Chinmay Garde
000ab23052 Add a tessellator. 2022-04-27 15:57:33 -07:00
Chinmay Garde
e11c3e756c Cleanup vertex buffer builder API. 2022-04-27 15:57:33 -07:00
Chinmay Garde
d279337bdb Make sure only valid pipeline futures are awaited upon. 2022-04-27 15:57:33 -07:00
Chinmay Garde
37aa63cf06 Setup render command for solid fill. 2022-04-27 15:57:33 -07:00
Chinmay Garde
1bc196e2f2 Add support for typed pipeline futures. 2022-04-27 15:57:33 -07:00
Chinmay Garde
2766e1e97f WIP on wiring up the aiks entity renderer. 2022-04-27 15:57:33 -07:00