]> git.sesse.net Git - nageru/commit
Make QuickSyncEncoder get its textures from ResourcePool.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 24 Apr 2016 21:45:55 +0000 (23:45 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 24 Apr 2016 21:51:07 +0000 (23:51 +0200)
commit4b286cabe961c426ce340a85167346012691d711
treed0e933b68660c34cc5c56a7680c5683a449fe478
parent1071d4f992a46d96ebb823d92a6260a815670692
Make QuickSyncEncoder get its textures from ResourcePool.

This fixes a problem where the ResourcePool would not be aware
that a given texture had been deleted (and a new one come back
using the same texture number), and thus happily continue
to give out cached FBOs from it, even though OpenGL had unlinked
those FBOs when the texture was deleted.
quicksync_encoder.cpp
quicksync_encoder.h
video_encoder.cpp
video_encoder.h