Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index f8528a1550ac60ed45599af95b4a3869fedad43b..d5ef909d28376e92e5b03dd031556fa1d72a1a4f 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -423,7 +423,8 @@ public: |
only to be used for testing (particularly for testing the methods that import an externally |
created texture into Skia. Must be matched with a call to deleteTestingOnlyTexture(). */ |
virtual GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, |
- GrPixelConfig config) = 0; |
+ GrPixelConfig config, |
+ bool isRenderTarget = false) = 0; |
/** Check a handle represents an actual texture in the backend API that has not been freed. */ |
virtual bool isTestingOnlyBackendTexture(GrBackendObject) const = 0; |
/** If ownership of the backend texture has been transferred pass true for abandonTexture. This |