- 07 Sep, 2012 2 commits
-
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
-
- 13 Jul, 2012 3 commits
-
-
Jean-Paul Saman authored
A GLX surface can be in use by multiple VASurfaces, therefor make sure refcounting is done properly. The code did not honor this and could destroy a surface that was still in use by another GLX Surface object. The code is changed to enforce proper refcounting. Basically using destroy_glx_surface(driver_data, obj_glx_surface); is suspicious and should be replaced by: glx_surface_unref(driver_data, obj_glx_surface); instead. This function decreases the refcount on obj_glx_surface and when it reaches 0, then it destroys the surface properly.
-
Jean-Paul Saman authored
xvba_DestroySurfaces() leaked subpicture associations, since the for loop did not actually iterate over the subpicture association array.
-
Jean-Paul Saman authored
Assert if prerequisites are not met.
-
- 11 Jul, 2012 7 commits
-
-
Jean-Paul Saman authored
glx_output_surface_destroy did not destroy a mutex created in glx_output_surface_create. Rewrite surface_unref.
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
The function do_put_surface_glx() is used from the render_thread and from put_surface_glx(). Make sure it is locked since it is accessed from two threads.
-
Jean-Paul Saman authored
- Fix memleak in render_thread - Destroy shaders, procam, scalers from the correct 'target' - other small issues
-
Jean-Paul Saman authored
Speed up bitmap loading by avoiding conversions in software. The GPU stores a bitmap internally in BGRA format instead of RGBA. By using BGRA iso RGBA for format to load this conversion is ommitted and a considerable speedup is obtained.
-
Jean-Paul Saman authored
-
- 30 Jun, 2012 1 commit
-
-
Jean-Paul Saman authored
Refcount mapping and unmapping of VABuffers.
-
- 13 Jun, 2012 2 commits
-
-
Jean-Paul Saman authored
On some 1080 movies the commit-id: 42be4519 gave issues. Reverting some parts of this commit solves this issue.
-
Jean-Paul Saman authored
-
- 08 Jun, 2012 6 commits
-
-
Jean-Paul Saman authored
Cleanup all subpicture associations when freeing a surface.
-
Jean-Paul Saman authored
The xvba-video wrapper used a local X11 connection. However this prevents using overlays on the application provided X11 display to be shown.
-
Jean-Paul Saman authored
When calling XOpenDisplay in vaInitialize, then also call XCloseDisplay in vaTerminate.
-
Jean-Paul Saman authored
Explicitly enable/disable targets when using OpenGL code.
-
Jean-Paul Saman authored
Add extra checking.
-
Jean-Paul Saman authored
The API offered a gl_create_texture() but not and gl_destroy_texture().
-
- 07 Jun, 2012 3 commits
-
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
The function query_surface_status_glx() changes the surface status. This looks very suspicious and might be even a design error.
-
Jean-Paul Saman authored
The render thread allocates a new render_context, but never destroys it when shutting down. It possibly leaks on closing.
-
- 05 Jun, 2012 1 commit
-
-
Jean-Paul Saman authored
-
- 23 Apr, 2012 1 commit
-
-
Jean-Paul Saman authored
-
- 13 Apr, 2012 2 commits
-
-
Jean-Paul Saman authored
Do not leak subpicture associations, but rather crash so that the bug can be investigated and fixed.
-
Jean-Paul Saman authored
- fix error path in create_hw_image_glx()
-
- 10 Jan, 2012 5 commits
-
-
Jean-Paul Saman authored
The boolean operator || requires an evaluation of both expressions. If the expressions evaluates pointers, then care must be taken that both expressions have valid pointer. In this case it cannot be guaranteed, thus splitting the check is needed.
-
Jean-Paul Saman authored
The boolean operator || requires an evaluation of both expressions. If the expressions evaluates pointers, then care must be taken that both expressions have valid pointer. In this case it cannot be guaranteed, thus splitting the check is needed.
-
Jean-Paul Saman authored
The location of an object in the heap was wrongly determined, by applying the HEAP_ID_MASK to the object id. Instead the heap->id_offset should have been substracted from the object id. The object id is created by using the i-th position plus heap->id_offset.
-
Jean-Paul Saman authored
The boolean operator || requires an evaluation of both expressions. If the expressions evaluates pointers, then care must be taken that both expressions have valid pointer. In this case it cannot be guaranteed, thus splitting the check is needed.
-
Jean-Paul Saman authored
-
- 23 Dec, 2011 3 commits
-
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
Remove association buffers if adding did not work properly.
-
- 09 Dec, 2011 1 commit
-
-
Jean-Paul Saman authored
-
- 08 Nov, 2011 3 commits
-
-
Jean-Paul Saman authored
-
Jean-Paul Saman authored
Instead of aborting on an empty buffer we just continue, since the buffer would be freed anyway on the next line. This patch makes the function more tolerant.
-
Jean-Paul Saman authored
The original install rule would fail if the link already existed. Now installing succeeds if the destination was already there, it will be overwritten with the new file.
-