Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Issue 324253005: rendering_helper - Activate the appropriate texture target. (Closed)

Created:
6 years, 6 months ago by Owen Lin
Modified:
6 years, 6 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

The program crashed if the platform didn't support GL_TEXTURE_EXTERNAL_OES at all. Since only one of GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES would be used. Switch active texture according to the target type and unbound the texture after use. BUG=chromium:383414 TEST=Run the unittest on link and peach-pit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277977

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -9 lines) Patch
M content/common/gpu/media/rendering_helper.cc View 1 chunk +4 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Owen Lin
PTAL. Thanks.
6 years, 6 months ago (2014-06-17 08:02:44 UTC) #1
scherkus (not reviewing)
lgtm
6 years, 6 months ago (2014-06-17 16:13:51 UTC) #2
Owen Lin
The CQ bit was checked by owenlin@chromium.org
6 years, 6 months ago (2014-06-18 02:15:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/324253005/20001
6 years, 6 months ago (2014-06-18 02:18:04 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 07:46:04 UTC) #5
Message was sent while issue was closed.
Change committed as 277977

Powered by Google App Engine
This is Rietveld 408576698