On 2014/02/14 11:27, Joel Croteau wrote:
> That would be a very useful feature. My particular use case is in
> testing whether client-side arrays are available for a GLES2
> application to use, so having some way to know whether FULL_ES2 was
> used would work well.
>
Client-side arrays are inefficient, especially in WebGL, and they are
deprecated in the latest OpenGL & OpenGL ES specifications. If the
application has the ability to put array data in buffer objects, which
is sounds like it must have if you are interested in a run time test,
then you should *always* use buffer objects and delete the client-side
array code.

As for FULL_ES2, the correct way to do this would be to look at
GL_VERSION which, if FULL_ES2 is implemented correctly, should return
ES2 if the app was compiled with FULL_ES2 and something else, probably
WEBGL, if not.

Regards

    -Mark

-- 
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合
が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
報の使用を固く禁じております。エラー、手違いでこのメールを受け取られまし
たら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and
privileged information from HI Corporation. If you are not the intended
recipient, any disclosure, photocopying, distribution or use of the
contents of the received information is prohibited. If you have received
this e-mail in error, please notify the sender immediately and
permanently delete this message and all related copies.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to