Index: include/gpu/GrGpuResource.h |
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h |
index fb7cb8c94dd84a4770594ff6604899ad2093ee85..c81a02f690ea2ae9ef2376e6b7dd795e91c112d5 100644 |
--- a/include/gpu/GrGpuResource.h |
+++ b/include/gpu/GrGpuResource.h |
@@ -279,6 +279,7 @@ private: |
#ifdef SK_DEBUG |
friend class GrGpu; // for assert in GrGpu to access getGpu |
#endif |
+ friend class GrSurfaceProxy; // for access to CreateUniqueID |
bsalomon
2016/08/31 17:53:18
Is there a lighter weight way we could do this? I
robertphillips
2016/08/31 19:11:38
Done. Made it public.
|
static uint32_t CreateUniqueID(); |