
- 2024年10月
- 2021年5月
- 2020年8月
- 2020年6月
- 2020年5月
- 2019年1月
- 2018年8月
- 2018年6月
- 2018年5月
- 2018年3月
- 2018年1月
- 2017年12月
- 2017年11月
- 2017年10月
- 2017年9月
- 2017年8月
- 2017年7月
- 2017年6月
- 2016年11月
- 2013年9月
- 2013年8月
- 2013年6月
- 2013年5月
- 2013年4月
- 2013年3月
- 2013年2月
- 2013年1月
- 2012年12月
- 2012年11月
- 2012年10月
- 2012年9月
- 2012年6月
- 2012年5月
- 2012年4月
- 2012年2月
- 2011年7月
- 2011年5月
- 2011年4月
- 2011年2月
- 2010年12月
- 2010年11月
- 2010年10月
- 2010年9月
- 2010年8月
- 2010年7月
- 2010年6月
- 2010年5月
- 2010年4月
- 2010年3月
- 2010年2月
- 2010年1月
- 2009年12月
- 2008年2月
- 2008年1月
- 2007年12月
- 2007年5月
- 2007年4月
- 2007年3月
- 2007年2月
テクスチャ関連のAPIが変わった? / magicien
以前、Chromiumのテクスチャがうまく動作しなくなったと思っていたら、最近WebKitのテクスチャのAPIも変わったらしい...
自分のために、WebKitで表示された警告をメモ。
Calling obsolete texImage2D(GLenum target, GLint level, HTMLImageElement image) Calling obsolete texImage2D(GLenum target, GLint level, HTMLImageElement image, GLboolean flipY, GLboolean premultiplyAlpha)最新のAPIってどこで見られるんだろう...
2010/07/10 追記:
せっかくWebKitのソースが公開されているので、ヘッダだけでも見てみた。
ヘッダを見る限り、texImage2Dで今使える引数は、
void texImage2D(unsigned target, unsigned level, unsigned internalformat, unsigned width, unsigned height, unsigned border, unsigned format, unsigned type, ArrayBufferView* pixels, ExceptionCode&); void texImage2D(unsigned target, unsigned level, unsigned internalformat, unsigned format, unsigned type, ImageData* pixels, ExceptionCode&); void texImage2D(unsigned target, unsigned level, unsigned internalformat, unsigned format, unsigned type, HTMLImageElement* image, ExceptionCode&); void texImage2D(unsigned target, unsigned level, unsigned internalformat, unsigned format, unsigned type, HTMLCanvasElement* canvas, ExceptionCode&); void texImage2D(unsigned target, unsigned level, unsigned internalformat, unsigned format, unsigned type, HTMLVideoElement* video, ExceptionCode&);の5種類っぽい。最後のExceptionCodeは内部処理用のものだと思うので、
ExceptionCodeを除く引数がJavaScriptで指定できるものでしょう。
ファイルの場所は、
WebKit-r62909/Webcore/html/canvas/WebGLRenderingContext.h
タグ:
この記事のURL: https://darkhorse2.0spec.jp/117/
2010/07/10(Sat) 00:08:46