Searched refs:newSurface (Results 1 - 25 of 33) sorted by relevance

12

/external/skia/bench/
H A DDeferredSurfaceCopyBench.cpp40 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
42 // newSurface() can return NULL for several reasons, so we need to check
44 SkDebugf("DeferredSurfaceCopyBench newSurface failed, bench results are meaningless\n");
H A DSKPBench.cpp62 *fSurfaces.push() = canvas->newSurface(ii);
/external/skia/gm/
H A Dpeekpixels.cpp37 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
H A Dtextblobgeometrychange.cpp47 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info, &props));
H A Dsurface.cpp136 SkAutoTUnref<SkSurface> surf(canvas->newSurface(info, NULL));
145 SkAutoTUnref<SkSurface> surf2(image->newSurface(info, NULL));
H A Dsrcmode.cpp128 SkSurface* surface = callNewSurface ? canvas->newSurface(info) : NULL;
H A Dimage.cpp226 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
/external/skia/src/image/
H A DSkImage.cpp75 SkSurface* SkImage::newSurface(const SkImageInfo& info, const SkSurfaceProps* props) const { function in class:SkImage
150 SkAutoTUnref<SkSurface> surface(this->newSurface(info, NULL));
H A DSkSurface.cpp160 SkSurface* SkSurface::newSurface(const SkImageInfo& info) { function in class:SkSurface
/external/skia/include/core/
H A DSkImage.h150 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps* = NULL) const;
H A DSkSurface.h167 * SkSurface* surfaceB = surfaceA->newSurface(...);
172 SkSurface* newSurface(const SkImageInfo&);
H A DSkBitmapDevice.h146 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
H A DSkDevice.h284 virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&);
376 friend class SkDeferredDevice; // for newSurface
/external/skia/samplecode/
H A DSampleTextureDomain.cpp63 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
H A DSampleFilterQuality.cpp20 SkSurface* surface = canvas->newSurface(info);
55 SkAutoTUnref<SkSurface> surface(orig->newSurface(info));
/external/deqp/modules/egl/
H A DteglResizeTests.cpp272 // Check whether `oldSurface` and `newSurface` share a common corner.
273 bool compareCorners (const Surface& oldSurface, const Surface& newSurface) argument
277 const int newWidth = newSurface.getWidth();
278 const int newHeight = newSurface.getHeight();
294 getSubregion(newSurface.getAccess(), newX, newY, minWidth, minHeight);
411 const Surface newSurface = readSurface(m_gl, newEglSize); local
416 << TestLog::Image("After resizing", "After resizing", newSurface)
419 m_status.check(compareCorners(oldSurface, newSurface),
/external/deqp/modules/glshared/
H A DglsLifetimeTests.cpp998 Surface newSurface; // Surface from drawing with newSeed-seeded attachment local
1028 m_inputAttacher.drawContainer(*container, newSurface);
1045 newSurface);
1077 Surface newSurface; // Surface drawn from attachment to newSeed container local
1078 Surface delSurface; // Like newSurface, after writing to a deleted attachment
1112 m_outputAttacher.drawAttachment(newId, newSurface);
1129 newSurface, delSurface, RGBA(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT);
/external/skia/src/gpu/
H A DSkGpuDevice.h164 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
/external/skia/src/pdf/
H A DSkPDFDevice.h190 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
/external/skia/tests/
H A DDeferredCanvasTest.cpp858 SkAutoTUnref<SkSurface> secondarySurface(canvas->newSurface(info));
882 SkSurface* newSurface = SkSurface::NewRasterN32Premul(4, 4); local
883 SkAutoTUnref<SkSurface> aur(newSurface);
887 canvas->setSurface(newSurface);
/external/skia/src/utils/
H A DSkDeferredCanvas.cpp186 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
494 SkSurface* SkDeferredDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { function in class:SkDeferredDevice
495 return this->immediateDevice()->newSurface(info, props);
/external/skia/src/core/
H A DSkBitmapDevice.cpp353 SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { function in class:SkBitmapDevice
H A DSkDevice.cpp94 SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) { return NULL; } function in class:SkBaseDevice
/external/skia/src/utils/android/
H A DSkAndroidSDKCanvas.cpp273 return fProxyTarget->newSurface(info, &props);
/external/skia/dm/
H A DDMSrcSink.cpp588 SkAutoTUnref<SkSurface> surface(canvas->newSurface(canvas->imageInfo()));
663 SkSurface* s = canvas->newSurface(info);

Completed in 535 milliseconds

12