Home
last modified time | relevance | path

Searched refs:SkSurfaceProps (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/skia/include/core/
DSkSurfaceProps.h51 class SK_API SkSurfaceProps {
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& that) const {
83 bool operator!=(const SkSurfaceProps& that) const {
DSkSurface.h75 const SkSurfaceProps* surfaceProps = nullptr);
78 const SkSurfaceProps* props = nullptr) {
109 void* context, const SkSurfaceProps* surfaceProps = nullptr);
132 const SkSurfaceProps* surfaceProps);
151 const SkSurfaceProps* props = nullptr) {
174 const SkSurfaceProps* surfaceProps = nullptr);
217 const SkSurfaceProps* surfaceProps,
251 const SkSurfaceProps* surfaceProps,
284 const SkSurfaceProps* surfaceProps,
310 const SkSurfaceProps* surfaceProps) { in MakeRenderTarget()
[all …]
DSkSurfaceCharacterization.h115 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/
DSkSpecialImage.h53 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;
DSkSpecialSurface.h35 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;
DSkBitmapDevice.h56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
59 static SkBitmapDevice* Create(const SkImageInfo&, const SkSurfaceProps&,
63 static SkBitmapDevice* Create(const SkImageInfo& info, const SkSurfaceProps& props) { in Create()
153 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override;
170 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
181 const SkSurfaceProps& operator()() const { return *fSurfaceProps; } in operator()
184 SkTLazy<SkSurfaceProps> fLazy;
185 SkSurfaceProps const * const fSurfaceProps;
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()
DSkStrikeSpec.h27 class SkSurfaceProps; variable
44 const SkSurfaceProps& surfaceProps,
52 const SkSurfaceProps& surfaceProps,
58 const SkSurfaceProps& surfaceProps,
77 const SkSurfaceProps& surfaceProps,
104 const SkSurfaceProps& surfaceProps,
DSkGlyphRunPainter.h56 SkGlyphRunListPainter(const SkSurfaceProps& props,
64 SkGlyphRunListPainter(const SkSurfaceProps&, const GrColorInfo&);
99 SkGlyphRunListPainter(const SkSurfaceProps& props, SkColorType colorType,
114 const SkSurfaceProps fDeviceProps;
116 const SkSurfaceProps fBitmapFallbackProps;
DSkSurfacePriv.h15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { in SkSurfacePropsCopyOrDefault()
16 return props ? *props : SkSurfaceProps(); in SkSurfacePropsCopyOrDefault()
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 { in onMakeSurface()
271 const SkSurfaceProps& props) { in MakeFromRaster()
294 const SkSurfaceProps& props) { in CopyFromRaster()
336 SkAlphaType at, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps& props) in SkSpecialImage_Gpu()
[all …]
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/image/
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&) = default;
37 SkSurface_Base::SkSurface_Base(int width, int height, const SkSurfaceProps* props) in SkSurface_Base()
41 SkSurface_Base::SkSurface_Base(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface_Base()
172 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface()
180 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface()
382 int, GrSurfaceOrigin, const SkSurfaceProps*, bool) { in MakeRenderTarget() argument
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/tools/gpu/
DBackendSurfaceFactory.h18 class SkSurfaceProps; variable
28 const SkSurfaceProps* = nullptr);
38 const SkSurfaceProps* = nullptr);
46 const SkSurfaceProps* = nullptr);
55 const SkSurfaceProps* = nullptr);
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/gpu/vk/
DGrVkSecondaryCBDrawContext.h23 class SkSurfaceProps; variable
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/tests/
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()
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()
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/
DSurfaceDrawContext_v1.h69 const SkSurfaceProps&,
78 const SkSurfaceProps&,
101 const SkSurfaceProps&);
113 const SkSurfaceProps&,
128 const SkSurfaceProps&,
136 const SkSurfaceProps&,
598 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps()
603 return fSurfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag; in alwaysAntialias()
701 const SkSurfaceProps fSurfaceProps;
DDevice_v1.h46 const SkSurfaceProps&) override;
74 const SkSurfaceProps&,
91 const SkSurfaceProps&,
194 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override;
/third_party/skia/src/gpu/
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/docs/examples/
DCanvas_getProps.cpp9 SkCanvas canvas(bitmap, SkSurfaceProps(0, kRGB_V_SkPixelGeometry)); in draw()
10 SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); in draw()
/third_party/skia/gm/
Ddftext_blob_persp.cpp69 SkSurfaceProps inputProps; in onDraw()
71 SkSurfaceProps props(SkSurfaceProps::kUseDeviceIndependentFonts_Flag | inputProps.flags(), in onDraw()

123456