Lines Matching refs:mat4
127 static constexpr mat4 inverseOrientation(uint32_t transform) { in inverseOrientation()
128 const mat4 flipH(-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation()
129 const mat4 flipV(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1); in inverseOrientation()
130 const mat4 rot90(0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1); in inverseOrientation()
131 mat4 tr; in inverseOrientation()
244 mat4 tr = inverseOrientation(transform); in prepareClientComposition()
262 const mat4 texTransform(mat4(static_cast<const float*>(textureMatrix)) * tr); in prepareClientComposition()
284 mat4 tr = mat4::translate(vec4(.5, .5, 0, 1)) * mat4::scale(vec4(1, -1, 1, 1)) * in prepareClientComposition()
285 mat4::translate(vec4(-.5, -.5, 0, 1)) * in prepareClientComposition()
286 mat4::translate(vec4(translateX, translateY, 0, 1)) * in prepareClientComposition()
287 mat4::scale(vec4(scaleWidth, scaleHeight, 1.0, 1.0)); in prepareClientComposition()
290 layer.source.buffer.textureTransform = mat4(static_cast<const float*>(textureMatrix)) * tr; in prepareClientComposition()