aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrTest.h
diff options
context:
space:
mode:
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