*/
  public void convolution_parameteri (int target, int pname, 
    int [] params) {

    int n = 0;

    switch (pname) {
    case CONVOLUTION_BORDER_COLOR: // fall through
    case CONVOLUTION_FORMAT:    // fall through
    case CONVOLUTION_WIDTH:   // fall through
    case CONVOLUTION_HEIGHT:    // fall through
    case MAX_CONVOLUTION_WIDTH: // fall through
    case MAX_CONVOLUTION_HEIGHT: n = 1; break;
    case CONVOLUTION_FILTER_SCALE: // fall through
    case CONVOLUTION_FILTER_BIAS: n = 4; break;
    }

    RequestOutputStream o = display.out;
    synchronized (o) {
      begin_render_request (o, 4106, 12+4*n);
      o.write_int32 (target);
      o.write_int32 (pname);
      for (int i = 0; i < n; i++)
        o.write_int32 (params[i]);
    }
  }