added support for SkMatrix44 ctype
Bug: skia: Change-Id: Ia09660d88837de6c8b55ded96696d3c3680df2a9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/217130 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
a36e089065
commit
65e49ba51b
@ -126,6 +126,7 @@ void Parser::InitLayoutMap() {
|
||||
TOKEN(SKRECT, "SkRect");
|
||||
TOKEN(SKIRECT, "SkIRect");
|
||||
TOKEN(SKPMCOLOR, "SkPMColor");
|
||||
TOKEN(SKMATRIX44, "SkMatrix44");
|
||||
TOKEN(BOOL, "bool");
|
||||
TOKEN(INT, "int");
|
||||
TOKEN(FLOAT, "float");
|
||||
@ -749,6 +750,8 @@ Layout::CType Parser::layoutCType() {
|
||||
return Layout::CType::kInt32;
|
||||
case LayoutToken::FLOAT:
|
||||
return Layout::CType::kFloat;
|
||||
case LayoutToken::SKMATRIX44:
|
||||
return Layout::CType::kSkMatrix44;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -95,6 +95,7 @@ public:
|
||||
SKRECT,
|
||||
SKIRECT,
|
||||
SKPMCOLOR,
|
||||
SKMATRIX44,
|
||||
BOOL,
|
||||
INT,
|
||||
FLOAT,
|
||||
|
Loading…
Reference in New Issue
Block a user