Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CD6C9FC0 for ; Fri, 15 Jun 2012 02:01:32 +0000 (UTC) Received: (qmail 88217 invoked by uid 500); 15 Jun 2012 02:01:32 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 88187 invoked by uid 500); 15 Jun 2012 02:01:32 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 88179 invoked by uid 99); 15 Jun 2012 02:01:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 02:01:32 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mikeywbrooks@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 02:01:27 +0000 Received: by mail-lb0-f175.google.com with SMTP id l5so2424115lbo.6 for ; Thu, 14 Jun 2012 19:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=adfW8B+nAXLNO5qZZ5DR3931sSkQLznL+U86Oxet0cw=; b=zkhj8dtqWbpwAWCbXYKk1fidkyUuRSEA9y8xTO4SntL5l+wOKuhZS8m8vXaBGExLIw angK5X6BZA8vEugvw1E+FMcCWp+Mv7vmnFMEl61ab+GPYWgByClCXMw/DLchoXONCZKa R8NH9gmpUA4z6XrUqwOqDbq29vnX+pLPnJQ5NoJXH2S6twIrnY72LLhhaNRiz9tr4DCl aX06N8qEpTMsbiHmeWUnHSuVuH1X4rHgKMBe3zHjZotCrxc++iXbq/0ClwKKR5GlnKFJ zAY957oN0QQPXXiu7Ty+bFPXWVW7rKmtlrwJJPCDnWTd5+VNAP0Tg8tVCvbiHPycBcCi mpiA== MIME-Version: 1.0 Received: by 10.112.23.200 with SMTP id o8mr1943582lbf.9.1339725666527; Thu, 14 Jun 2012 19:01:06 -0700 (PDT) Sender: mikeywbrooks@gmail.com Received: by 10.114.20.197 with HTTP; Thu, 14 Jun 2012 19:01:06 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Jun 2012 19:01:06 -0700 X-Google-Sender-Auth: MxAa_Opk4ynvSpn3RMWqvwfVs8g Message-ID: Subject: Re: Project Pender for inclusion in Cordova-labs From: Michael Brooks To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=485b390f7bfe732bcd04c27930c4 X-Virus-Checked: Checked by ClamAV on apache.org --485b390f7bfe732bcd04c27930c4 Content-Type: text/plain; charset=ISO-8859-1 Cool stuff Lorin! One question: 1) Can you use Pender with embedded canvas elements or must the canvas element be fullscreen? Long ago, I remember Jesse MacFadyen played around with embedding UIKit elements inside of the iOS UIWebView. Using of the offset and dimensions of the
placeholder, he could overlay the UIKit component in the correct position. The result was that you can scroll the webview and the native component looked as though it was embedded inside the webpage. Michael On Thu, Jun 14, 2012 at 6:38 PM, Patrick Mueller wrote: > On Thu, Jun 14, 2012 at 5:25 PM, Lorin Beer wrote: > > > > > Project Pender provides a hardware accelerated 2D graphics api wit JS > > hooks for mobile devices. This provides a fast drawing context for > > platforms that lack hardware accelerated Canvas drawing in the native > > browser. Currently supported are Android, iOS, Blackberry and Desktop > > Browser. > > > > Sounds very cool, but ... questions. > > 1) any other links to the Pender goo beyond your Github project (thx for > providing that, btw)? > > 2) the latency to get from native to the web view, or vice versa, is not > fantastic. What are the impacts for the Pender APIs? > > 3) embedded JS engine. Kinda weird using SpiderMonkey for iOS instead of > JSC, but ... who am I to judge. Of course, Apple may judge. Has this > shipped on the App Store yet? I'm wondering though if we embedded JSC, > could we make use of the JIT where maybe we can't with UIWebView (seems > unlikely, JIT may need "mark this data as code" which maybe you can't do > from user-land code). > > 4) With the embedded JS engine, I guess you have to split your code between > the Pender stuff and your normal app stuff. Seems like potentially a > confusing aspect for users, but obviously means you get to avoid the native > bridge latency (point 2). I'm curious to see how > > -- > Patrick Mueller > http://muellerware.org > --485b390f7bfe732bcd04c27930c4--