skia/skia/9f02102df29835c04b4d82a0847596909f40d892 [skcapture] Refactor Image and Surface to track SkPixelStorage directly
Before this change, SkImage and SkSurface were asked to track their own metadata for capture (fDerivedSurfaceID, fContentID, etc.) This gets messy and required a lot of syncing across different Skia objects. Moving to a model that images and surfaces point to the same object that tracks this information simplifies the memory and state identification model.
Change-Id: I1f2b1227ad2a09eb5de87a83f090e013c295a3d7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1238456
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
Reviewed-by: Alexis Cruz-Ayala <alexisdavidc@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
33 files changed