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

Issue 6726005: Added a command-line flag to enable h/w accelerated rendering of content layers. (Closed)

Created:
9 years, 9 months ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org, reed1, bsalomon
Visibility:
Public.

Description

Added a command-line flag to enable h/w accelerated rendering of content layers. R=tony@chromium.org,darin@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80822

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/content_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_switches.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webpreferences.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webpreferences.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
alokp
I will commit this only after webkit side changes have landed.
9 years, 9 months ago (2011-03-22 19:57:48 UTC) #1
vangelis
I would recommend using a different name as eventually we'll want to be drawing other ...
9 years, 9 months ago (2011-03-22 20:10:08 UTC) #2
alokp
On 2011/03/22 20:10:08, vangelis wrote: > I would recommend using a different name as eventually ...
9 years, 9 months ago (2011-03-22 20:46:13 UTC) #3
vangelis
You're right, it's the root layer and the content layers. I guess the term content ...
9 years, 9 months ago (2011-03-22 20:58:54 UTC) #4
jamesr
Apple's calling the prefs acceleratedDrawingEnabled / canvasUsesAcceleratedDrawing, FWIW
9 years, 9 months ago (2011-03-22 21:01:39 UTC) #5
vangelis
enable-accelerated-drawing sounds good too. Removing the word "layer" from the flag makes it a bit ...
9 years, 9 months ago (2011-03-22 21:04:18 UTC) #6
alokp
On 2011/03/22 21:04:18, vangelis wrote: > enable-accelerated-drawing sounds good too. Removing the word "layer" from ...
9 years, 9 months ago (2011-03-22 22:41:05 UTC) #7
tony
LGTM if it's OK with vangelis.
9 years, 9 months ago (2011-03-22 22:53:18 UTC) #8
vangelis
On 2011/03/22 22:53:18, tony wrote: > LGTM if it's OK with vangelis. LGTM for me ...
9 years, 9 months ago (2011-03-23 07:19:25 UTC) #9
alokp
On 2011/03/23 07:19:25, vangelis wrote: > On 2011/03/22 22:53:18, tony wrote: > > LGTM if ...
9 years, 8 months ago (2011-04-07 16:49:15 UTC) #10
jam
lgtm with the one change http://codereview.chromium.org/6726005/diff/14001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/6726005/diff/14001/chrome/common/chrome_switches.h#newcode124 chrome/common/chrome_switches.h:124: extern const char kEnableAcceleratedDrawing[]; ...
9 years, 8 months ago (2011-04-07 17:46:00 UTC) #11
alokp
http://codereview.chromium.org/6726005/diff/14001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/6726005/diff/14001/chrome/common/chrome_switches.h#newcode124 chrome/common/chrome_switches.h:124: extern const char kEnableAcceleratedDrawing[]; On 2011/04/07 17:46:00, John Abd-El-Malek ...
9 years, 8 months ago (2011-04-07 18:09:58 UTC) #12
darin (slow to review)
LGTM http://codereview.chromium.org/6726005/diff/18003/content/common/content_switches.cc File content/common/content_switches.cc (right): http://codereview.chromium.org/6726005/diff/18003/content/common/content_switches.cc#newcode76 content/common/content_switches.cc:76: const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; nit: please note ...
9 years, 8 months ago (2011-04-07 18:22:03 UTC) #13
vangelis
On 2011/04/07 17:46:00, John Abd-El-Malek wrote: > lgtm with the one change > > http://codereview.chromium.org/6726005/diff/14001/chrome/common/chrome_switches.h ...
9 years, 8 months ago (2011-04-07 18:35:04 UTC) #14
alokp
http://codereview.chromium.org/6726005/diff/18003/content/common/content_switches.cc File content/common/content_switches.cc (right): http://codereview.chromium.org/6726005/diff/18003/content/common/content_switches.cc#newcode76 content/common/content_switches.cc:76: const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; On 2011/04/07 18:22:03, darin ...
9 years, 8 months ago (2011-04-07 18:59:19 UTC) #15
darin (slow to review)
9 years, 8 months ago (2011-04-07 19:04:59 UTC) #16
On Thu, Apr 7, 2011 at 11:59 AM, <alokp@chromium.org> wrote:

>
>
>
http://codereview.chromium.org/6726005/diff/18003/content/common/content_swit...
> File content/common/content_switches.cc (right):
>
>
>
http://codereview.chromium.org/6726005/diff/18003/content/common/content_swit...
> content/common/content_switches.cc:76: const char
> kEnableAcceleratedDrawing[] = "enable-accelerated-drawing";
> On 2011/04/07 18:22:03, darin wrote:
>
>> nit: please note the indentation of the "=" sign.  it should line up
>>
> in a column
>
>> with the others.
>>
>
> Done. Does it really improve readability?
>
>
heh.... it is good to be consistent.
-darin



>
> http://codereview.chromium.org/6726005/
>

Powered by Google App Engine
This is Rietveld 408576698