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

Issue 11275222: Avoid setting activeTexture redundantly (Closed)

Created:
8 years, 1 month ago by jamesr
Modified:
8 years, 1 month ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, danakj
Visibility:
Public.

Description

Avoid setting activeTexture redundantly We use GL_TEXTURE0 for nearly all operations, so it's cheaper to leave this as the default for all draws and have quads that use other texture units reset to 0. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167030

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : Add file, initialize to INVALID_ENUM #

Patch Set 4 : #

Patch Set 5 : export DrawingFrame to fix win component build #

Patch Set 6 : Rebase for r166988 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -10 lines) Patch
M cc/cc_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/direct_renderer.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 7 chunks +1 line, -6 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 3 3 chunks +55 lines, -0 lines 0 comments Download
M cc/test/render_pass_test_common.h View 2 chunks +6 lines, -0 lines 0 comments Download
A cc/test/render_pass_test_common.cc View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jamesr
If we like the harness I could use it for future redundant state patches. Do ...
8 years, 1 month ago (2012-11-09 00:19:11 UTC) #1
enne (OOO)
The bad part about one test is that it makes failure a lot more opaque. ...
8 years, 1 month ago (2012-11-09 06:14:55 UTC) #2
jamesr
PTAL I think one test with specific EXPECT_EQs should be pretty clear since the test ...
8 years, 1 month ago (2012-11-09 21:06:22 UTC) #3
enne (OOO)
lgtm
8 years, 1 month ago (2012-11-09 21:09:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11275222/3015
8 years, 1 month ago (2012-11-09 21:57:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11275222/11003
8 years, 1 month ago (2012-11-09 22:21:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11275222/4013
8 years, 1 month ago (2012-11-09 22:37:18 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-10 01:32:54 UTC) #8
Change committed as 167030

Powered by Google App Engine
This is Rietveld 408576698