Lines Matching refs:SkSurface
84 SkSurface::RescaleGamma rescaleGamma, in onAsyncRescaleAndReadPixels()
86 SkSurface::ReadPixelsCallback callback, in onAsyncRescaleAndReadPixels()
87 SkSurface::ReadPixelsContext context) { in onAsyncRescaleAndReadPixels()
158 static SkSurface_Base* asSB(SkSurface* surface) { in asSB()
162 static const SkSurface_Base* asConstSB(const SkSurface* surface) { in asConstSB()
168 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface
176 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface
184 SkImageInfo SkSurface::imageInfo() { in imageInfo()
189 uint32_t SkSurface::generationID() { in generationID()
196 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { in notifyContentWillChange()
200 SkCanvas* SkSurface::getCanvas() { in getCanvas()
204 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot()
208 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot()
222 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) { in makeSurface()
226 sk_sp<SkSurface> SkSurface::makeSurface(int width, int height) { in makeSurface()
230 void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkSamplingOptions& sampling, in draw()
235 bool SkSurface::peekPixels(SkPixmap* pmap) { in peekPixels()
239 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels()
243 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels()
248 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels()
253 void SkSurface::asyncRescaleAndReadPixels(const SkImageInfo& info, in asyncRescaleAndReadPixels()
268 void SkSurface::asyncRescaleAndReadPixelsYUV420(SkYUVColorSpace yuvColorSpace, in asyncRescaleAndReadPixelsYUV420()
291 void SkSurface::writePixels(const SkPixmap& pmap, int x, int y) { in writePixels()
310 void SkSurface::writePixels(const SkBitmap& src, int x, int y) { in writePixels()
317 GrRecordingContext* SkSurface::recordingContext() { in recordingContext()
321 bool SkSurface::wait(int numSemaphores, const GrBackendSemaphore* waitSemaphores, in wait()
326 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
330 bool SkSurface::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
334 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) { in draw()
343 GrBackendTexture SkSurface::getBackendTexture(BackendHandleAccess access) { in getBackendTexture()
347 GrBackendRenderTarget SkSurface::getBackendRenderTarget(BackendHandleAccess access) { in getBackendRenderTarget()
351 bool SkSurface::replaceBackendTexture(const GrBackendTexture& backendTexture, in replaceBackendTexture()
359 GrSemaphoresSubmitted SkSurface::flush(BackendSurfaceAccess access, const GrFlushInfo& flushInfo) { in flush()
363 GrSemaphoresSubmitted SkSurface::flush(const GrFlushInfo& info, in flush()
368 void SkSurface::flush() { in flush()
372 void SkSurface::flush() {} // Flush is a no-op for CPU surfaces in flush()
374 void SkSurface::flushAndSubmit(bool syncCpu) {} in flushAndSubmit()
377 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext*, SkBudgeted, const SkImageInfo&, in MakeRenderTarget()
394 sk_sp<SkSurface> onNewSurface(const SkImageInfo& info) override { in onNewSurface()
403 sk_sp<SkSurface> SkSurface::MakeNull(int width, int height) { in MakeNull()
407 return sk_sp<SkSurface>(new SkNullSurface(width, height)); in MakeNull()