Replace glm::i32vec3 with ivec3
gfx: Optimize mipmap generation for even-sized images
ui: Implement Renderer::textmeasure()