code: public void setTextureBufferSize(final int size) {
          mRootViewGroup.post(new Runnable() {
              @Override
              public void run() {
                  mRootViewGroup.setTextureBufferSize(size);
              }
          });
      }
docs: Set the default size of the texture buffers. You can call this to reduce the buffer size
  of views with anti-aliasing issue.
  
  The max value to the buffer size should be the Math.max(width, height) of attached view.
  
  @param size buffer size. Value > 0 and <= Math.max(width, height).