aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrTest.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-11-16 14:59:48 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-17 12:53:55 +0000
commit57e0828fade9270f1fd3abf32f4e27b108c4bc1a (patch)
tree36cd92d54369d52c615d9071cc0f6f57eb5e27f5 /tools/gpu/GrTest.h
parentecd62a6cf65ad2a3dcdad8decbe8677f5a74e02a (diff)
Add backend GPU objects to fiddle app
TBR=bsalomon@google.com Change-Id: I8876a4657f837436322150925233e0f36c91e8f0 Reviewed-on: https://skia-review.googlesource.com/72641 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tools/gpu/GrTest.h')
-rw-r--r--tools/gpu/GrTest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gpu/GrTest.h b/tools/gpu/GrTest.h
index 612245f07b..1134932ad9 100644
--- a/tools/gpu/GrTest.h
+++ b/tools/gpu/GrTest.h
@@ -20,6 +20,10 @@ namespace GrTest {
GrBackendTexture CreateBackendTexture(GrBackend, int width, int height,
GrPixelConfig, GrMipMapped, GrBackendObject);
+
+ GrBackendRenderTarget CreateBackendRenderTarget(GrBackend, int width, int height,
+ int sampleCnt, int stencilBits,
+ GrPixelConfig, GrBackendObject);
};
#endif