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

Issue 11517014: TextureImageTransport: Remove some debug code in OnMakeCurrent(). (Closed)

Created:
8 years ago by no sievers
Modified:
8 years ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, aelias_OOO_until_Jul13, klobag
Visibility:
Public.

Description

TextureImageTransport: Remove some debug code in OnMakeCurrent(). This check is mostly redundant with the check for framebuffer completeness already performed from CreateBackTexture()->AttachBackTextureToFBO(). The only thing that's different is that the above uses a scoped fbo binding (to the correct fbo), which means that the additional check being removed here was actually verifying potentially invalid assumptions about the original FBO binding at the time OnMakeCurrent() is called. For example, with virtual contexts we restore the binding *after* calling GLSurface::OnMakeCurrent(). BUG=160710 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172214

Patch Set 1 #

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

Messages

Total messages: 4 (0 generated)
no sievers
ptal
8 years ago (2012-12-11 00:28:39 UTC) #1
piman
lgtm
8 years ago (2012-12-11 00:46:21 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11517014/1
8 years ago (2012-12-11 00:48:19 UTC) #3
commit-bot: I haz the power
8 years ago (2012-12-11 00:48:33 UTC) #4
Message was sent while issue was closed.
Change committed as 172214

Powered by Google App Engine
This is Rietveld 408576698