[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Typed Arrays
- To: jdavis@pcprogramming.com
- Subject: Re: [Public WebGL] Typed Arrays
- From: Kenneth Russell <kbr@google.com>
- Date: Fri, 17 Dec 2010 11:26:35 -0800
- Cc: public webgl <public_webgl@khronos.org>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1292613996; bh=btmgiIvmRtltb6qTVqOIZ75IP5Q=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=JRazz5J1qbb4X/5BB3/h1lxJpjJGbhjsWAm05zG4g7I+lm+Muy/4hjaLxyG7T6lAt 650rP32KXrKJ0vINLGBbQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=L7/cg63d56OvgDYj51h9AJ25MIIx+DJpgpvNaJxf41k=; b=ytIPmjIAnXiC6MBuzJVvsaP0S/qydTOTsELCJfQWl3vd+yCVIVI99PaUreujjz4bDk yTCOCGj2wdulFjW+ol9A==
- Domainkey-signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=yhS5CLaQ21VR8AdU0X7A+ZHditOjPX4MLOEctu9KdB/lRk7ZgdQOf9ffvK+KG4wFkT Y+ejhtCD0PP/3Dq/nYog==
- In-reply-to: <AANLkTi=akBru1qub58R4cGwkHpg4pr+bocqhGUVc+QFz@mail.gmail.com>
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- References: <AANLkTi=akBru1qub58R4cGwkHpg4pr+bocqhGUVc+QFz@mail.gmail.com>
- Sender: owner-public_webgl@khronos.org
On Thu, Dec 16, 2010 at 5:28 PM, John Davis <jdavis@pcprogramming.com> wrote:
> Pleeeze don't flog me for asking here.
> For Chrome, what is the way to get from an XHR to a typed array? Just need
> a link.
For both Safari and Chromium nightly builds, use the new .responseType
and .response fields on XHR. See
https://bugs.webkit.org/show_bug.cgi?id=49633 .
P.S. You really should use the Typed Array spec's DataView to parse
the response from the XHR rather than assuming the endianness of your
host system, in particular for multi-byte values.
-Ken
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: