Searched defs:AutoEnforce (Results 1 – 2 of 2) sorted by relevance
25 struct AutoEnforce { struct26 AutoEnforce(GrSingleOwner* so, const char* file, int line) in AutoEnforce() argument30 ~AutoEnforce() { fSO->exit(fFile, fLine); } in ~AutoEnforce() argument32 const char* fFile;33 int fLine;34 GrSingleOwner* fSO;
22 struct AutoEnforce { struct23 AutoEnforce(GrSingleOwner* so) : fSO(so) { fSO->enter(); } in AutoEnforce() argument24 ~AutoEnforce() { fSO->exit(); } in ~AutoEnforce() argument26 GrSingleOwner* fSO;