Index: src/gpu/GrResourceProvider.h |
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h |
index 33a9f3bd1240be6e3ae90830f4932f2448511ae6..a709c7056481e1c4e673c7604e9b8ab893a19f2b 100644 |
--- a/src/gpu/GrResourceProvider.h |
+++ b/src/gpu/GrResourceProvider.h |
@@ -90,6 +90,7 @@ public: |
using GrTextureProvider::assignUniqueKeyToResource; |
using GrTextureProvider::findAndRefResourceByUniqueKey; |
+ using GrTextureProvider::findAndRefTextureByUniqueKey; |
using GrTextureProvider::abandon; |
enum Flags { |
@@ -142,6 +143,8 @@ public: |
*/ |
GrStencilAttachment* attachStencilAttachment(GrRenderTarget* rt); |
+ const GrCaps* caps() { return this->gpu()->caps(); } |
+ |
private: |
const GrIndexBuffer* createInstancedIndexBuffer(const uint16_t* pattern, |
int patternSize, |