[core] Use shared pointer to manage Image source raster data and speed up change detection

This commit is contained in:
Asheem Mamoowala
2017-06-20 11:09:19 -07:00
parent b69f8338bb
commit 1d15ed64dc
7 changed files with 75 additions and 42 deletions

View File

@@ -535,7 +535,7 @@ TEST(Source, ImageSourceImageUpdate) {
rgba.data[0] = 255;
rgba.data[1] = 254;
rgba.data[2] = 253;
rgba.data[3] = 128;
rgba.data[3] = 0;
// Schedule an update
test.loop.invoke([&] () {