gstreamer/tests/check/libs
Matthew Waters 78957c45c2 glcontext: track sharedness with a cookie
The previous approach of traversing the other_context weak ref tree was
1. Less performant
2. Incorrect for context destruction removing a link in the tree

Example of 2:
c1 = context_create (NULL)
c2 = context_create (c1)
c3 = context_create (c2)
context_can_share (c1, c3) == TRUE
context_destroy (c2)
unref (c2)
context_can_share (c1, c3) returns FALSE when it should be TRUE!

This does not remove the restriction that context sharedness can only
be tracked between GstGLContext's.
2017-12-09 19:32:05 +00:00
..
gstglcolorconvert.c gl: split glcolorconvert usage from glupload 2017-12-09 19:31:52 +00:00
gstglcontext.c glcontext: track sharedness with a cookie 2017-12-09 19:32:05 +00:00
gstglmemory.c glmemory: separate pbo transfer from texture transfers 2017-12-09 19:32:04 +00:00
gstglupload.c gl: remove useless gl{En,Dis}able (GL_TEXTURE_*) calls 2017-12-09 19:32:01 +00:00