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

Side by Side Diff: src/core/SkXfer4f.h

Issue 1634273002: float components in xfermodes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable blitter for official checkin Created 4 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 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkXfermodePriv_DEFINED
9 #define SkXfermodePriv_DEFINED
10
11 #include "SkXfermode.h"
12
13 enum SkXfef4fFlags {
14 kSrcIsOpaque_SkXfer4fFlag = 1 << 0,
15 kDstIsSRGB_SkXfer4fFlag = 1 << 1,
16 };
17
18 typedef void (*SkPM4fXfer1Proc)(uint32_t dst[], const SkPM4f& src, int count);
19 typedef void (*SkPM4fXferNProc)(uint32_t dst[], const SkPM4f src[], int count);
20
21 SkPM4fXfer1Proc SkPM4fXfer1ProcFactory(SkXfermode::Mode, uint32_t flags);
22 SkPM4fXferNProc SkPM4fXferNProcFactory(SkXfermode::Mode, uint32_t flags);
23
24 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698