aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg/platform/android/surface.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-01-16 12:57:44 -0700
committerbors-servo <metajack+bors@gmail.com>2015-01-16 12:57:44 -0700
commitefae66bccb116ddf41857436718ef1556243a3f2 (patch)
tree71164ad17115fb9a9d2e280d168cee8519b69fff /components/msg/platform/android/surface.rs
parentc70197b48d64a3228c6d0cffafa1671a843fcc9d (diff)
parentc3d23a063080ff7446af904e32ac6b661a4cd653 (diff)
downloadservo-efae66bccb116ddf41857436718ef1556243a3f2.tar.gz
servo-efae66bccb116ddf41857436718ef1556243a3f2.zip
auto merge of #4625 : mrobinson/servo/surface-refactor, r=jdm
We no longer need to implement from_azure_surface in Servo, now that rust-layers is handling more of the glue between rust-layers and Azure.
Diffstat (limited to 'components/msg/platform/android/surface.rs')
-rw-r--r--components/msg/platform/android/surface.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/components/msg/platform/android/surface.rs b/components/msg/platform/android/surface.rs
deleted file mode 100644
index 6f2e962d804..00000000000
--- a/components/msg/platform/android/surface.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-//! EGL-specific implementation of cross-process surfaces. This uses EGL surfaces.
-
-use platform::surface::NativeSurfaceAzureMethods;
-
-use azure::AzSkiaGrGLSharedSurfaceRef;
-use layers::platform::surface::NativeSurface;
-use std::mem;
-
-impl NativeSurfaceAzureMethods for NativeSurface {
- fn from_azure_surface(surface: AzSkiaGrGLSharedSurfaceRef) -> NativeSurface {
- unsafe {
- NativeSurface::from_image_khr(mem::transmute(surface))
- }
- }
-}
-