Home
last modified time | relevance | path

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

1234

/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()
135 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface()
143 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface()
210 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*) { in NewRenderTargetDirect() argument
[all …]
DSkSurface_Raster.cpp22 const SkSurfaceProps*);
23 SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*);
91 const SkSurfaceProps* props) in SkSurface_Raster()
99 SkSurface_Raster::SkSurface_Raster(SkPixelRef* pr, const SkSurfaceProps* props) in SkSurface_Raster()
174 void* context, const SkSurfaceProps* props) { in NewRasterDirectReleaseProc()
189 const SkSurfaceProps* props) { in NewRasterDirect()
194 const SkSurfaceProps* props) { in NewRaster()
209 SkSurface* SkSurface::NewRaster(const SkImageInfo& info, const SkSurfaceProps* props) { in NewRaster()
DSkSurface_Gpu.cpp135 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target, const SkSurfaceProps* props) { in NewRenderTargetDirect()
145 int sampleCount, const SkSurfaceProps* props, in NewRenderTarget()
157 const SkSurfaceProps* props) { in NewFromBackendTexture()
179 const SkSurfaceProps* props) { in NewFromBackendRenderTarget()
197 const SkSurfaceProps* props) { in NewFromBackendTextureAsRenderTarget()
/external/skia/include/core/
DSkSurface.h45 const SkSurfaceProps* = NULL);
53 void* context, const SkSurfaceProps* = NULL);
64 static SkSurface* NewRaster(const SkImageInfo&, size_t rowBytes, const SkSurfaceProps*);
69 static SkSurface* NewRaster(const SkImageInfo&, const SkSurfaceProps* = NULL);
76 … static SkSurface* NewRasterN32Premul(int width, int height, const SkSurfaceProps* props = NULL) {
83 static SkSurface* NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*);
96 const SkSurfaceProps*);
99 const SkSurfaceProps* props) { in NewWrappedRenderTarget()
109 const SkSurfaceProps*);
120 GrContext*, const GrBackendTextureDesc&, const SkSurfaceProps*);
[all …]
DSkSurfaceProps.h51 class SK_API SkSurfaceProps {
61 SkSurfaceProps(uint32_t flags, SkPixelGeometry);
66 SkSurfaceProps(InitType);
67 SkSurfaceProps(uint32_t flags, InitType);
68 SkSurfaceProps(const SkSurfaceProps& other);
80 SkSurfaceProps();
DSkBitmapDevice.h57 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps);
59 static SkBitmapDevice* Create(const SkImageInfo&, const SkSurfaceProps&);
163 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
/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()
DSkSpecialSurface.h30 const SkSurfaceProps& props() const { return fProps; } in props()
58 const SkSurfaceProps* = nullptr);
66 const SkSurfaceProps* = nullptr);
73 const SkSurfaceProps* = nullptr);
83 const SkImageInfo&, const SkSurfaceProps* = nullptr);
86 SkSpecialSurface(SkImageFilter::Proxy*, const SkIRect& subset, const SkSurfaceProps*);
96 const SkSurfaceProps fProps;
DSkSpecialSurface.cpp17 const SkIRect& subset, const SkSurfaceProps* props) in SkSpecialSurface_Base()
46 const SkSurfaceProps* props) in SkSpecialSurface()
72 const SkSurfaceProps* props) in SkSpecialSurface_Raster()
96 const SkSurfaceProps* props) { in NewFromBitmap()
102 const SkSurfaceProps* props) { in NewRaster()
123 const SkSurfaceProps* props) in SkSpecialSurface_Gpu()
154 const SkSurfaceProps* props) { in NewFromTexture()
165 const SkSurfaceProps* props) { in NewRenderTarget()
185 const SkSurfaceProps*) { in NewFromTexture() argument
192 const SkSurfaceProps* props) { in NewRenderTarget()
DSkBitmapDevice.cpp71 : INHERITED(SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)) in SkBitmapDevice()
77 return Create(info, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); in Create()
80 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps) in SkBitmapDevice()
87 const SkSurfaceProps& surfaceProps) { in Create()
135 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice()
375 SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { in newSurface()
/external/skia/src/gpu/text/
DGrTextUtils.h28 class SkSurfaceProps; variable
39 GrBatchFontCache*, const SkSurfaceProps&,
46 GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&,
54 const SkSurfaceProps& props, const GrShaderCaps& caps);
57 GrBatchFontCache*, const SkSurfaceProps&,
64 GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&,
78 const SkSurfaceProps& props,
88 static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const SkPaint& paint);
DGrAtlasTextContext.h34 bool canDraw(const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&,
37 const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[],
41 const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&,
46 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*,
60 const SkSurfaceProps&,
69 const SkSurfaceProps&,
76 const SkSurfaceProps&,
DGrStencilAndCoverTextContext.h23 class SkSurfaceProps; variable
35 const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[],
40 const SkMatrix& viewMatrix, const SkSurfaceProps&,
45 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*,
63 const SkSurfaceProps&,
82 const SkSurfaceProps&,
DGrAtlasTextContext.cpp29 const SkSurfaceProps& props, in canDraw()
72 const SkSurfaceProps& props, const SkTextBlob* blob, in drawTextBlob()
167 const SkSurfaceProps& props, in RegenerateTextBlob()
258 const SkSurfaceProps& props, in CreateDrawTextBlob()
281 const SkMatrix& viewMatrix, const SkSurfaceProps& props, in CreateDrawPosTextBlob()
307 const SkSurfaceProps& props, in drawText()
334 const SkSurfaceProps& props, in drawPosText()
366 static SkSurfaceProps gSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType); in DRAW_BATCH_TEST_DEFINE()
DGrAtlasTextBlob.h150 const SkSurfaceProps& props,
183 const SkSurfaceProps& props,
196 const SkSurfaceProps& props,
278 const SkPaint& skPaint, const SkSurfaceProps& props,
293 const SkPaint& skPaint, const SkSurfaceProps& props,
304 const SkSurfaceProps& props,
502 const SkPaint& skPaint, const SkSurfaceProps& props,
/external/skia/tools/VisualBench/
DWrappedBenchmark.h23 explicit WrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench) in WrappedBenchmark()
27 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps()
70 SkSurfaceProps fSurfaceProps;
78 explicit CpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench) in CpuWrappedBenchmark()
100 explicit GpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench, in GpuWrappedBenchmark()
DVisualBench.cpp49 const SkSurfaceProps& props(INHERITED::getSurfaceProps()); in VisualBench()
50 uint32_t flags = SkSurfaceProps::kUseDeviceIndependentFonts_Flag | props.flags(); in VisualBench()
51 INHERITED::setSurfaceProps(SkSurfaceProps(flags, props.pixelGeometry())); in VisualBench()
80 SkSurfaceProps props(INHERITED::getSurfaceProps()); in createSurface()
DVisualBenchmarkStream.h21 VisualBenchmarkStream(const SkSurfaceProps&, bool justSKP = false);
31 SkSurfaceProps fSurfaceProps;
/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()
112 static bool equal(const SkSurfaceProps& a, const SkSurfaceProps& b) { in DEF_GM()
/external/skia/dm/
DDMGpuSupport.h37 uint32_t flags = useDIText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0; in NewGpuSurface()
38 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); in NewGpuSurface()
/external/skia/tests/
DPremulAlphaRoundTripTest.cpp103 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_TEST()
110 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextBlobCacheTest.cpp60 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); in text_blob_cache_inner()
135 SkSurfaceProps propsNoLCD(0, kUnknown_SkPixelGeometry); in text_blob_cache_inner()
/external/skia/src/gpu/
DSkGpuDevice.h41 static SkGpuDevice* Create(GrRenderTarget* target, const SkSurfaceProps*, InitContents);
48 const SkSurfaceProps*, InitContents);
56 int sampleCount, const SkSurfaceProps*,
61 SkGpuDevice* cloneDevice(const SkSurfaceProps& props) { in cloneDevice()
179 SkGpuDevice(GrRenderTarget*, int width, int height, const SkSurfaceProps*, unsigned flags);
183 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
/external/skia/include/views/
DSkWindow.h39 SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; } in getSurfaceProps()
40 void setSurfaceProps(const SkSurfaceProps& props) { in setSurfaceProps()
100 SkSurfaceProps fSurfaceProps;
/external/skia/include/gpu/
DGrDrawContext.h270 const SkSurfaceProps* surfaceProps, GrAuditTrail*, GrSingleOwner*);
274 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps()
305 SkSurfaceProps fSurfaceProps;

1234