Do not try to use GL_texture_rectangle on GL ES
authorkkinnunen <kkinnunen@nvidia.com>
Wed, 17 Feb 2016 07:15:40 +0000 (23:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Feb 2016 07:15:40 +0000 (23:15 -0800)
commite06ed2554064781237430cfbd3abddd6c85126eb
treec2147e60dd51712df61b6dec84c334eadccebfd7
parent32a45f6c96f76e7c57c4ea924dc6b1789859cff7
Do not try to use GL_texture_rectangle on GL ES

Do not try to use ARB_GL_texture_rectangle on GL ES.
Command buffer exposes it, but it's not recommended. It also
does not work with TexImage2D, and ANGLE does not
have support for it on with GL ES 3.0 source context.

Bug triggered only when trying to use command buffer in
GL ES 3.0 mode.

BUG=angleproject:1313
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1691853003

Review URL: https://codereview.chromium.org/1691853003
src/gpu/gl/GrGLCaps.cpp