Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: ui/gfx/skia_color_space_util.h

Issue 2696603003: color: Towards ColorTransform optimizations and code generation (Closed)
Patch Set: Remove unneeded refactor Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_GFX_SKIA_COLOR_SPACE_UTIL_H_
6 #define UI_GFX_SKIA_COLOR_SPACE_UTIL_H_
7
8 #include "third_party/skia/include/core/SkColorSpace.h"
9 #include "ui/gfx/gfx_export.h"
10
11 namespace gfx {
12
13 float GFX_EXPORT EvalSkTransferFn(const SkColorSpaceTransferFn& fn, float x);
14
15 SkColorSpaceTransferFn GFX_EXPORT
16 SkTransferFnInverse(const SkColorSpaceTransferFn& fn);
17
18 bool GFX_EXPORT
19 SkTransferFnIsApproximatelyIdentity(const SkColorSpaceTransferFn& fn);
20
21 bool GFX_EXPORT
22 SkTransferFnsApproximatelyCancel(const SkColorSpaceTransferFn& a,
23 const SkColorSpaceTransferFn& b);
24
25 bool GFX_EXPORT SkMatrixIsApproximatelyIdentity(const SkMatrix44& m);
26
27 } // namespace gfx
28
29 #endif // UI_GFX_SKIA_COLOR_SPACE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698