Home | History | Annotate | Download | only in gpu

Lines Matching defs:GrContext

44 class GR_API GrContext : public GrRefCnt {
46 SK_DECLARE_INST_COUNT(GrContext)
49 * Creates a GrContext for a backend context.
51 static GrContext* Create(GrBackend, GrBackendContext);
54 * Returns the number of GrContext instances for the current thread.
58 virtual ~GrContext();
61 * The GrContext normally assumes that no outsider is setting state
69 * Callback function to allow classes to cleanup on GrContext destruction.
72 typedef void (*PFCleanUpFunc)(const GrContext* context, void* info);
75 * Add a function to be called from within GrContext's destructor.
90 * GrContext is no longer going to be used for two reasons:
91 * 1) ~GrContext will not try to free the objects in the 3D API.
92 * 2) If you've created GrResources that outlive the GrContext they will
95 * Content drawn since the last GrContext::flush() may be lost.
101 * Use this method when GrContext destruction is pending, but
471 * through a GrContext that it knows the user will never see. This flag
490 /** The GrContext will not be flushed. This means that the read or write may occur before
601 * using the backend API directly. GrContext will detect when it must
628 AutoRenderTarget(GrContext* context, GrRenderTarget* target) {
634 AutoRenderTarget(GrContext* context) {
646 GrContext* fContext;
673 void setPreConcat(GrContext* context, const SkMatrix& preConcat, GrPaint* paint = NULL) {
687 bool setIdentity(GrContext* context, GrPaint* paint = NULL) {
707 bool set(GrContext* context, const SkMatrix& newMatrix, GrPaint* paint = NULL) {
753 GrContext* fContext;
766 AutoClip(GrContext* context, InitialClip initialState)
775 AutoClip(GrContext* context, const GrRect& newClipRect)
790 GrContext* fContext;
799 AutoWideOpenIdentityDraw(GrContext* ctx, GrRenderTarget* rt)
884 GrContext(GrGpu* gpu);
939 GrAutoScratchTexture(GrContext* context,
941 GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch)
987 GrTexture* set(GrContext* context,
989 GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch) {
1007 GrContext* fContext;