@cr1901 historically the client to server connection was TCP/IP or Unix Domain Sockets, and the client would send higher level 2D drawing requests (point, line, text, etc) to the server.
Over time that changed to “here’s a bitmap, please copy to screen” (and client side rendering). That transition was ~20 years ago.