Fixed textbox color not updating cache, and taking snapshot images for cache instead of storing surfaces
This commit is contained in:
parent
ed3d5f6d51
commit
f72d8c21fa
7 changed files with 27 additions and 19 deletions
|
|
@ -20,7 +20,7 @@ class DrawingProgramCacheBVHNode {
|
|||
struct DrawCacheData {
|
||||
uint64_t lastDrawnComponentPlacement;
|
||||
uint64_t firstDrawnComponentPlacement;
|
||||
sk_sp<SkSurface> surface;
|
||||
sk_sp<SkImage> img;
|
||||
std::chrono::steady_clock::time_point lastRenderTime;
|
||||
DrawingProgramCache* attachedCache;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue