summaryrefslogtreecommitdiff
path: root/core/fxge/fx_dib.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-25 17:36:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-25 17:36:08 +0000
commit94f45b29897f801151ecd085fa083f84558065ee (patch)
tree33d704f86b261273bdc0c665e3e5523065de1d78 /core/fxge/fx_dib.h
parent86a7af323dcdc0fd40e89f9c54371b17e0482ede (diff)
downloadpdfium-94f45b29897f801151ecd085fa083f84558065ee.tar.xz
Fix blend mode usage in CFX_ScanlineCompositor helpers.
- Remove FXDIB_BLEND_NONSEPARABLE, which is not a real blend type. - Change implicit if (blend_type) conditions to check against FXDIB_BLEND_NORMAL. - Add an IsNonSeparableBlendMode() helper. Change-Id: If5c017a7851ad928d1f17688bf6e9c38f70f4e0e Reviewed-on: https://pdfium-review.googlesource.com/c/44551 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/fx_dib.h')
-rw-r--r--core/fxge/fx_dib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fxge/fx_dib.h b/core/fxge/fx_dib.h
index 0779de3232..4842d11953 100644
--- a/core/fxge/fx_dib.h
+++ b/core/fxge/fx_dib.h
@@ -67,7 +67,6 @@ extern const int16_t SDP_Table[513];
#define FXDIB_BLEND_SOFTLIGHT 9
#define FXDIB_BLEND_DIFFERENCE 10
#define FXDIB_BLEND_EXCLUSION 11
-#define FXDIB_BLEND_NONSEPARABLE 21
#define FXDIB_BLEND_HUE 21
#define FXDIB_BLEND_SATURATION 22
#define FXDIB_BLEND_COLOR 23