share attribute jit.gl.texture


    Sep 17 2006 | 10:50 pm
    Small q, what is the 'share' attribute of jit.gl.texture supposed to do?
    brecht.

    • Sep 17 2006 | 11:40 pm
      reference says:
      Flag to enable or disable sharing texture data across multiple OpenGL
      contexts (default = 1).
      best,
      n
    • Sep 18 2006 | 2:41 am
      But in actuality I don't beleive it does anything.
      wes
      On 9/17/06, nesa wrote:
      > reference says:
      >
      > Flag to enable or disable sharing texture data across multiple OpenGL
      > contexts (default = 1).
      >
      > best,
      > n
      >
      >
    • Sep 21 2006 | 7:41 pm
      On Sep 17, 2006, at 7:41 PM, Wesley Smith wrote:
      > But in actuality I don't beleive it does anything.
      >> reference says:
      >> Flag to enable or disable sharing texture data across multiple OpenGL
      >> contexts (default = 1).
      It is used to determine if it performs resource sharing when creating
      the texture's internal pbuffer context. However, it shouldn't be that
      useful for users, since if you want to use resources defined in the
      main renderer when rendering to the pbuffer (in capture or slab for
      example) you'll always want this on.
      -Joshua