aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-07-28 19:59:49 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-07-28 19:59:49 +0200
commit829d7a6afc49e0e35d4c782ab500b7bf64130d95 (patch)
tree6fea39869a1f1572de16fe6f2fe3956ca8bba51e /src/platform
parentb3d52cc8fe2cd2f66eedb914a5061f1640129ec4 (diff)
parent1f6c4d65a61b399d1a476dc19ca3d6a152856286 (diff)
downloadglutin-829d7a6afc49e0e35d4c782ab500b7bf64130d95.tar.gz
glutin-829d7a6afc49e0e35d4c782ab500b7bf64130d95.zip
Merge pull request #551 from tomaka/android-headless
Implement headless contexts on android
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/android/mod.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/platform/android/mod.rs b/src/platform/android/mod.rs
index 50f554b..c90d8ce 100644
--- a/src/platform/android/mod.rs
+++ b/src/platform/android/mod.rs
@@ -1,36 +1,3 @@
#![cfg(target_os = "android")]
pub use api::android::*;
-
-use ContextError;
-
-pub struct HeadlessContext(i32);
-
-impl HeadlessContext {
- /// See the docs in the crate root file.
- pub fn new(_builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> {
- unimplemented!()
- }
-
- /// See the docs in the crate root file.
- pub unsafe fn make_current(&self) -> Result<(), ContextError> {
- unimplemented!()
- }
-
- /// See the docs in the crate root file.
- pub fn is_current(&self) -> bool {
- unimplemented!()
- }
-
- /// See the docs in the crate root file.
- pub fn get_proc_address(&self, _addr: &str) -> *const () {
- unimplemented!()
- }
-
- pub fn get_api(&self) -> ::Api {
- ::Api::OpenGlEs
- }
-}
-
-unsafe impl Send for HeadlessContext {}
-unsafe impl Sync for HeadlessContext {}