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

1234

/external/skia/src/core/
H A DSkSurfacePriv.h11 #include "SkSurfaceProps.h"
13 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) {
17 return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType);
22 return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType).pixelGeometry();
H A DSkSpecialSurface.h12 #include "SkSurfaceProps.h"
30 const SkSurfaceProps& props() const { return fProps; }
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;
H A DSkSpecialSurface.cpp17 const SkIRect& subset, const SkSurfaceProps* props)
46 const SkSurfaceProps* props)
72 const SkSurfaceProps* props)
96 const SkSurfaceProps* props) {
102 const SkSurfaceProps* props) {
123 const SkSurfaceProps* props)
154 const SkSurfaceProps* props) {
165 const SkSurfaceProps* props) {
185 const SkSurfaceProps*) {
192 const SkSurfaceProps* prop
182 NewFromTexture(SkImageFilter::Proxy* proxy, const SkIRect& subset, GrTexture*, const SkSurfaceProps*) argument
[all...]
H A DSkBitmapDevice.cpp71 : INHERITED(SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType))
77 return Create(info, SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType));
80 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps)
87 const SkSurfaceProps& surfaceProps) {
135 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry);
375 SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) {
/external/skia/include/core/
H A DSkSurface.h13 #include "SkSurfaceProps.h"
45 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) {
109 const SkSurfaceProps*);
[all...]
H A DSkSurfaceProps.h51 class SK_API SkSurfaceProps { class
61 SkSurfaceProps(uint32_t flags, SkPixelGeometry);
66 SkSurfaceProps(InitType);
67 SkSurfaceProps(uint32_t flags, InitType);
68 SkSurfaceProps(const SkSurfaceProps& other);
80 SkSurfaceProps();
H A DSkBitmapDevice.h21 #include "SkSurfaceProps.h"
47 * default SkSurfaceProps (i.e., kLegacyFontHost_InitType-style).
57 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/tools/VisualBench/
H A DVisualBenchmarkStream.h21 VisualBenchmarkStream(const SkSurfaceProps&, bool justSKP = false);
31 SkSurfaceProps fSurfaceProps;
H A DWrappedBenchmark.h23 explicit WrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench)
27 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; }
70 SkSurfaceProps fSurfaceProps;
78 explicit CpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench)
100 explicit GpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench,
H A DVisualBench.cpp49 const SkSurfaceProps& props(INHERITED::getSurfaceProps());
50 uint32_t flags = SkSurfaceProps::kUseDeviceIndependentFonts_Flag | props.flags();
51 INHERITED::setSurfaceProps(SkSurfaceProps(flags, props.pixelGeometry()));
80 SkSurfaceProps props(INHERITED::getSurfaceProps());
/external/skia/src/gpu/text/
H A 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&,
H A DGrTextUtils.h28 class SkSurfaceProps;
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);
H A DGrStencilAndCoverTextContext.h23 class SkSurfaceProps;
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&,
/external/skia/src/image/
H A DSkSurface.cpp37 SkSurfaceProps::SkSurfaceProps() : fFlags(0), fPixelGeometry(kUnknown_SkPixelGeometry) {} function in class:SkSurfaceProps
39 SkSurfaceProps::SkSurfaceProps(InitType) : fFlags(0), fPixelGeometry(compute_default_geometry()) {} function in class:SkSurfaceProps
41 SkSurfaceProps::SkSurfaceProps(uint32_t flags, InitType) function in class:SkSurfaceProps
46 SkSurfaceProps::SkSurfaceProps(uint32_t flags, SkPixelGeometry pg) function in class:SkSurfaceProps
50 SkSurfaceProps::SkSurfaceProps(cons function in class:SkSurfaceProps
210 NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*) argument
214 NewRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&, int, const SkSurfaceProps*, GrTextureStorageAllocator) argument
219 NewFromBackendTexture(GrContext*, const GrBackendTextureDesc&, const SkSurfaceProps*) argument
224 NewFromBackendRenderTarget(GrContext*, const GrBackendRenderTargetDesc&, const SkSurfaceProps*) argument
229 NewFromBackendTextureAsRenderTarget(GrContext*, const GrBackendTextureDesc&, const SkSurfaceProps*) argument
[all...]
H A DSkSurface_Raster.cpp22 const SkSurfaceProps*);
23 SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*);
91 const SkSurfaceProps* props)
99 SkSurface_Raster::SkSurface_Raster(SkPixelRef* pr, const SkSurfaceProps* props)
174 void* context, const SkSurfaceProps* props) {
189 const SkSurfaceProps* props) {
194 const SkSurfaceProps* props) {
209 SkSurface* SkSurface::NewRaster(const SkImageInfo& info, const SkSurfaceProps* props) {
H A DSkSurface_Base.h18 SkSurface_Base(int width, int height, const SkSurfaceProps*);
19 SkSurface_Base(const SkImageInfo&, const SkSurfaceProps*);
H A DSkSurface_Gpu.cpp135 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target, const SkSurfaceProps* props) {
145 int sampleCount, const SkSurfaceProps* props,
157 const SkSurfaceProps* props) {
179 const SkSurfaceProps* props) {
197 const SkSurfaceProps* props) {
/external/skia/dm/
H A DDMGpuSupport.h37 uint32_t flags = useDIText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0;
38 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType);
/external/skia/gm/
H A Dsurface.cpp11 #include "SkSurfaceProps.h"
28 flags |= SkSurfaceProps::kDisallowAntiAlias_Flag;
31 flags |= SkSurfaceProps::kDisallowDither_Flag;
34 SkSurfaceProps props(flags, geo);
112 static bool equal(const SkSurfaceProps& a, const SkSurfaceProps& b) {
H A Dtextblobmixedsizes.cpp100 SkSurfaceProps props(SkSurfaceProps::kUseDeviceIndependentFonts_Flag,
101 SkSurfaceProps::kLegacyFontHost_InitType);
/external/skia/include/views/
H A DSkWindow.h18 #include "SkSurfaceProps.h"
39 SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; }
40 void setSurfaceProps(const SkSurfaceProps& props) {
100 SkSurfaceProps fSurfaceProps;
/external/skia/tests/
H A DPremulAlphaRoundTripTest.cpp103 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
110 SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
H A DTextBlobCacheTest.cpp60 SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType);
135 SkSurfaceProps propsNoLCD(0, kUnknown_SkPixelGeometry);
/external/skia/include/gpu/
H A DGrDrawContext.h14 #include "SkSurfaceProps.h"
270 const SkSurfaceProps* surfaceProps, GrAuditTrail*, GrSingleOwner*);
274 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; }
305 SkSurfaceProps fSurfaceProps;
/external/skia/src/gpu/
H A 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) {
179 SkGpuDevice(GrRenderTarget*, int width, int height, const SkSurfaceProps*, unsigned flags);
183 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;

Completed in 488 milliseconds

1234