Ensure GalleryProviderListener work in render thread

This commit is contained in:
seven332 committed 2016-02-20 11:14:15 +08:00
1 parent 31ffa6f8a9
commit 64e22ade37
2 files changed
+21 -8

No files matched your search

@@ -137,6 +137,7 @@ public class GalleryActivity extends AppCompatActivity implements GalleryProvide
setContentView(R.layout.activity_gallery);
GLRootView glRootView = (GLRootView) findViewById(R.id.gl_root_view);
mGalleryProvider.setGLRoot(glRootView);
mUploader = new ImageTexture.Uploader(glRootView);
mIndexIdMap = new SparseIntArray();
mPageTextTexture = MovableTextTexture.create(Typeface.DEFAULT,