Better HN
topnewbestaskshowjobs
Log inSign up

atnan

138 karma · joined Nov 3, 2011 (15y ago) · 14 submissions

Submissions

comment 14y ago · link · parent

Indeed, Apple's Mac OS X QuartzGL framework (GPU accelerated drawing/rasterisation) is slower than the equivalent CPU-based Quartz framework in may cases.

You're being shafted by downvoters who don't really know what they're talking about.

comment 14y ago · link · parent

Turning on hardware acceleration doesn't cause all Android views to be FBO-backed. You still need to toggle the layerType to LAYER_TYPE_HARDWARE on each view, as far as I'm aware. I think the G+ post is a little disingenuous in that regard.

Google suggests toggling between LAYER_TYPE_NONE & LAYER_TYPE_HARDWARE pre/post animations. This need to actively manage view cache behaviour probably leads to developers being unaware of what to do.

3.

Enabling Remote Debugging via Private APIs in Mobile Safari(atnan.com ↗)

13 points · by atnan · 15y ago · 4 comments

comment 15y ago · link · parent

If you're only interested in the canvas-based ASM/C++ walkthrough, you'll find it here:

http://overbyte.com.au/misc/Lesson2/asmVScppL2.html

5.

CPU pipeline optimisation lesson incl. an interactive ASM/C++ walkthrough(overbyte.com.au ↗)

2 points · by atnan · 15y ago · 1 comment

6.

iOS vs. Android ICS: Hardware Accelerated Graphics Pipelines(atnan.com ↗)

3 points · by atnan · 15y ago · discuss

comment 15y ago · link · parent

This is why the graphics APIs are C.

Also, if you're calling an Objective-C method and dynamic dispatch is causing measurable performance issues, you can cache a pointer to the C function that backs the method (called the IMP) via the class_getMethodImplementation() runtime API.

comment 15y ago · link · parent

The security at WWDC are Apple employees, according to the one I asked at WWDC08.

9.

Blaine "Runtimes Wizard" Garst Retiring after 21 years at Apple(atnan.com ↗)

3 points · by atnan · 15y ago · discuss

comment 15y ago · link · parent

TN2239 is invaluable for debugging and digging through things you shouldn't necessarily be poking around in :-)

comment 15y ago · link · parent

For that you'd probably want to dig into WebKit.framework — the private WebPluginController & WebPluginDatabase classes look rather interesting.

comment 15y ago · link · parent

Hi Ryan,

That's pretty neat! An unfortunate side effect is that running Mobile Safari unsigned negates the 'dynamic-codesigning' entitlement, which means that Nitro is disabled.

That said, a WebGL-enabled UIWebView running in your own app will also not be Nitro-enabled. I've run the PhiloGL spinning world demo on my device and it's running at 40fps, so simpler demos may be possible without a Nitro to boost things a bit.

Cheers,

Nathan

comment 15y ago · link · parent

The argument that WebGL "competes" with OpenGL-ES, to the detriment of Apple, makes very little sense to me.

You only need to look at the number of engineers Apple has contributing to WebKit & new web standards (CSS transitions & animations, WebGL etc.).

14.

Enabling & using WebGL on iOS 4.2+(atnan.com ↗)

98 points · by atnan · 15y ago · 22 comments