12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef ANDROID_RS_DEVICE_H
- #define ANDROID_RS_DEVICE_H
- #include "rsUtils.h"
- #include <vector>
- namespace android {
- namespace renderscript {
- class Context;
- class Device {
- public:
- Device();
- ~Device();
- void addContext(Context *);
- void removeContext(Context *);
- bool mForceSW;
- protected:
- std::vector<Context *> mContexts;
- };
- }
- }
- #endif
|