Chromium Code Reviews
Descriptioncolor: Convert BitmapImage to sRGB ahead of time
We are always sending these images to sRGB canvases, so do the
conversion ahead of time.
This fixes a bug wherein, when a WebGLRenderingContext reads a
BitmapImage it wants the image to be in sRGB (if not-none was
requested). We will eventually need to decide how a color-canvas-using
WebGLRenderingContext should handle non-sRGB images.
BUG=730983
Review-Url: https://codereview.chromium.org/2924373002
Cr-Commit-Position: refs/heads/master@{#478564}
Committed: https://chromium.googlesource.com/chromium/src/+/64db61998368ffd368f477a57b749f9a5a0dc9aa
Patch Set 1 #Patch Set 2 : Format #Patch Set 3 : Format #Patch Set 4 : Add scale bits #
Total comments: 8
Patch Set 5 : Remove extra param #Patch Set 6 : Include removing test filter #Patch Set 7 : One more expectations #Patch Set 8 : Rebase #
Messages
Total messages: 17 (11 generated)
|
||||||||||||||||||||||||||||