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

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

Issue 2025043002: remove some calls to dib (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 6 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
« no previous file with comments | « core/fxge/dib/fx_dib_main.cpp ('k') | core/fxge/skia/fx_skia_device.h » ('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 // 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 "core/fxge/include/fx_dib.h" 10 #include "core/fxge/include/fx_dib.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 CFX_DIBitmap* pOriDevice, 405 CFX_DIBitmap* pOriDevice,
406 bool bGroupKnockout); 406 bool bGroupKnockout);
407 bool Create(int width, 407 bool Create(int width,
408 int height, 408 int height,
409 FXDIB_Format format, 409 FXDIB_Format format,
410 CFX_DIBitmap* pOriDevice); 410 CFX_DIBitmap* pOriDevice);
411 411
412 #ifdef _SKIA_SUPPORT_ 412 #ifdef _SKIA_SUPPORT_
413 bool AttachRecorder(SkPictureRecorder* recorder); 413 bool AttachRecorder(SkPictureRecorder* recorder);
414 SkPictureRecorder* CreateRecorder(int size_x, int size_y); 414 SkPictureRecorder* CreateRecorder(int size_x, int size_y);
415 void PreMultiply();
415 #endif 416 #endif
416 417
417 protected: 418 protected:
418 bool m_bOwnedBitmap; 419 bool m_bOwnedBitmap;
419 }; 420 };
420 421
421 class IFX_RenderDeviceDriver { 422 class IFX_RenderDeviceDriver {
422 public: 423 public:
423 static IFX_RenderDeviceDriver* CreateFxgeDriver( 424 static IFX_RenderDeviceDriver* CreateFxgeDriver(
424 CFX_DIBitmap* pBitmap, 425 CFX_DIBitmap* pBitmap,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 FX_BOOL m_bCmykOutput; 651 FX_BOOL m_bCmykOutput;
651 FX_BOOL m_bColorSet; 652 FX_BOOL m_bColorSet;
652 uint32_t m_LastColor; 653 uint32_t m_LastColor;
653 FX_RECT m_ClipBox; 654 FX_RECT m_ClipBox;
654 CFX_ArrayTemplate<CPSFont*> m_PSFontList; 655 CFX_ArrayTemplate<CPSFont*> m_PSFontList;
655 CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack; 656 CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack;
656 FX_BOOL m_bInited; 657 FX_BOOL m_bInited;
657 }; 658 };
658 659
659 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ 660 #endif // CORE_FXGE_INCLUDE_FX_GE_H_
OLDNEW
« no previous file with comments | « core/fxge/dib/fx_dib_main.cpp ('k') | core/fxge/skia/fx_skia_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698