From 3f4befb2622487f3fe915ead4f78c7e3b940dec3 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 6 Mar 2018 22:25:03 +0000 Subject: Remove axial gradients from XFA widgets. Most of the CPU time when moving around XFA forms is spent rendering these gradients. Bug: chromium:592748 Change-Id: I08c68c60996755a2be25243dfd2143b6cbb13af9 Reviewed-on: https://pdfium-review.googlesource.com/28090 Commit-Queue: Henrique Nakashima Reviewed-by: dsinclair --- xfa/fwl/theme/cfwl_widgettp.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xfa/fwl/theme/cfwl_widgettp.h') diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h index 503c85eaf2..f62098d4ef 100644 --- a/xfa/fwl/theme/cfwl_widgettp.h +++ b/xfa/fwl/theme/cfwl_widgettp.h @@ -64,16 +64,6 @@ class CFWL_WidgetTP { FX_ARGB fillColor, const CFX_RectF* pRect, CFX_Matrix* pMatrix = nullptr); - void DrawAxialShading(CXFA_Graphics* pGraphics, - float fx1, - float fy1, - float fx2, - float fy2, - FX_ARGB beginColor, - FX_ARGB endColor, - CXFA_GEPath* path, - int32_t fillMode = FXFILL_WINDING, - CFX_Matrix* pMatrix = nullptr); void DrawFocus(CXFA_Graphics* pGraphics, const CFX_RectF* pRect, CFX_Matrix* pMatrix = nullptr); -- cgit v1.2.3