This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CacheObservable<T> : OperatorObservableBase<IList<T>> | |
{ | |
readonly UniRx.IObservable<T> source; | |
readonly int count; | |
public CacheObservable(UniRx.IObservable<T> source, int count) | |
: base(source.IsRequiredSubscribeOnCurrentThread()) | |
{ | |
this.source = source; | |
this.count = count; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SimpleGL20Activity extends Activity implements Renderer { | |
static final String TAG = SimpleGL20Activity.class.getSimpleName(); | |
GLTextureView glTextureView; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
glTextureView = new GLTextureView(this); |