Home | History | Annotate | Download | only in gpu

Lines Matching defs:GrContext

45 class SK_API GrContext : public SkRefCnt {
47 SK_DECLARE_INST_COUNT(GrContext)
60 * Creates a GrContext for a backend context.
62 static GrContext* Create(GrBackend, GrBackendContext, const Options* opts = NULL);
67 static GrContext* CreateMockContext();
69 virtual ~GrContext();
72 * The GrContext normally assumes that no outsider is setting state
82 * Callback function to allow classes to cleanup on GrContext destruction.
85 typedef void (*PFCleanUpFunc)(const GrContext* context, void* info);
88 * Add a function to be called from within GrContext's destructor.
103 * now invalid. Should be called even when GrContext is no longer going to
105 * 1) ~GrContext will not try to free the objects in the 3D API.
106 * 2) Any GrGpuResources created by this GrContext that outlive
109 * Content drawn since the last GrContext::flush() may be lost. After this
110 * function is called the only valid action on the GrContext or
393 * through a GrContext that it knows the user will never see. This flag
412 /** The GrContext will not be flushed before the surface read or write. This means that
504 * It is not necessary to call this before reading the render target via Skia/GrContext.
505 * GrContext will detect when it must perform a resolve before reading pixels back from the
552 * This returns a copy of the the GrContext::Options that was passed to the
584 // Set by OverbudgetCB() to request that GrContext flush before exiting a draw.
605 GrContext(const Options&); // init must be called after the constructor.
652 * This callback allows the resource cache to callback into the GrContext