Lines Matching defs:SkSurface

88                                                  SkSurface::RescaleGamma rescaleGamma,
90 SkSurface::ReadPixelsCallback callback,
91 SkSurface::ReadPixelsContext context) {
162 static SkSurface_Base* asSB(SkSurface* surface) {
166 static const SkSurface_Base* asConstSB(const SkSurface* surface) {
172 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props)
180 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props)
188 SkImageInfo SkSurface::imageInfo() {
193 uint32_t SkSurface::generationID() {
200 void SkSurface::notifyContentWillChange(ContentChangeMode mode) {
204 SkCanvas* SkSurface::getCanvas() {
208 sk_sp<SkImage> SkSurface::makeImageSnapshot() {
212 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) {
226 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) {
230 sk_sp<SkSurface> SkSurface::makeSurface(int width, int height) {
234 void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkSamplingOptions& sampling,
239 bool SkSurface::peekPixels(SkPixmap* pmap) {
243 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) {
247 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
252 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) {
257 void SkSurface::asyncRescaleAndReadPixels(const SkImageInfo& info,
272 void SkSurface::asyncRescaleAndReadPixelsYUV420(SkYUVColorSpace yuvColorSpace,
295 void SkSurface::writePixels(const SkPixmap& pmap, int x, int y) {
314 void SkSurface::writePixels(const SkBitmap& src, int x, int y) {
321 GrRecordingContext* SkSurface::recordingContext() {
325 bool SkSurface::wait(int numSemaphores, const GrBackendSemaphore* waitSemaphores,
330 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const {
334 bool SkSurface::isCompatible(const SkSurfaceCharacterization& characterization) const {
338 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) {
347 GrBackendTexture SkSurface::getBackendTexture(BackendHandleAccess access) {
351 GrBackendRenderTarget SkSurface::getBackendRenderTarget(BackendHandleAccess access) {
355 bool SkSurface::replaceBackendTexture(const GrBackendTexture& backendTexture,
363 GrSemaphoresSubmitted SkSurface::flush(BackendSurfaceAccess access, const GrFlushInfo& flushInfo) {
367 GrSemaphoresSubmitted SkSurface::flush(const GrFlushInfo& info,
372 void SkSurface::flush() {
376 void SkSurface::flush() {} // Flush is a no-op for CPU surfaces
378 void SkSurface::flushAndSubmit(bool syncCpu) {}
381 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext*, SkBudgeted, const SkImageInfo&,
388 void SkSurface::setDrawingArea(const std::vector<SkIRect>& rects) {
392 void SkSurface::clearDrawingArea() {
408 sk_sp<SkSurface> onNewSurface(const SkImageInfo& info) override {
417 sk_sp<SkSurface> SkSurface::MakeNull(int width, int height) {
421 return sk_sp<SkSurface>(new SkNullSurface(width, height));