aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrTest.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-04-18 17:12:32 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-18 21:55:10 +0000
commit7da62b9059f3c1d31624a0e4da96ee5f908f9c12 (patch)
treefc57f951a4e8c1900311e8a1ffbdbbaf189715c2 /tools/gpu/GrTest.h
parentb712a85aea212cf5bfe5514a4fefc184545a8d3c (diff)
Plumb GrBackendTexture throughout skia.
Bug: skia: Change-Id: I1bae6768ee7229818a83ba608035a1f7867e6875 Reviewed-on: https://skia-review.googlesource.com/13645 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@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 db4c4515b3..d4a4c6dfac 100644
--- a/tools/gpu/GrTest.h
+++ b/tools/gpu/GrTest.h
@@ -8,6 +8,7 @@
#ifndef GrTest_DEFINED
#define GrTest_DEFINED
+#include "GrBackendSurface.h"
#include "GrContext.h"
namespace GrTest {
@@ -16,6 +17,9 @@ namespace GrTest {
* constantly be evicting entries
*/
void SetupAlwaysEvictAtlas(GrContext*);
+
+ GrBackendTexture CreateBackendTexture(GrBackend, int width, int height,
+ GrPixelConfig, GrBackendObject);
};
#endif