Commit 8f525403 authored by owenlin@chromium.org's avatar owenlin@chromium.org

rendering_helper - Unbind the thumbnail texture.

Otherwise, before the ActiveTexture0 binding to other texture,
the thumbnail texture will be blended with other decoded frames.

This can be observed with low rendering fps on ARM CrOS device.

BUG=None
TEST=Run the vda_unittest on arm cros device.

Review URL: https://codereview.chromium.org/367373008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281735 0039d316-1c4b-4281-b951-d872f2087c98
parent 60fe970c
......@@ -275,6 +275,7 @@ void RenderingHelper::Initialize(const RenderingHelperParams& params,
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glBindTexture(GL_TEXTURE_2D, 0);
glBindFramebufferEXT(GL_FRAMEBUFFER, thumbnails_fbo_id_);
glFramebufferTexture2DEXT(GL_FRAMEBUFFER,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment