share attribute jit.gl.texture

Sep 17, 2006 at 10:50pm

share attribute jit.gl.texture

Small q, what is the ‘share’ attribute of jit.gl.texture supposed to do?

brecht.

#27661
Sep 17, 2006 at 11:40pm

reference says:

Flag to enable or disable sharing texture data across multiple OpenGL
contexts (default = 1).

best,
n

#83909
Sep 18, 2006 at 2:41am

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
>
>

#83910
Sep 21, 2006 at 7:41pm

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

#83911

You must be logged in to reply to this topic.