Lines Matching refs:SkSurface

128 static SkSurface_Base* asSB(SkSurface* surface) {  in asSB()
134 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface
142 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface
150 uint32_t SkSurface::generationID() { in generationID()
157 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { in notifyContentWillChange()
161 SkCanvas* SkSurface::getCanvas() { in getCanvas()
165 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot()
169 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot()
183 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) { in makeSurface()
187 void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y, in draw()
192 bool SkSurface::peekPixels(SkPixmap* pmap) { in peekPixels()
196 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels()
200 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels()
205 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels()
210 void SkSurface::writePixels(const SkPixmap& pmap, int x, int y) { in writePixels()
227 void SkSurface::writePixels(const SkBitmap& src, int x, int y) { in writePixels()
234 GrBackendTexture SkSurface::getBackendTexture(BackendHandleAccess access) { in getBackendTexture()
238 GrBackendRenderTarget SkSurface::getBackendRenderTarget(BackendHandleAccess access) { in getBackendRenderTarget()
242 void SkSurface::prepareForExternalIO() { in prepareForExternalIO()
246 void SkSurface::flush() { in flush()
251 GrSemaphoresSubmitted SkSurface::flush(BackendSurfaceAccess access, GrFlushFlags flags, in flush()
259 GrSemaphoresSubmitted SkSurface::flush(BackendSurfaceAccess access, FlushFlags flags, in flush()
265 GrSemaphoresSubmitted SkSurface::flushAndSignalSemaphores(int numSemaphores, in flushAndSignalSemaphores()
271 bool SkSurface::wait(int numSemaphores, const GrBackendSemaphore* waitSemaphores) { in wait()
275 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
276 return asSB(const_cast<SkSurface*>(this))->onCharacterize(characterization); in characterize()
279 bool SkSurface::draw(SkDeferredDisplayList* ddl) { in draw()
294 sk_sp<SkSurface> onNewSurface(const SkImageInfo& info) override { in onNewSurface()
303 sk_sp<SkSurface> SkSurface::MakeNull(int width, int height) { in MakeNull()
307 return sk_sp<SkSurface>(new SkNullSurface(width, height)); in MakeNull()
314 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&, int, in MakeRenderTarget()
319 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext*, const SkSurfaceCharacterization&, in MakeRenderTarget()
324 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext*, const GrBackendTexture&, in MakeFromBackendTexture()
332 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext*, in MakeFromBackendRenderTarget()
342 sk_sp<SkSurface> SkSurface::MakeFromBackendTextureAsRenderTarget(GrContext*, in MakeFromBackendTextureAsRenderTarget()