android-developers
[Arriba] [Todas las Listas]

[android-developers] SurfaceView lockCanvas Toma demasiado tiempo

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] SurfaceView lockCanvas Toma demasiado tiempo
From: minhua zhang <mzhua78@xxxxxxxxx>
Date: Sun, 6 Aug 2017 06:10:32 -0700 (PDT)
Delivery-date: Sun, 06 Aug 2017 09:11:56 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=SJSb+Rj6fDVrEkSNw7VtHAdZdxa5hJBD3P4vBlsiyEA=; b=gvashY/k6ESnYeGJ+agJVwYPNekVLA1n6w+a6Vw987W8iSCuWmlQLbH8NJNTXHTt2s ytwvobjcMbl5NOZ7Lnec0qz9YF2Z05MRaTAyoDG7Gm52e62qe91ZSjkDzc7+O9Yz6oFm 57A3p5aBkN/7ElpcSmRj9i93vht+QJ+3y92C+cRfpjfm1OOQ5B1csH5IjTN6j5F19LTH C7uRF++ZovhuSrbXxq1TREU2LiNPFlFS+VW4+Iygz2oWm9bubV3nbdsUrXCaeXMNWojd 2C+6zAvA0iQ6e4htlsxjT2rqFiPcieqFEReCIXF24Vnmuk4cSnWhi876u1nql7SqG6l8 BSxA==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=SJSb+Rj6fDVrEkSNw7VtHAdZdxa5hJBD3P4vBlsiyEA=; b=NWJcnFMsFX5AnsjXBsu1FA3N5lcJeoEezpxqzjZOywJEPHX+VcYZdN9Fw0zHn9O8N5 xLGBpIgOINu2gTuDT9f7d6jRSXnxm2FJdgAmcBdwLfOndRULvK1XlhwzHKePQFfn81hH SOdY2almqQ+QqF24cOf6dco4BCuz3TpW7tEigQ4A9HuMX75s4D1uQdkHxbU45s72vG0A 3vTFp30dOLmx2SOtbDkjX/u93U5m5fLslAHZhciIRVCGmBzfZPXLU3+la+V+l//2YFup aPWipYDeD3mTy79nCLAjkTMqDCpT8yoNNDpoGpXyqrzjWwoGmd6FDxujMnO6VtP/0MpK Avmg==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Quiero dibujar *bitmaps con *SurfaceView *f'*requently. 
Pero la animación no es *fluency,  entonces *i encontrado único
 *mHolder.*lockCanvas()
Ya ha costado más que 15*ms. 

Hace cualquiera sabe por qué, o cómo para utilizar *SurfaceView a *achive alto *fps 
*performence.

*Thanks.

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/91841*b43-*bdca-4711-#uno0*f7-3*c93*c237*ed6*e%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
I want to draw bitmaps with SurfaceView f'requently. 
But the animation is not fluency,  then i found only
 mHolder.lockCanvas()
has already cost more than 15ms. 

Does anyone knows why, or how to use SurfaceView to achive high fps 
performence.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/91841b43-bdca-4711-a0f7-3c93c237ed6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] SurfaceView lockCanvas Toma demasiado tiempo, minhua zhang <=