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

Issue 8341089: GTK: More profiling of the rendering path. (Closed)

Created:
9 years, 1 month ago by Elliot Glaysher
Modified:
9 years, 1 month ago
Reviewers:
Evan Stade
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

GTK: More profiling of the rendering path. - Cleanup TabRendererGtk::PaintIcon so select which surface we should paint and instead of copy/pasting the same code in each block. - When calling any version of GtkThemeService::GetCached*, don't first get the pixbuf (which can lock) and then check if you have a cairo cached version of the pixbuf, discarding the result of locking every time except the first. BUG=100803 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107817

Patch Set 1 #

Total comments: 6

Patch Set 2 : Some of estade's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -42 lines) Patch
M chrome/browser/ui/gtk/gtk_theme_service.h View 5 chunks +31 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_theme_service.cc View 6 chunks +53 lines, -11 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 1 1 chunk +19 lines, -27 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Elliot Glaysher
9 years, 1 month ago (2011-10-27 23:18:35 UTC) #1
Evan Stade
lgtm http://codereview.chromium.org/8341089/diff/1/chrome/browser/ui/gtk/gtk_theme_service.h File chrome/browser/ui/gtk/gtk_theme_service.h (right): http://codereview.chromium.org/8341089/diff/1/chrome/browser/ui/gtk/gtk_theme_service.h#newcode172 chrome/browser/ui/gtk/gtk_theme_service.h:172: typedef GdkPixbuf*(GtkThemeService::*PixbufProvidingMethod)(int id) const; define type close to ...
9 years, 1 month ago (2011-10-28 20:34:25 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/8341089/4002
9 years, 1 month ago (2011-10-28 20:48:41 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/8341089/diff/1/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc File chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/8341089/diff/1/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc#newcode848 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc:848: PaintLoadingAnimation(widget, cr); On 2011/10/28 20:34:25, Evan Stade wrote: > ...
9 years, 1 month ago (2011-10-28 20:48:42 UTC) #4
commit-bot: I haz the power
9 years, 1 month ago (2011-10-28 23:17:30 UTC) #5
Change committed as 107817

Powered by Google App Engine
This is Rietveld 408576698