Home
last modified time | relevance | path

Searched refs:SkSurfaceProps (Results 1 - 25 of 136) sorted by relevance

123456

/third_party/skia/include/core/
H A DSkSurfaceProps.h51 class SK_API SkSurfaceProps { class
62 SkSurfaceProps();
63 SkSurfaceProps(uint32_t flags, SkPixelGeometry);
65 SkSurfaceProps(const SkSurfaceProps&);
66 SkSurfaceProps& operator=(const SkSurfaceProps&);
68 SkSurfaceProps cloneWithPixelGeometry(SkPixelGeometry newPixelGeometry) const { in cloneWithPixelGeometry()
69 return SkSurfaceProps(fFlags, newPixelGeometry); in cloneWithPixelGeometry()
79 bool operator==(const SkSurfaceProps
[all...]
H A DSkSurface.h14 #include "include/core/SkSurfaceProps.h"
75 const SkSurfaceProps* surfaceProps = nullptr);
78 const SkSurfaceProps* props = nullptr) { in MakeRasterDirect()
109 void* context, const SkSurfaceProps* surfaceProps = nullptr);
132 const SkSurfaceProps* surfaceProps);
151 const SkSurfaceProps* props = nullptr) { in MakeRaster()
174 const SkSurfaceProps* surfaceProps = nullptr);
217 const SkSurfaceProps* surfaceProps,
251 const SkSurfaceProps* surfaceProps,
284 const SkSurfaceProps* surfaceProp
[all...]
H A DSkSurfaceCharacterization.h15 #include "include/core/SkSurfaceProps.h"
115 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps()
141 const SkSurfaceProps& surfaceProps) in SkSurfaceCharacterization()
155 if (fSurfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag) { in SkSurfaceCharacterization()
174 const SkSurfaceProps& surfaceProps) { in set()
175 if (surfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag) { in set()
210 SkSurfaceProps fSurfaceProps;
255 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps()
258 SkSurfaceProps fSurfaceProps;
/third_party/skia/src/core/
H A DSkSpecialSurface.h13 #include "include/core/SkSurfaceProps.h"
35 const SkSurfaceProps& props() const { return fProps; } in props()
65 const SkSurfaceProps&);
72 const SkSurfaceProps&);
82 const SkSurfaceProps&);
85 SkSpecialSurface(const SkIRect& subset, const SkSurfaceProps&);
92 const SkSurfaceProps fProps;
H A DSkSpecialImage.h14 #include "include/core/SkSurfaceProps.h"
53 const SkSurfaceProps& props() const { return fProps; } in props()
76 const SkSurfaceProps&);
79 const SkSurfaceProps&);
82 const SkSurfaceProps&);
90 const SkSurfaceProps&,
101 const SkSurfaceProps&) const;
159 SkSpecialImage(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps&);
162 const SkSurfaceProps fProps;
H A DSkBitmapDevice.h19 #include "include/core/SkSurfaceProps.h"
47 * default SkSurfaceProps (i.e., kLegacyFontHost_InitType-style).
57 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
60 static SkBitmapDevice* Create(const SkImageInfo&, const SkSurfaceProps&,
64 static SkBitmapDevice* Create(const SkImageInfo& info, const SkSurfaceProps& props) { in Create()
156 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override;
173 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
184 const SkSurfaceProps& operator()() const { return *fSurfaceProps; } in operator ()()
187 SkTLazy<SkSurfaceProps> fLazy;
188 SkSurfaceProps cons
[all...]
H A DSkStrikeSpec.h27 class SkSurfaceProps;
44 const SkSurfaceProps& surfaceProps,
52 const SkSurfaceProps& surfaceProps,
58 const SkSurfaceProps& surfaceProps,
77 const SkSurfaceProps& surfaceProps,
104 const SkSurfaceProps& surfaceProps,
H A DSkSpecialSurface.cpp19 SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps& props) in SkSpecialSurface_Base()
45 const SkSurfaceProps& props) in SkSpecialSurface()
70 const SkSurfaceProps& props) in SkSpecialSurface_Raster()
96 const SkSurfaceProps& props) { in MakeFromBitmap()
104 const SkSurfaceProps& props) { in MakeRaster()
160 const SkSurfaceProps& props) { in MakeRenderTarget()
H A DSkSpecialImage.cpp37 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps& props) in SkSpecialImage_Base()
61 SkAlphaType at, const SkSurfaceProps&) const = 0;
82 const SkSurfaceProps& props) in SkSpecialImage()
117 SkAlphaType at, const SkSurfaceProps& props) const { in makeSurface()
158 const SkSurfaceProps& props) { in MakeFromImage()
186 SkSpecialImage_Raster(const SkIRect& subset, const SkBitmap& bm, const SkSurfaceProps& props) in SkSpecialImage_Raster()
229 const SkSurfaceProps& props) const override {
271 const SkSurfaceProps& props) { in MakeFromRaster()
294 const SkSurfaceProps& props) { in CopyFromRaster()
336 SkAlphaType at, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps in SkSpecialImage_Gpu()
[all...]
H A DSkSurfacePriv.h11 #include "include/core/SkSurfaceProps.h"
15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { in SkSurfacePropsCopyOrDefault()
16 return props ? *props : SkSurfaceProps(); in SkSurfacePropsCopyOrDefault()
H A DSkGlyphRunPainter.h11 #include "include/core/SkSurfaceProps.h"
62 SkGlyphRunListPainter(const SkSurfaceProps& props,
70 SkGlyphRunListPainter(const SkSurfaceProps&, const GrColorInfo&);
105 SkGlyphRunListPainter(const SkSurfaceProps& props, SkColorType colorType,
120 const SkSurfaceProps fDeviceProps;
122 const SkSurfaceProps fBitmapFallbackProps;
H A DSkStrikeSpec.cpp31 const SkSurfaceProps& surfaceProps, in MakeMask()
40 const SkSurfaceProps& surfaceProps, in MakePath()
61 const SkSurfaceProps& surfaceProps, in MakeSourceFallback()
106 SkSurfaceProps(), kFakeGammaAndBoostContrast, SkMatrix::I()), in MakeCanonicalized()
117 font, setupPaint, SkSurfaceProps(), kFakeGammaAndBoostContrast, SkMatrix::I()); in MakeWithNoDevice()
168 SkSurfaceProps(0, kUnknown_SkPixelGeometry), in MakePDFVector()
176 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT()
201 const SkSurfaceProps& surfaceProps, in SkStrikeSpec()
/third_party/skia/src/gpu/vk/
H A DGrVkSecondaryCBDrawContext.h12 #include "include/core/SkSurfaceProps.h"
23 class SkSurfaceProps;
63 const SkSurfaceProps* props);
103 const SkSurfaceProps& props() const { return fProps; } in props()
117 explicit GrVkSecondaryCBDrawContext(sk_sp<skgpu::BaseDevice>, const SkSurfaceProps*);
121 const SkSurfaceProps fProps;
/third_party/skia/tools/gpu/
H A DBackendSurfaceFactory.h18 class SkSurfaceProps;
28 const SkSurfaceProps* = nullptr);
38 const SkSurfaceProps* = nullptr);
46 const SkSurfaceProps* = nullptr);
55 const SkSurfaceProps* = nullptr);
H A DBackendSurfaceFactory.cpp24 const SkSurfaceProps* props) { in MakeBackendTextureSurface()
57 const SkSurfaceProps* props) { in MakeBackendTextureSurface()
67 const SkSurfaceProps* props) { in MakeBackendRenderTargetSurface()
102 const SkSurfaceProps* props) { in MakeBackendRenderTargetSurface()
/third_party/skia/src/image/
H A DSkSurface.cpp26 SkSurfaceProps::SkSurfaceProps() : fFlags(0), fPixelGeometry(kUnknown_SkPixelGeometry) {} in SkSurfaceProps() function in SkSurfaceProps
28 SkSurfaceProps::SkSurfaceProps(uint32_t flags, SkPixelGeometry pg) in SkSurfaceProps() function in SkSurfaceProps
32 SkSurfaceProps::SkSurfaceProps(const SkSurfaceProps&) = default;
33 SkSurfaceProps& SkSurfaceProps::operator=(const SkSurfaceProps
381 MakeRenderTarget(GrRecordingContext*, SkBudgeted, const SkImageInfo&, int, GrSurfaceOrigin, const SkSurfaceProps*, bool) MakeRenderTarget() argument
[all...]
H A DSkSurface_Raster.cpp19 const SkSurfaceProps*);
20 SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef>, const SkSurfaceProps*);
63 const SkSurfaceProps* props) in SkSurface_Raster()
71 const SkSurfaceProps* props) in SkSurface_Raster()
160 const SkSurfaceProps* props) { in MakeRasterDirectReleaseProc()
175 const SkSurfaceProps* props) { in MakeRasterDirect()
180 const SkSurfaceProps* props) { in MakeRaster()
196 const SkSurfaceProps* surfaceProps) { in MakeRasterN32Premul()
/third_party/skia/tests/
H A DSpecialImageTest.cpp90 kPremul_SkAlphaType, SkSurfaceProps())); in test_image()
143 bm, SkSurfaceProps())); in DEF_TEST()
149 SkSurfaceProps())); in DEF_TEST()
168 SkSurfaceProps())); in test_specialimage_image()
174 SkSurfaceProps())); in test_specialimage_image()
203 SkSurfaceProps()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 SkSurfaceProps()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DSpecialSurfaceTest.cpp60 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeRaster(info, SkSurfaceProps())); in DEF_TEST()
72 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm, SkSurfaceProps())); in DEF_TEST()
90 auto surf(SkSpecialSurface::MakeRenderTarget(dContext, ii, SkSurfaceProps())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DImageFilterCacheTest.cpp157 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromRaster(full, srcBM, SkSurfaceProps())); in DEF_TEST()
162 SkSurfaceProps())); in DEF_TEST()
178 SkSurfaceProps())); in test_image_backed()
183 SkSurfaceProps())); in test_image_backed()
269 SkSurfaceProps())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
278 SkSurfaceProps())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext_v1.h16 #include "include/core/SkSurfaceProps.h"
70 const SkSurfaceProps&,
79 const SkSurfaceProps&,
102 const SkSurfaceProps&);
114 const SkSurfaceProps&,
129 const SkSurfaceProps&,
137 const SkSurfaceProps&,
599 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps()
604 return fSurfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag; in alwaysAntialias()
704 const SkSurfaceProps fSurfaceProp
[all...]
/third_party/skia/docs/examples/
H A DCanvas_getProps.cpp9 SkCanvas canvas(bitmap, SkSurfaceProps(0, kRGB_V_SkPixelGeometry)); in REG_FIDDLE()
10 SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); in REG_FIDDLE()
/third_party/skia/src/gpu/
H A DGrRecordingContextPriv.cpp30 const SkSurfaceProps& props, in createDevice()
47 const SkSurfaceProps& props, in createDevice()
99 SkSurfaceProps()); in makeSC()
167 SkSurfaceProps(), in makeSFC()
235 SkSurfaceProps()); in makeSFC()
280 SkSurfaceProps(), in makeSFCWithFallback()
323 SkSurfaceProps(), in makeSFCFromBackendTexture()
/third_party/skia/gm/
H A Ddftext_blob_persp.cpp22 #include "include/core/SkSurfaceProps.h"
69 SkSurfaceProps inputProps;
71 SkSurfaceProps props(SkSurfaceProps::kUseDeviceIndependentFonts_Flag | inputProps.flags(),
H A Dtextblobmixedsizes.cpp24 #include "include/core/SkSurfaceProps.h"
113 SkSurfaceProps inputProps;
115 SkSurfaceProps props(
116 SkSurfaceProps::kUseDeviceIndependentFonts_Flag | inputProps.flags(),

Completed in 11 milliseconds

123456