[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Public WebGL] copyTexImage2D and copyTexSubImage2D
- To: public webgl <public_webgl@khronos.org>
- Subject: [Public WebGL] copyTexImage2D and copyTexSubImage2D
- From: "Mo, Zhenyao" <zhenyao@gmail.com>
- Date: Thu, 23 Dec 2010 09:58:04 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=dd3EyJraOGzrTJSEctVCHVXeLL7FeKclr301C2d9HzE=; b=PacVA5QQqlgxVY3vQwTcSyZBSrWnHP6G5YDfs7qhY0UZZNhviOms1e0gXFbaHbdzHb RLJ2WLS/Hs3GTP3pX+9UsLF4R6YJtJq8bH/GbVQOHXcfD7hfwZ8aupyyco5m40rNA2V/ tBpg1gCPxvqZDKPvuN/lZUbfg3FZdBwAwLQvs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UP7yACK3kKJ0TIIEWjec4/8jW73Ww6/pNHn60hs/nCEm/E+pT8V2BNwIUcSZDKtUmz 8AN2FICAuMeKZnwvGtwFak7+1pn7erbtyFDsPwwHkoKecSTllcCXBNBz1F1gRyxxqneX 5FAAS03rZOg9IEhh9bE5z6Ya3xXxBdAnCDPmw=
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- Sender: owner-public_webgl@khronos.org
In WebGL spec, we say "For any pixel lying outside the frame buffer,
the value read contains 0 in all channels" for readPixels. Shouldn't
we say the same thing for copyTexImage2D?
As in the case of copyTexSubImage2D, pixels outside the frame buffer
could be cleared to 0, or could be untouched. The latter would be
more efficient. However, whatever way we decide, it should be made
explicit, so we could have conformance test against it. "Undefined"
is unacceptable for security reasons.
-----------------------------------------------------------
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: