Rename SkiaGpuContext::isAbandoned to isAbandonedOrDeviceLost
In Ganesh, "abandoned" means either the context was explicitly
abandoned, or the underlying GPU API's "device" was lost.
In Graphite, there's only the concept of losing the device.
Test: compiles
Bug: b/293371537
Change-Id: I1bc69b799e9d7bdb3bde037f79b3736fc2023d70
diff --git a/libs/renderengine/skia/compat/GaneshGpuContext.h b/libs/renderengine/skia/compat/GaneshGpuContext.h
index ec0162d..d815d15 100644
--- a/libs/renderengine/skia/compat/GaneshGpuContext.h
+++ b/libs/renderengine/skia/compat/GaneshGpuContext.h
@@ -36,7 +36,7 @@
size_t getMaxRenderTargetSize() const override;
size_t getMaxTextureSize() const override;
- bool isAbandoned() override;
+ bool isAbandonedOrDeviceLost() override;
void setResourceCacheLimit(size_t maxResourceBytes) override;
void finishRenderingAndAbandonContext() override;