Lines Matching refs:fResource
11 fResource = nullptr; in GrGpuResourceRef()
17 fResource = nullptr; in GrGpuResourceRef()
25 SkASSERT(fResource); in ~GrGpuResourceRef()
26 fResource->unref(); in ~GrGpuResourceRef()
31 fResource->completedRead(); in ~GrGpuResourceRef()
34 fResource->completedWrite(); in ~GrGpuResourceRef()
37 fResource->completedRead(); in ~GrGpuResourceRef()
38 fResource->completedWrite(); in ~GrGpuResourceRef()
46 SkASSERT(SkToBool(fResource) == fOwnRef); in reset()
48 fResource->unref(); in reset()
50 fResource = nullptr; in reset()
56 SkASSERT(SkToBool(fResource) == fOwnRef); in setResource()
57 SkSafeUnref(fResource); in setResource()
59 fResource = nullptr; in setResource()
62 fResource = resource; in setResource()
72 SkASSERT(fResource); in markPendingIO()
76 fResource->addPendingRead(); in markPendingIO()
79 fResource->addPendingWrite(); in markPendingIO()
82 fResource->addPendingRead(); in markPendingIO()
83 fResource->addPendingWrite(); in markPendingIO()
95 fResource->completedRead(); in pendingIOComplete()
98 fResource->completedWrite(); in pendingIOComplete()
101 fResource->completedRead(); in pendingIOComplete()
102 fResource->completedWrite(); in pendingIOComplete()
114 SkASSERT(fResource); in removeRef()
115 fResource->unref(); in removeRef()