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

Side by Side Diff: core/fxge/include/fx_ge.h

Issue 2167383002: Fix skia build broken by commit c38cd6 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 5 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
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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FXGE_INCLUDE_FX_GE_H_ 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_H_
8 #define CORE_FXGE_INCLUDE_FX_GE_H_ 8 #define CORE_FXGE_INCLUDE_FX_GE_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 uint32_t m_ExtGID; 207 uint32_t m_ExtGID;
208 #endif 208 #endif
209 bool m_bFontStyle; 209 bool m_bFontStyle;
210 }; 210 };
211 211
212 class CFX_RenderDevice { 212 class CFX_RenderDevice {
213 public: 213 public:
214 CFX_RenderDevice(); 214 CFX_RenderDevice();
215 virtual ~CFX_RenderDevice(); 215 virtual ~CFX_RenderDevice();
216 216
217 #ifdef _SKIA_SUPPORT_
218 void Flush();
Lei Zhang 2016/07/21 22:58:51 Combine with line 387?
Wei Li 2016/07/22 03:55:20 Done.
219 #endif
217 // Take ownership of |pDriver|. 220 // Take ownership of |pDriver|.
218 void SetDeviceDriver(std::unique_ptr<IFX_RenderDeviceDriver> pDriver); 221 void SetDeviceDriver(std::unique_ptr<IFX_RenderDeviceDriver> pDriver);
219 IFX_RenderDeviceDriver* GetDeviceDriver() const { 222 IFX_RenderDeviceDriver* GetDeviceDriver() const {
220 return m_pDeviceDriver.get(); 223 return m_pDeviceDriver.get();
221 } 224 }
222 225
223 FX_BOOL StartRendering(); 226 FX_BOOL StartRendering();
224 void EndRendering(); 227 void EndRendering();
225 void SaveState(); 228 void SaveState();
226 void RestoreState(bool bKeepSaved); 229 void RestoreState(bool bKeepSaved);
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 bool AttachRecorder(SkPictureRecorder* recorder); 426 bool AttachRecorder(SkPictureRecorder* recorder);
424 SkPictureRecorder* CreateRecorder(int size_x, int size_y); 427 SkPictureRecorder* CreateRecorder(int size_x, int size_y);
425 void DebugVerifyBitmapIsPreMultiplied() const override; 428 void DebugVerifyBitmapIsPreMultiplied() const override;
426 #endif 429 #endif
427 430
428 protected: 431 protected:
429 bool m_bOwnedBitmap; 432 bool m_bOwnedBitmap;
430 }; 433 };
431 434
432 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ 435 #endif // CORE_FXGE_INCLUDE_FX_GE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698