Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::ConditionalUploadContext Class Referenceabstract

#include <UploadTask.h>

Inheritance diagram for skgpu::graphite::ConditionalUploadContext:
skgpu::graphite::ImageUploadContext

Public Member Functions

virtual ~ConditionalUploadContext ()
 
virtual bool needsUpload (Context *)=0
 
virtual bool uploadSubmitted ()
 

Detailed Description

The ConditionalUploadContext, if set, is used to determine whether an upload needs to occur on Recording playback. Clients will need to create their own subclasses to store the necessary data and override the needsUpload() method to do this check.

Definition at line 37 of file UploadTask.h.

Constructor & Destructor Documentation

◆ ~ConditionalUploadContext()

virtual skgpu::graphite::ConditionalUploadContext::~ConditionalUploadContext ( )
inlinevirtual

Definition at line 39 of file UploadTask.h.

39{}

Member Function Documentation

◆ needsUpload()

virtual bool skgpu::graphite::ConditionalUploadContext::needsUpload ( Context )
pure virtual

◆ uploadSubmitted()

virtual bool skgpu::graphite::ConditionalUploadContext::uploadSubmitted ( )
inlinevirtual

Reimplemented in skgpu::graphite::ImageUploadContext.

Definition at line 47 of file UploadTask.h.

47{ return true; }

The documentation for this class was generated from the following file: