[965] Move to using shared texture management code.