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

Side by Side Diff: core/src/fxge/skia/fx_skia_blitter_new.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « core/src/fxge/ge/text_int.h ('k') | core/src/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "../../../include/fxge/fx_ge.h" 5 #include "core/include/fxge/fx_ge.h"
6
6 //#define _SKIA_SUPPORT_ 7 //#define _SKIA_SUPPORT_
7 #if defined(_SKIA_SUPPORT_) 8 #if defined(_SKIA_SUPPORT_)
8 #include "../../../include/fxcodec/fx_codec.h"
9 #include "SkBlitter.h" 9 #include "SkBlitter.h"
10 #include "core/include/fxcodec/fx_codec.h"
10 #include "fx_skia_blitter_new.h" 11 #include "fx_skia_blitter_new.h"
12
11 // We use our own renderer here to make it simple 13 // We use our own renderer here to make it simple
12 void CFX_SkiaRenderer::blitAntiH(int x, 14 void CFX_SkiaRenderer::blitAntiH(int x,
13 int y, 15 int y,
14 const SkAlpha antialias[], 16 const SkAlpha antialias[],
15 const int16_t runs[]) { 17 const int16_t runs[]) {
16 FXSYS_assert(m_Alpha); 18 FXSYS_assert(m_Alpha);
17 if (m_pOriDevice == NULL && composite_span == NULL) 19 if (m_pOriDevice == NULL && composite_span == NULL)
18 return; 20 return;
19 if (y < m_ClipBox.top || y >= m_ClipBox.bottom) 21 if (y < m_ClipBox.top || y >= m_ClipBox.bottom)
20 return; 22 return;
(...skipping 1818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 m_pDevice = pDevice; 1841 m_pDevice = pDevice;
1840 m_Left = Left; 1842 m_Left = Left;
1841 m_Top = Top; 1843 m_Top = Top;
1842 if (pDevice) { 1844 if (pDevice) {
1843 m_dstWidth = m_Left + pDevice->GetWidth(); 1845 m_dstWidth = m_Left + pDevice->GetWidth();
1844 m_dstHeight = m_Top + pDevice->GetHeight(); 1846 m_dstHeight = m_Top + pDevice->GetHeight();
1845 } 1847 }
1846 return TRUE; 1848 return TRUE;
1847 } 1849 }
1848 #endif 1850 #endif
OLDNEW
« no previous file with comments | « core/src/fxge/ge/text_int.h ('k') | core/src/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698