| OLD | NEW |
| 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 "core/include/fxge/fx_ge.h" | 5 #include "core/include/fxge/fx_ge.h" |
| 6 | 6 |
| 7 #if defined(_SKIA_SUPPORT_) | 7 #if defined(_SKIA_SUPPORT_) |
| 8 #include "core/include/fxcodec/fx_codec.h" | 8 #include "core/include/fxcodec/fx_codec.h" |
| 9 | 9 |
| 10 #include "SkDashPathEffect.h" | 10 #include "SkDashPathEffect.h" |
| 11 #include "SkTLazy.h" | 11 #include "SkTLazy.h" |
| 12 #include "SkScan.h" | 12 #include "SkScan.h" |
| 13 #include "SkRasterClip.h" | 13 #include "SkRasterClip.h" |
| 14 #include "SkStroke.h" | 14 #include "SkStroke.h" |
| 15 | 15 |
| 16 #include "core/src/fxge/agg/include/fx_agg_driver.h" | 16 #include "core/src/fxge/agg/include/fx_agg_driver.h" |
| 17 #include "fx_skia_blitter_new.h" | 17 #include "core/src/fxge/skia/fx_skia_blitter_new.h" |
| 18 #include "fx_skia_device.h" | 18 #include "core/src/fxge/skia/fx_skia_device.h" |
| 19 | 19 |
| 20 extern "C" { | 20 extern "C" { |
| 21 extern void FX_OUTPUT_LOG_FUNC(const char*, ...); | 21 extern void FX_OUTPUT_LOG_FUNC(const char*, ...); |
| 22 extern int FX_GET_TICK_FUNC(); | 22 extern int FX_GET_TICK_FUNC(); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 #ifdef _FOXIT_DEBUG_ | 25 #ifdef _FOXIT_DEBUG_ |
| 26 #define FOXIT_DEBUG1(msg) FX_OUTPUT_LOG_FUNC(msg) | 26 #define FOXIT_DEBUG1(msg) FX_OUTPUT_LOG_FUNC(msg) |
| 27 #define FOXIT_DEBUG2(msg, para) FX_OUTPUT_LOG_FUNC(msg, para) | 27 #define FOXIT_DEBUG2(msg, para) FX_OUTPUT_LOG_FUNC(msg, para) |
| 28 #define FOXIT_DEBUG3(msg, para1, para2) FX_OUTPUT_LOG_FUNC(msg, para1, para2) | 28 #define FOXIT_DEBUG3(msg, para1, para2) FX_OUTPUT_LOG_FUNC(msg, para1, para2) |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 new CFX_SkiaDeviceDriver(pBitmap, dither_bits, FALSE, pOriDevice, FALSE); | 619 new CFX_SkiaDeviceDriver(pBitmap, dither_bits, FALSE, pOriDevice, FALSE); |
| 620 SetDeviceDriver(pDriver); | 620 SetDeviceDriver(pDriver); |
| 621 return TRUE; | 621 return TRUE; |
| 622 } | 622 } |
| 623 CFX_SkiaDevice::~CFX_SkiaDevice() { | 623 CFX_SkiaDevice::~CFX_SkiaDevice() { |
| 624 if (m_bOwnedBitmap && GetBitmap()) | 624 if (m_bOwnedBitmap && GetBitmap()) |
| 625 delete GetBitmap(); | 625 delete GetBitmap(); |
| 626 } | 626 } |
| 627 | 627 |
| 628 #endif | 628 #endif |
| OLD | NEW |