docstr: Compute uniform texture shape
docstr_tok: ["Compute","uniform","texture","shape"]
code: def _compute_texture_shape(self, size=1):
      """Compute uniform texture shape"""
      # We should use this line but we may not have a GL context yet
      # linesize = gl.glGetInteger(gl.GL_MAX_TEXTURE_SIZE)
      linesize = 1024
      count = self._uniforms_float_count
      cols = 4 * linesize // int(count)
      rows = max(1, int(math.ceil(size / float(cols))))
      shape = rows, cols * (count // 4), count
      self._ushape = shape
      return shape
  
imports: from __future__ import division
  import math
  import numpy
  from ...gloo import Texture2D, VertexBuffer, IndexBuffer
  from .util import dtype_reduce
  from .array_list import ArrayList
label_desc: Use image node_id 10 for calling the BaseCollection obj's underlying member method code with example usage: obj._compute_texture_shape(size) and returns: shape