qml: Mark material dirty when texture buffer is updated