Shadow GraphicsContext's ImageInterpolationQuality inside GraphicsContextState
Created attachment 263430 [details] Patch
Comment on attachment 263430 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263430&action=review > Source/WebCore/ChangeLog:11 > + When getting the ImageInterpolationQuality, there is no need to round-trip through > + the platform's graphics context. This patch migrates this piece of state to the > + existing idiom of having a setter in GraphicsContext.cpp which sets the relevent > + state in GraphicsContextState and then calls into a platform-specific setter. I don’t understand what’s going on with this sequence of patches. Are we going to shadow all the state from the platform graphics contexts?
Created attachment 263493 [details] Patch
Comment on attachment 263493 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263493&action=review > Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:117 > +static InterpolationQuality convertInterpolationQuality(CGInterpolationQuality quality) Can this be a C++ operator?
Comment on attachment 263493 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263493&action=review >> Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:117 >> +static InterpolationQuality convertInterpolationQuality(CGInterpolationQuality quality) > > Can this be a C++ operator? error: conversion function must be a non-static member function
Committed r191330: <http://trac.webkit.org/changeset/191330>