/external/skia/src/image/ |
D | SkSurface.cpp | 37 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 …]
|
D | SkImage_Base.h | 14 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;
|
D | SkImage_Raster.cpp | 53 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()
|
D | SkSurface_Raster.cpp | 22 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()
|
D | SkImagePriv.h | 18 const SkSurfaceProps*); 30 extern SkImage* SkNewImageFromBitmap(const SkBitmap&, bool canSharePixelRef, const SkSurfaceProps*);
|
D | SkSurface_Gpu.cpp | 91 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target, const SkSurfaceProps* props) { in NewRenderTargetDirect() 100 int sampleCount, const SkSurfaceProps* props) { in NewRenderTarget() 110 const SkSurfaceProps* props) { in NewWrappedRenderTarget()
|
D | SkSurface_Base.h | 17 SkSurface_Base(int width, int height, const SkSurfaceProps*); 18 SkSurface_Base(const SkImageInfo&, const SkSurfaceProps*);
|
D | SkImage_Gpu.h | 45 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) const override;
|
/external/skia/include/core/ |
D | SkSurface.h | 55 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 …]
|
D | SkSurfaceProps.h | 51 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();
|
D | SkImage.h | 24 class SkSurfaceProps; variable 150 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps* = NULL) const;
|
D | SkCanvas.h | 90 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);
|
D | SkImageFilter.h | 20 class SkSurfaceProps; variable 92 virtual const SkSurfaceProps* surfaceProps() const = 0;
|
/external/skia/src/core/ |
D | SkSurfacePriv.h | 13 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()
|
D | SkDeviceImageFilterProxy.h | 18 SkDeviceImageFilterProxy(SkBaseDevice* device, const SkSurfaceProps& props) in SkDeviceImageFilterProxy() 43 const SkSurfaceProps* surfaceProps() const override { in surfaceProps() 49 const SkSurfaceProps fProps;
|
/external/skia/src/gpu/ |
D | SkGpuDevice.h | 41 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;
|
D | SkGpuDevice.cpp | 123 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/ |
D | surface.cpp | 28 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()
|
D | dftext.cpp | 58 SkSurfaceProps props(SkSurfaceProps::kUseDistanceFieldFonts_Flag, in onDraw() 59 SkSurfaceProps::kLegacyFontHost_InitType); in onDraw()
|
/external/skia/dm/ |
D | DMGpuSupport.h | 33 uint32_t flags = useDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; in NewGpuSurface() 34 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); in NewGpuSurface()
|
/external/skia/include/views/ |
D | SkWindow.h | 44 SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; } in getSurfaceProps() 45 void setSurfaceProps(const SkSurfaceProps& props) { in setSurfaceProps() 105 SkSurfaceProps fSurfaceProps;
|
/external/skia/debugger/QT/ |
D | SkGLWidget.cpp | 65 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in createRenderTarget()
|
/external/skia/tests/ |
D | ReadWriteAlphaTest.cpp | 85 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_GPUTEST()
|
D | PremulAlphaRoundTripTest.cpp | 92 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_GPUTEST()
|
D | ImageFilterTest.cpp | 275 … 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);
|