aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/mock
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/mock')
-rw-r--r--include/gpu/mock/GrMockTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/mock/GrMockTypes.h b/include/gpu/mock/GrMockTypes.h
index 3ad0fc3b9a..35bb5efe23 100644
--- a/include/gpu/mock/GrMockTypes.h
+++ b/include/gpu/mock/GrMockTypes.h
@@ -9,6 +9,7 @@
#define GrMockOptions_DEFINED
#include "GrTypes.h"
+#include "../private/GrTypesPriv.h"
struct GrMockTextureInfo {
int fID;
@@ -25,6 +26,8 @@ struct GrMockOptions {
fConfigOptions[kRGBA_8888_GrPixelConfig].fRenderable[0] = true;
fConfigOptions[kRGBA_8888_GrPixelConfig].fTexturable = true;
fConfigOptions[kAlpha_8_GrPixelConfig].fTexturable = true;
+ fConfigOptions[kAlpha_8_as_Alpha_GrPixelConfig].fTexturable = true;
+ fConfigOptions[kAlpha_8_as_Red_GrPixelConfig].fTexturable = true;
fConfigOptions[kRGB_565_GrPixelConfig].fTexturable = true;
}