this is much more a theoretical issue, than a practical one. Anyway...
please have a look at the patch below:
I am generating a very simple texture, made of 7 coloured bars, actually a 7x1 matrix.
When I send it to texture, I get interpolation, thus the bars fade smoothly into each other (this is what you see choosing tex1 in the example patch).
To get solid bars, I need to resize the matrix to 320x240 (which is the corresponding value of "dest_dim" in the gl.render. I tried changing dest_dim value, but nothing happened), you can see the desired effect in tex2.
As for now, resizing the matrix is not a great issue, but I'd like to know if there is some way to turn off texture interpolation, so one can use very small matrices and (i guess) save some CPU in very stressing patches.