mail-archives/monodroid/2011-December/007520.html

95 строки
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Handling texture loss in OpenTK on mono for android
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Handling%20texture%20loss%20in%20OpenTK%20on%20mono%20for%0A%09android&In-Reply-To=1323125037792-5050387.post%40n5.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007519.html">
<LINK REL="Next" HREF="007590.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Handling texture loss in OpenTK on mono for android</H1>
<B>Andreia Gaita</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Handling%20texture%20loss%20in%20OpenTK%20on%20mono%20for%0A%09android&In-Reply-To=1323125037792-5050387.post%40n5.nabble.com"
TITLE="[mono-android] Handling texture loss in OpenTK on mono for android">shana at xamarin.com
</A><BR>
<I>Mon Dec 5 17:59:47 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007519.html">[mono-android] Handling texture loss in OpenTK on mono for android
</A></li>
<LI>Next message: <A HREF="007590.html">[mono-android] Handling texture loss in OpenTK on mono for android
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7520">[ date ]</a>
<a href="thread.html#7520">[ thread ]</a>
<a href="subject.html#7520">[ subject ]</a>
<a href="author.html#7520">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Chris,
On Mon, Dec 5, 2011 at 10:43 PM, <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">chris at Terrago</A> &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">cdrake at terragotech.com</A>&gt;wrote:
&gt;<i> Thanks for the clarification. I rechecked it and you are correct. You do
</I>&gt;<i> get
</I>&gt;<i> an OnLoad event after the pause, however you do not get an onResume event
</I>&gt;<i> and the graphics context is null.
</I>
Hmmm, ok, thanks for testing, I'll see what's going on there. What api
level/android version are you testing on, btw?
andreia gaita
&gt;<i> For some reason this only occurs on
</I>&gt;<i> rotation and sleep, if the activity is paused because another activity is
</I>&gt;<i> becoming active then the context is recreated successfully upon resuming
</I>&gt;<i> the
</I>&gt;<i> activity hosting the AndroidGameView.
</I>&gt;<i>
</I>&gt;<i> Chris
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> View this message in context:
</I>&gt;<i> <A HREF="http://mono-for-android.1047100.n5.nabble.com/Handling-texture-loss-in-OpenTK-on-mono-for-android-tp5045738p5050387.html">http://mono-for-android.1047100.n5.nabble.com/Handling-texture-loss-in-OpenTK-on-mono-for-android-tp5045738p5050387.html</A>
</I>&gt;<i> Sent from the Mono for Android mailing list archive at Nabble.com.
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Monodroid mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;<i>
</I>&gt;<i> UNSUBSCRIBE INFORMATION:
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111205/94ab955f/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111205/94ab955f/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007519.html">[mono-android] Handling texture loss in OpenTK on mono for android
</A></li>
<LI>Next message: <A HREF="007590.html">[mono-android] Handling texture loss in OpenTK on mono for android
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7520">[ date ]</a>
<a href="thread.html#7520">[ thread ]</a>
<a href="subject.html#7520">[ subject ]</a>
<a href="author.html#7520">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>