Home
last modified time | relevance | path

Searched refs:fBackbufferSurface (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/viewer/sk_app/mac/
DRasterWindowContext_mac.cpp46 sk_sp<SkSurface> fBackbufferSurface; member in __anonab3b5b250111::RasterWindowContext_mac
93 fBackbufferSurface = SkSurface::MakeRaster(info); in onInitializeContext()
100 fBackbufferSurface.reset(nullptr); in onDestroyContext()
105 sk_sp<SkSurface> RasterWindowContext_mac::getBackbufferSurface() { return fBackbufferSurface; } in getBackbufferSurface()
110 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); in onSwapBuffers()
/external/skia/tools/viewer/sk_app/android/
DRasterWindowContext_android.cpp31 sk_sp<SkSurface> fBackbufferSurface = nullptr; member in __anon8136aa850111::RasterWindowContext_android
73 if (nullptr == fBackbufferSurface) { in getBackbufferSurface()
80 fBackbufferSurface = SkSurface::MakeRasterDirect( in getBackbufferSurface()
83 return fBackbufferSurface; in getBackbufferSurface()
89 fBackbufferSurface.reset(nullptr); in swapBuffers()
/external/skia/tools/viewer/sk_app/win/
DRasterWindowContext_win.cpp32 sk_sp<SkSurface> fBackbufferSurface; member in __anonc020265f0111::RasterWindowContext_win
54 fBackbufferSurface.reset(); in resize()
69 fBackbufferSurface = SkSurface::MakeRasterDirect(info, pixels, sizeof(uint32_t) * w); in resize()
72 sk_sp<SkSurface> RasterWindowContext_win::getBackbufferSurface() { return fBackbufferSurface; } in getBackbufferSurface()
/external/skia/tools/viewer/sk_app/unix/
DRasterWindowContext_unix.cpp28 sk_sp<SkSurface> fBackbufferSurface; member in __anon8ae0340b0111::RasterWindowContext_xlib
55 fBackbufferSurface = SkSurface::MakeRaster(info); in resize()
59 sk_sp<SkSurface> RasterWindowContext_xlib::getBackbufferSurface() { return fBackbufferSurface; } in getBackbufferSurface()
63 if (!fBackbufferSurface->peekPixels(&pm)) { in swapBuffers()