Home
last modified time | relevance | path

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

12

/external/skia/src/image/
DSkSurface.cpp37 SkSurfaceProps::SkSurfaceProps() : fFlags(0), fPixelGeometry(kUnknown_SkPixelGeometry) {} in SkSurfaceProps() function in SkSurfaceProps
39 SkSurfaceProps::SkSurfaceProps(InitType) : fFlags(0), fPixelGeometry(compute_default_geometry()) {} in SkSurfaceProps() function in SkSurfaceProps
41 SkSurfaceProps::SkSurfaceProps(uint32_t flags, InitType) in SkSurfaceProps() function in SkSurfaceProps
46 SkSurfaceProps::SkSurfaceProps(uint32_t flags, SkPixelGeometry pg) in SkSurfaceProps() function in SkSurfaceProps
50 SkSurfaceProps::SkSurfaceProps(const SkSurfaceProps& other) in SkSurfaceProps() function in SkSurfaceProps
57 SkSurface_Base::SkSurface_Base(int width, int height, const SkSurfaceProps* props) in SkSurface_Base()
64 SkSurface_Base::SkSurface_Base(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface_Base()
123 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface()
131 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface()
182 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*) { in NewRenderTargetDirect() argument
[all …]
DSkImage_Base.h14 static SkSurfaceProps copy_or_safe_defaults(const SkSurfaceProps* props) { in copy_or_safe_defaults()
15 return props ? *props : SkSurfaceProps(0, kUnknown_SkPixelGeometry); in copy_or_safe_defaults()
20 SkImage_Base(int width, int height, const SkSurfaceProps* props) in SkImage_Base()
29 void initWithProps(const SkSurfaceProps& props) { in initWithProps()
31 SkSurfaceProps* mutableProps = const_cast<SkSurfaceProps*>(&fProps); in initWithProps()
33 mutableProps->~SkSurfaceProps(); in initWithProps()
34 new (mutableProps) SkSurfaceProps(props); in initWithProps()
37 const SkSurfaceProps& props() const { return fProps; } in props()
39 virtual SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) const = 0;
64 const SkSurfaceProps fProps;
DSkImage_Raster.cpp53 SkImage_Raster(const SkImageInfo&, SkData*, size_t rb, const SkSurfaceProps*);
56 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) const override;
63 const SkSurfaceProps*);
73 SkImage_Raster(const SkBitmap& bm, const SkSurfaceProps* props) in SkImage_Raster()
93 const SkSurfaceProps* props) in SkImage_Raster()
106 size_t rowBytes, const SkSurfaceProps* props) in SkImage_Raster()
121 SkSurface* SkImage_Raster::onNewSurface(const SkImageInfo& info, const SkSurfaceProps& props) const… in onNewSurface()
187 const SkSurfaceProps* props) { in SkNewImageFromPixelRef()
195 const SkSurfaceProps* props) { in SkNewImageFromBitmap()
DSkSurface_Raster.cpp22 const SkSurfaceProps*);
23 SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*);
86 const SkSurfaceProps* props) in SkSurface_Raster()
93 SkSurface_Raster::SkSurface_Raster(SkPixelRef* pr, const SkSurfaceProps* props) in SkSurface_Raster()
148 void* context, const SkSurfaceProps* props) { in NewRasterDirectReleaseProc()
163 const SkSurfaceProps* props) { in NewRasterDirect()
167 SkSurface* SkSurface::NewRaster(const SkImageInfo& info, const SkSurfaceProps* props) { in NewRaster()
DSkImagePriv.h18 const SkSurfaceProps*);
30 extern SkImage* SkNewImageFromBitmap(const SkBitmap&, bool canSharePixelRef, const SkSurfaceProps*);
DSkSurface_Gpu.cpp91 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target, const SkSurfaceProps* props) { in NewRenderTargetDirect()
100 int sampleCount, const SkSurfaceProps* props) { in NewRenderTarget()
110 const SkSurfaceProps* props) { in NewWrappedRenderTarget()
DSkSurface_Base.h17 SkSurface_Base(int width, int height, const SkSurfaceProps*);
18 SkSurface_Base(const SkImageInfo&, const SkSurfaceProps*);
DSkImage_Gpu.h45 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) const override;
/external/skia/include/core/
DSkSurface.h55 const SkSurfaceProps* = NULL);
63 void* context, const SkSurfaceProps* = NULL);
72 static SkSurface* NewRaster(const SkImageInfo&, const SkSurfaceProps* = NULL);
80 static SkSurface* NewRasterPMColor(int width, int height, const SkSurfaceProps* props = NULL) {
84 … static SkSurface* NewRasterN32Premul(int width, int height, const SkSurfaceProps* props = NULL) {
91 static SkSurface* NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*);
102 const SkSurfaceProps*);
109 const SkSurfaceProps* = NULL);
225 const SkSurfaceProps& props() const { return fProps; } in props()
228 SkSurface(int width, int height, const SkSurfaceProps*);
[all …]
DSkSurfaceProps.h51 class SK_API SkSurfaceProps {
58 SkSurfaceProps(uint32_t flags, SkPixelGeometry);
63 SkSurfaceProps(InitType);
64 SkSurfaceProps(uint32_t flags, InitType);
65 SkSurfaceProps(const SkSurfaceProps& other);
75 SkSurfaceProps();
DSkImage.h24 class SkSurfaceProps; variable
150 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps* = NULL) const;
DSkCanvas.h90 SkCanvas(int width, int height, const SkSurfaceProps* = NULL);
109 SkCanvas(const SkBitmap& bitmap, const SkSurfaceProps& props);
180 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps* = NULL);
1156 virtual SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&);
1269 const SkSurfaceProps fProps;
1304 SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags);
DSkImageFilter.h20 class SkSurfaceProps; variable
92 virtual const SkSurfaceProps* surfaceProps() const = 0;
/external/skia/src/core/
DSkSurfacePriv.h13 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { in SkSurfacePropsCopyOrDefault()
17 return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType); in SkSurfacePropsCopyOrDefault()
22 return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType).pixelGeometry(); in SkSurfacePropsDefaultPixelGeometry()
DSkDeviceImageFilterProxy.h18 SkDeviceImageFilterProxy(SkBaseDevice* device, const SkSurfaceProps& props) in SkDeviceImageFilterProxy()
43 const SkSurfaceProps* surfaceProps() const override { in surfaceProps()
49 const SkSurfaceProps fProps;
/external/skia/src/gpu/
DSkGpuDevice.h41 static SkGpuDevice* Create(GrRenderTarget* target, const SkSurfaceProps*, unsigned flags = 0);
48 const SkSurfaceProps*, unsigned flags = 0);
56 int sampleCount, const SkSurfaceProps*, unsigned flags = 0);
60 SkGpuDevice* cloneDevice(const SkSurfaceProps& props) { in cloneDevice()
80 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps()
154 SkSurfaceProps fSurfaceProps;
160 SkGpuDevice(GrRenderTarget*, int width, int height, const SkSurfaceProps*, unsigned flags);
164 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
DSkGpuDevice.cpp123 SkGpuDevice* SkGpuDevice::Create(GrRenderTarget* rt, const SkSurfaceProps* props, unsigned flags) { in Create()
128 const SkSurfaceProps* props, unsigned flags) { in Create()
135 static SkDeviceProperties surfaceprops_to_deviceprops(const SkSurfaceProps* props) { in surfaceprops_to_deviceprops()
143 static SkSurfaceProps copy_or_default_props(const SkSurfaceProps* props) { in copy_or_default_props()
145 return SkSurfaceProps(*props); in copy_or_default_props()
147 return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType); in copy_or_default_props()
152 const SkSurfaceProps* props, unsigned flags) in SkGpuDevice()
214 const SkSurfaceProps* props, unsigned flags) { in Create()
1512 SkDeviceImageFilterProxy proxy(this, SkSurfaceProps(0, getLeakyProperties().pixelGeometry())); in filterTexture()
1976 SkSurfaceProps props(fSurfaceProps.flags(), cinfo.fPixelGeometry); in onCreateDevice()
[all …]
/external/skia/gm/
Dsurface.cpp28 flags |= SkSurfaceProps::kDisallowAntiAlias_Flag; in make_surface()
31 flags |= SkSurfaceProps::kDisallowDither_Flag; in make_surface()
34 SkSurfaceProps props(flags, geo); in make_surface()
111 static bool equal(const SkSurfaceProps& a, const SkSurfaceProps& b) { in DEF_GM()
Ddftext.cpp58 SkSurfaceProps props(SkSurfaceProps::kUseDistanceFieldFonts_Flag, in onDraw()
59 SkSurfaceProps::kLegacyFontHost_InitType); in onDraw()
/external/skia/dm/
DDMGpuSupport.h33 uint32_t flags = useDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; in NewGpuSurface()
34 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); in NewGpuSurface()
/external/skia/include/views/
DSkWindow.h44 SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; } in getSurfaceProps()
45 void setSurfaceProps(const SkSurfaceProps& props) { in setSurfaceProps()
105 SkSurfaceProps fSurfaceProps;
/external/skia/debugger/QT/
DSkGLWidget.cpp65 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in createRenderTarget()
/external/skia/tests/
DReadWriteAlphaTest.cpp85 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_GPUTEST()
DPremulAlphaRoundTripTest.cpp92 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_GPUTEST()
DImageFilterTest.cpp275 … SkDeviceImageFilterProxy proxy(device, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); in test_crop_rects()
355 … SkDeviceImageFilterProxy proxy(device, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); in test_negative_blur_sigma()
883 … SkDeviceImageFilterProxy proxy(&device, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); in DEF_TEST()
1126 … SkDeviceImageFilterProxy proxy(&device, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); in DEF_TEST()
1140 const SkSurfaceProps gProps = SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType);

12