aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/mock
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-03-09 17:02:09 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 22:32:14 +0000
commit0c51eeada6a91b03a91a17e94d0afea6331709d9 (patch)
tree280d2016faa326b1ef150f81a6e16a739cebfbbe /include/gpu/mock
parent8c4cbf4cfb6d9236dfd69273bff7e8384744c29a (diff)
Add GrMockRenderTarget and mock backend render targets
Change-Id: I59673dd7d0015471b7a81aa0c237c67043892454 Reviewed-on: https://skia-review.googlesource.com/113427 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/gpu/mock')
-rw-r--r--include/gpu/mock/GrMockTypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/gpu/mock/GrMockTypes.h b/include/gpu/mock/GrMockTypes.h
index 49601cb55e..6e38175838 100644
--- a/include/gpu/mock/GrMockTypes.h
+++ b/include/gpu/mock/GrMockTypes.h
@@ -13,7 +13,12 @@
struct GrMockTextureInfo {
GrPixelConfig fConfig;
- int fID;
+ int fID;
+};
+
+struct GrMockRenderTargetInfo {
+ GrPixelConfig fConfig;
+ int fID;
};
/**