Re-enable default sized formats, handling BGRA exception.
authorjvanverth <jvanverth@google.com>
Wed, 17 Dec 2014 18:46:01 +0000 (10:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Dec 2014 18:46:01 +0000 (10:46 -0800)
commitf72b752836e8c594e703f8b73a4df66daa09423e
tree7cc5c8fa7747403baa6a61f61f37fbec07fe2af1
parent042a6fe10a5304e4fb0501a19ae3aa2b1920da76
Re-enable default sized formats, handling BGRA exception.

Sized texture formats are accepted by OpenGL desktop and ES 3.0,
except when using BGRA with GL_EXT_texture_format_BGRA8888.
In that case we fall back to using the unsized format.

Review URL: https://codereview.chromium.org/811133002
src/gpu/gl/GrGpuGL.cpp