Lines Matching refs:mat4
116 static constexpr mat4 inverseOrientation(uint32_t transform) { in inverseOrientation()
117 const mat4 flipH(-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation()
118 const mat4 flipV(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1); in inverseOrientation()
119 const mat4 rot90(0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation()
120 mat4 tr; in inverseOrientation()
192 mat4 tr = inverseOrientation(transform); in prepareClientLayer()
210 const mat4 texTransform(mat4(static_cast<const float*>(textureMatrix)) * tr); in prepareClientLayer()
232 mat4 tr = mat4::translate(vec4(.5, .5, 0, 1)) * mat4::scale(vec4(1, -1, 1, 1)) * in prepareClientLayer()
233 mat4::translate(vec4(-.5, -.5, 0, 1)) * in prepareClientLayer()
234 mat4::translate(vec4(translateX, translateY, 0, 1)) * in prepareClientLayer()
235 mat4::scale(vec4(scaleWidth, scaleHeight, 1.0, 1.0)); in prepareClientLayer()
238 layer.source.buffer.textureTransform = mat4(static_cast<const float*>(textureMatrix)) * tr; in prepareClientLayer()