When you apply a convolutional filter to a patch you are doing a linear dot product and then applying a non-linear activation function. Both CNN filters and GTMsGLMs do the linear dot product and the non-linear activation function in CNNs is analogous to the non-linear link function in GLMs.