Merge "Refactor TextureLayer JNI to use only APEX APIs"