Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 12217102: cc: Avoid power of two textures. (Closed)

Created:
7 years, 10 months ago by epenner
Modified:
7 years, 10 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

cc: Avoid power of two textures. After rounding up to 64, it becomes more likely to hit power-of-two textures which are also bad for IMG. So, this avoids powers-of-two for IMG, through a fast-path extension. BUG=175319 No try, since it only failed win_rel full-screen tests, but this only has any effect on Android Imagination devices. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182087

Patch Set 1 #

Patch Set 2 : Move to RendererCapabilities #

Patch Set 3 : Add extension. #

Patch Set 4 : Make extension positive feature. #

Patch Set 5 : Lower-case vendor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -6 lines) Patch
M cc/gl_renderer.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_impl.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M cc/layer_tree_impl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 1 chunk +8 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
epenner
Ptal.
7 years, 10 months ago (2013-02-11 19:19:33 UTC) #1
danakj
I'm not sure if enne/nduca will agree, but I am wondering if this should be ...
7 years, 10 months ago (2013-02-11 19:28:04 UTC) #2
enne (OOO)
Yeah, I have the same thought as danakj. It's a little unexpected to have this ...
7 years, 10 months ago (2013-02-11 19:46:15 UTC) #3
nduca
yesplease, though not settings... this sounds like a renderer capabilities thing
7 years, 10 months ago (2013-02-11 22:21:06 UTC) #4
epenner
Okay renderer capabilities it is. Multiple-of-eight was also added with no flag, but I'm liking ...
7 years, 10 months ago (2013-02-11 23:07:02 UTC) #5
nduca
I think the difference is that mo8 is pretty agreeable everywhere, whereas most gpus can ...
7 years, 10 months ago (2013-02-12 00:57:53 UTC) #6
epenner
Ptal. So while it was 'neat' to find that our GL_VENDOR is 'Chromium', it makes ...
7 years, 10 months ago (2013-02-12 05:43:48 UTC) #7
nduca
How about just exposing an extension via feature_info.cc and then testing for its presence? Its ...
7 years, 10 months ago (2013-02-12 05:45:49 UTC) #8
epenner
Yep. okay. I'd like to call it the "IMG" feature, but I don't get into ...
7 years, 10 months ago (2013-02-12 05:50:55 UTC) #9
epenner
+Gman for new extension review. Ptal.
7 years, 10 months ago (2013-02-12 06:22:21 UTC) #10
nduca
Hahah nice. GL_CHROMIUM_your_driver_is_hopelessly_bizarre_give_up_all_hope_1
7 years, 10 months ago (2013-02-12 06:42:28 UTC) #11
nduca
parenthetically, lgtm
7 years, 10 months ago (2013-02-12 06:42:36 UTC) #12
greggman
This seems like abuse of the extensions system. The extension string is suppose to tell ...
7 years, 10 months ago (2013-02-12 17:50:43 UTC) #13
epenner
Yeah I agree. It's really gross, which is why I think everyone has avoided this ...
7 years, 10 months ago (2013-02-12 18:47:49 UTC) #14
epenner
Okay I advertised a special fast path extension, which I think fits the model a ...
7 years, 10 months ago (2013-02-12 20:40:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12217102/13001
7 years, 10 months ago (2013-02-12 20:44:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12217102/16002
7 years, 10 months ago (2013-02-12 21:32:10 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=111006
7 years, 10 months ago (2013-02-13 01:14:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12217102/16002
7 years, 10 months ago (2013-02-13 01:45:33 UTC) #19
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 02:02:54 UTC) #20
Message was sent while issue was closed.
Change committed as 182087

Powered by Google App Engine
This is Rietveld 408576698