Home
last modified time | relevance | path

Searched refs:surfaceProps (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/tools/VisualBench/
DWrappedBenchmark.h23 explicit WrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench) in WrappedBenchmark() argument
24 : fSurfaceProps(surfaceProps) in WrappedBenchmark()
27 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps() function
78 explicit CpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench) in CpuWrappedBenchmark() argument
79 : INHERITED(surfaceProps, bench) {} in CpuWrappedBenchmark()
83 fOffScreen.reset(SkSurface::NewRaster(canvas->imageInfo(), &this->surfaceProps())); in setupOffScreen()
100 explicit GpuWrappedBenchmark(const SkSurfaceProps& surfaceProps, Benchmark* bench, in GpuWrappedBenchmark() argument
102 : INHERITED(surfaceProps, bench) in GpuWrappedBenchmark()
111 &this->surfaceProps())); in setupOffScreen()
DVisualBenchmarkStream.cpp76 VisualBenchmarkStream::VisualBenchmarkStream(const SkSurfaceProps& surfaceProps, bool justSKP) in VisualBenchmarkStream() argument
77 : fSurfaceProps(surfaceProps) in VisualBenchmarkStream()
/external/skia/src/gpu/
DGrDrawingManager.cpp163 const SkSurfaceProps* surfaceProps) { in drawContext() argument
170 if (surfaceProps) { in drawContext()
171 useDIF = surfaceProps->isUseDeviceIndependentFonts(); in drawContext()
178 return new GrPathRenderingDrawContext(fContext, this, rt, surfaceProps, in drawContext()
183 return new GrDrawContext(fContext, this, rt, surfaceProps, fContext->getAuditTrail(), in drawContext()
DGrPathRenderingDrawContext.cpp33 skPaint, viewMatrix, this->surfaceProps(), in drawText()
53 grPaint, skPaint, viewMatrix, this->surfaceProps(), in drawPosText()
72 skPaint, viewMatrix, this->surfaceProps(), blob, x, in drawTextBlob()
DGrPathRenderingDrawContext.h30 const SkSurfaceProps* surfaceProps, GrAuditTrail* at, in GrPathRenderingDrawContext() argument
32 : INHERITED(ctx, mgr, rt, surfaceProps, at, so) {} in GrPathRenderingDrawContext()
DGrContext.cpp580 GrDrawContext* GrContext::drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps) { in drawContext() argument
582 return fDrawingManager->drawContext(rt, surfaceProps); in drawContext()
DGrDrawContext.cpp56 const SkSurfaceProps* surfaceProps, in GrDrawContext() argument
63 , fSurfaceProps(SkSurfacePropsCopyOrDefault(surfaceProps)) in GrDrawContext()
/external/skia/src/core/
DSkGlyphCache.h286 const SkSurfaceProps* surfaceProps, in SkAutoGlyphCache() argument
288 : INHERITED(paint.detachCache(surfaceProps, SkPaint::FakeGamma::On, matrix)) in SkAutoGlyphCache()
291 const SkSurfaceProps* surfaceProps, in SkAutoGlyphCache() argument
294 : INHERITED(paint.detachCache(surfaceProps, fakeGamma, matrix)) in SkAutoGlyphCache()
303 const SkSurfaceProps* surfaceProps, in SkAutoGlyphCacheNoGamma() argument
305 : SkAutoGlyphCache(paint, surfaceProps, SkPaint::FakeGamma::Off, matrix) in SkAutoGlyphCacheNoGamma()
DSkBitmapDevice.cpp80 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps) in SkBitmapDevice() argument
81 : INHERITED(surfaceProps) in SkBitmapDevice()
87 const SkSurfaceProps& surfaceProps) { in Create() argument
115 return new SkBitmapDevice(bitmap, surfaceProps); in Create()
135 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice() local
136 return SkBitmapDevice::Create(cinfo.fInfo, surfaceProps); in onCreateDevice()
DSkPaint.cpp1326 const SkSurfaceProps* surfaceProps, in MakeRec() argument
1412 SkPixelGeometry geometry = surfaceProps in MakeRec()
1413 ? surfaceProps->pixelGeometry() in MakeRec()
1588 const SkSurfaceProps* surfaceProps, in fill_out_rec() argument
1594 SkScalerContext::MakeRec(paint, surfaceProps, deviceMatrix, rec); in fill_out_rec()
1684 const SkSurfaceProps& surfaceProps, in getScalerContextDescriptor() argument
1695 &surfaceProps, FakeGamma::On == fakeGamma, deviceMatrix, in getScalerContextDescriptor()
1715 void SkPaint::descriptorProc(const SkSurfaceProps* surfaceProps, in descriptorProc() argument
1728 surfaceProps, FakeGamma::On == fakeGamma, deviceMatrix, in descriptorProc()
1745 SkGlyphCache* SkPaint::detachCache(const SkSurfaceProps* surfaceProps, in detachCache() argument
[all …]
DSkScalerContext.h240 static void MakeRec(const SkPaint&, const SkSurfaceProps* surfaceProps,
DSkDevice.cpp23 SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps) in SkBaseDevice() argument
24 : fSurfaceProps(surfaceProps) in SkBaseDevice()
DSkImageFilter.cpp674 const SkSurfaceProps surfaceProps(fDevice->fSurfaceProps.flags(), in createDevice() local
676 dev = SkBitmapDevice::Create(cinfo.fInfo, surfaceProps); in createDevice()
DSkCanvas.cpp674 SkASSERT(fProps.pixelGeometry() == device->surfaceProps().pixelGeometry()); in init()
700 SkNoPixelsBitmapDevice(const SkIRect& bounds, const SkSurfaceProps& surfaceProps) in SkNoPixelsBitmapDevice() argument
701 : INHERITED(make_nopixels(bounds.width(), bounds.height()), surfaceProps) in SkNoPixelsBitmapDevice()
734 , fProps(device->surfaceProps()) in SkCanvas()
744 , fProps(device->surfaceProps()) in SkCanvas()
1242 const SkSurfaceProps surfaceProps(fProps.flags(), createInfo.fPixelGeometry); in internalSaveLayer() local
1243 newDev = SkBitmapDevice::Create(createInfo.fInfo, surfaceProps); in internalSaveLayer()
/external/skia/gm/
Dcgm.c56 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in sk_test_c_api() local
57 sk_surface_t* surf = sk_surface_new_raster(&info, &surfaceProps); in sk_test_c_api()
/external/skia/tests/
DCTest.cpp62 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
65 &surfaceProps); in test_c()
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/
Dorg_skia_canvasproof_GaneshPictureRenderer.cpp37 SkSurfaceProps surfaceProps(SkSurfaceProps::kUseDeviceIndependentFonts_Flag, in render_picture() local
42 grContext, desc, &surfaceProps)); in render_picture()
/external/skia/include/gpu/
DGrDrawContext.h270 const SkSurfaceProps* surfaceProps, GrAuditTrail*, GrSingleOwner*);
274 const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } in surfaceProps() function
DGrContext.h184 GrDrawContext* drawContext(GrRenderTarget* rt, const SkSurfaceProps* surfaceProps = NULL);
/external/skia/include/core/
DSkPaint.h1079 void getScalerContextDescriptor(SkAutoDescriptor*, const SkSurfaceProps& surfaceProps,
1082 SkGlyphCache* detachCache(const SkSurfaceProps* surfaceProps, FakeGamma fakeGamma,
1085 void descriptorProc(const SkSurfaceProps* surfaceProps, FakeGamma fakeGamma,
DSkBitmapDevice.h57 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps);
DSkDevice.h318 const SkSurfaceProps& surfaceProps() const { in surfaceProps() function
/external/skia/src/gpu/text/
DGrTextUtils.h88 static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const SkPaint& paint);
DGrTextUtils.cpp551 uint32_t GrTextUtils::FilterTextFlags(const SkSurfaceProps& surfaceProps, const SkPaint& paint) { in FilterTextFlags() argument
558 if (kUnknown_SkPixelGeometry == surfaceProps.pixelGeometry() || ShouldDisableLCD(paint)) { in FilterTextFlags()
/external/skia/src/image/
DSkSurface_Gpu.cpp21 : INHERITED(device->width(), device->height(), &device->surfaceProps()) in SkSurface_Gpu()

12