Home | History | Annotate | Download | only in image

Lines Matching refs:SkSurface

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