Loading
Loading











When those states change, actually notice and save the preference for them. This way the "remember last window state" preference will work as expected for maximized/fullscreened windows.
Added isDirect to Colors::Space::* which tells us if a color space is backed by a single icc profile, and no other processing steps with some public method cleanups. Removed Lab toXYZ and fromXYZ which were orphaned by previous commit. Reformatted CairoTransform into generic SurfaceTransform so it can work with any memory surface of pixels and in a greater number of data formats. Split out CMS transform class from SurfaceTransforms and use a base class Allowing for different assumptions with formatting and alpha premultiplication. Add a forward.h header to make including color namespaces easier and cleaner. Clean up generic testing utils for VectorIs Add colors and some better flexibility for arrays and vectors in testing.
This color space allows surfaces to be converted to luminosity masks and varius other useful alpha related filtering for the new rendering engine. We use lcms2 to hold the gray scale profile for quicker conversions. The transform-cms is modified so it can cope with outputs which do not have an allpha channel of their own. Tests for this are added.
Most color conversion will be done with std::vectors of doubles but to speed up and provide compile time checks for color converting on Surfaces we want the ability to take an array directly at some but not all of the various levels. Formalise the interface for ProfileSpace and the Convertable type using a self-referential templating pattern. Move most conversion code to static functions and make as agnostic to the array type as possible, allowing for convertors to use them directly without expensive vector types.
This content is automatically aggregated by InertiaRSS (RSS Reader) for reading reference only. Original from — Copyright belongs to the original author.