code: def _create_buffers(self, view_size, buffer_size):
          
          requires_zoom_buffer = not view_size == buffer_size
          self._zoom_buffer = None
  
          if self._clear_color is None:
              if requires_zoom_buffer:
                  self._zoom_buffer = Surface(view_size)
              self._buffer = Surface(buffer_size)
          elif self._clear_color == self._rgba_clear_color:
              if requires_zoom_buffer:
                  self._zoom_buffer = Surface(view_size, flags=pygame.SRCALPHA)
              self._buffer = Surface(buffer_size, flags=pygame.SRCALPHA)
              self.data.convert_surfaces(self._buffer, True)
          elif self._clear_color is not self._rgb_clear_color:
              if requires_zoom_buffer:
                  self._zoom_buffer = Surface(view_size, flags=pygame.RLEACCEL)
                  self._zoom_buffer.set_colorkey(self._clear_color)
              self._buffer = Surface(buffer_size, flags=pygame.RLEACCEL)
              self._buffer.set_colorkey(self._clear_color)
              self._buffer.fill(self._clear_color)
docs: Create the buffers, taking in account pixel alpha or colorkey
  
          :param view_size: pixel size of the view
          :param buffer_size: pixel size of the buffer