OSDN Git Service

More blitFramebuffer fixes
authorAlexis Hetu <sugoi@google.com>
Wed, 30 Nov 2016 19:34:07 +0000 (14:34 -0500)
committerAlexis Hétu <sugoi@google.com>
Wed, 30 Nov 2016 19:46:42 +0000 (19:46 +0000)
commit166af499d36f7ca1d542bfc46ca37468bf9fbdab
treedaae7b112fb76af9b15b94ccd624f0f2e175135f
parent58ead9eca5847f06bf9c0455b2b85a1a7835dd13
More blitFramebuffer fixes

A few minor adjustments:
- The validity of blit operations with the same bounds on source
  and destination buffer also extends to color buffers
- Renderbuffers, whether GL_RENDERBUFFER or GL_FRAMEBUFFER_DEFAULT
  are considered of the same type for the purpose of blitting

Change-Id: I0de7c19aa8b07fa57ed33b98be4a4ab609e6e115
Reviewed-on: https://swiftshader-review.googlesource.com/8213
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLESv2/Context.cpp