Rachel Blum
2015-04-15 18:54:05 UTC
I couldn't find any docs on this - is there a guideline what to use when?
AIUI:
* SkBitmap is a single bitmap. Use when actual bitmap manipulation is
required.
* gfx::ImageSkia can contain multiple bitmaps to support multiple scales.
Use when in Views land.
* gfx::Image can contain ImageSkia/NSImage/raw bytes - use when passing
around images in platform-indepdent code.
Does that make sense? Am I missing something obvious?
AIUI:
* SkBitmap is a single bitmap. Use when actual bitmap manipulation is
required.
* gfx::ImageSkia can contain multiple bitmaps to support multiple scales.
Use when in Views land.
* gfx::Image can contain ImageSkia/NSImage/raw bytes - use when passing
around images in platform-indepdent code.
Does that make sense? Am I missing something obvious?
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.