Michael Ragazzon
|
23e356ae4c
Remove pseudo class properties from element definition. This simplifies the code a whole lot, and makes fetching a new definition a lot faster. This means that we have to fetch new definitions more often (specifically, now also when we set a pseudo class), but despite this, the net performance gains are substantial. We could introduce flags to avoid this later.
|
6 years ago |
Michael Ragazzon
|
64334936cd
ElementStyle cleanup. Add const where appropriate. Remove indirection to local style properties. Replace NULL with nullptr.
|
6 years ago |
Michael Ragazzon
|
4a00edb9af
Cleanup dirty inherited properties.
|
6 years ago |
Michael Ragazzon
|
6d4c793a13
Wrong dirty target
|
6 years ago |
Michael Ragazzon
|
3f17844b7e
No need to dirty decorators in update definition anymore. Postpone dirty child definitions to update.
|
6 years ago |
Michael Ragazzon
|
05a24f63d5
Now that we have PropertyIds, we can use a bitset to represent dirty properties, increasing iteration performance.
|
6 years ago |
Michael Ragazzon
|
0457df38ef
Make pseudo class list a small set.
|
6 years ago |
Michael Ragazzon
|
ff961eb7a7
Some cleanup of decorator instancing.
|
6 years ago |
Michael Ragazzon
|
49089e59e4
Dont' compute decorators and font-effects. Their computed values are as specified. Benchmark later to see what gives best performance.
|
6 years ago |
Michael Ragazzon
|
ac40b7177c
WIP, decorators partially working.
|
6 years ago |
Michael Ragazzon
|
d9c0ca4735
Fix some bugs
|
6 years ago |
Michael Ragazzon
|
d1785949d1
WIP: PropertyIds. Need to figure out how to deal with property groups. Possible solutions:
|
6 years ago |
Michael Ragazzon
|
89821a3e90
WIP PropertyId
|
6 years ago |
Michael Ragazzon
|
2a53aa9424
Fix some compiler warnings
|
6 years ago |
Michael Ragazzon
|
5d138fa304
Update definition speedup
|
6 years ago |
Michael Ragazzon
|
85a633693c
Remove the old IterateProperties, replace with new iterators
|
6 years ago |
Michael Ragazzon
|
68eefcaeb0
Move iterators to separate file
|
6 years ago |
Michael Ragazzon
|
d88d67ddc6
Drop the iterator wrapper in element definition
|
6 years ago |
Michael Ragazzon
|
041515844a
Implement iterators for element style
|
6 years ago |
Michael Ragazzon
|
ffca31dec9
Intersection, not union
|
6 years ago |
Michael Ragazzon
|
020357fefc
Clean up dirty properties in element style
|
6 years ago |
Michael Ragazzon
|
240b84cb19
Implement iterator for element definition
|
6 years ago |
Michael Ragazzon
|
0bba316576
Moving dirty properties to ElementStyle
|
6 years ago |
Michael Ragazzon
|
90c2d5005e
Merge remote-tracking branch 'origin/master' into performance
|
6 years ago |
Michael Ragazzon
|
1642ddb6af
Reverse shared string font family
|
6 years ago |
Michael Ragazzon
|
e91ea9c63b
Shared string for font family
|
6 years ago |
Michael Ragazzon
|
0fc2144f4c
Minor
|
6 years ago |
Michael Ragazzon
|
38a559d824
Look for parser in case of missing parser_index in keyword property
|
6 years ago |
Michael Ragazzon
|
0242f6366b
Top and bottom z-index values not supported
|
6 years ago |
Michael Ragazzon
|
b7f84b1e1a
Minor cleanup
|
6 years ago |