diff options
author | Adlai Holler <adlai@google.com> | 2020-10-07 14:16:40 -0400 |
---|---|---|
committer | Adlai Holler <adlai@google.com> | 2020-10-07 22:20:44 +0000 |
commit | d2345212d8f5cbe9193ca26ccce138342dca2fa6 (patch) | |
tree | 7f12e1a01c17cee5f95ecfa30e876cdfb99eddf2 /libs/hwui/renderthread/CacheManager.h | |
parent | 53d614ccf1d09350c93708a808dcdcada5a88e40 (diff) |
Migrate some last instances of GrContext to GrDirectContext
This is a rename with no functional changes.
Change-Id: I4b0b7ee1926b688029e257b35c469113c0404a5b
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.h')
-rw-r--r-- | libs/hwui/renderthread/CacheManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/renderthread/CacheManager.h b/libs/hwui/renderthread/CacheManager.h index b009cc4f48f2..0a6b8dc26cc3 100644 --- a/libs/hwui/renderthread/CacheManager.h +++ b/libs/hwui/renderthread/CacheManager.h @@ -18,7 +18,7 @@ #define CACHEMANAGER_H #ifdef __ANDROID__ // Layoutlib does not support hardware acceleration -#include <GrContext.h> +#include <GrDirectContext.h> #endif #include <SkSurface.h> #include <utils/String8.h> @@ -58,13 +58,13 @@ private: explicit CacheManager(); #ifdef __ANDROID__ // Layoutlib does not support hardware acceleration - void reset(sk_sp<GrContext> grContext); + void reset(sk_sp<GrDirectContext> grContext); #endif void destroy(); const size_t mMaxSurfaceArea; #ifdef __ANDROID__ // Layoutlib does not support hardware acceleration - sk_sp<GrContext> mGrContext; + sk_sp<GrDirectContext> mGrContext; #endif const size_t mMaxResourceBytes; |