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

Issue 8227: Switch from using GdkPixbuf to cairo for painting on Drawables. (Closed)

Created:
12 years, 1 month ago by agl
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Switch from using GdkPixbuf to cairo for painting on Drawables. Make everything use ARGB order in registers (B.G.R.A order in memory on little-endian systems)

Patch Set 1 #

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -36 lines) Patch
M base/gfx/bitmap_platform_device_linux.h View 1 3 chunks +47 lines, -14 lines 1 comment Download
M base/gfx/bitmap_platform_device_linux.cc View 4 chunks +12 lines, -20 lines 0 comments Download
M skia/include/corecg/SkUserConfig.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/gtk/webwidget_host.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
agl
12 years, 1 month ago (2008-11-05 22:53:34 UTC) #1
Evan Martin
Code looks great, so my comments are mostly on the comments. http://codereview.chromium.org/8227/diff/1/3 File base/gfx/bitmap_platform_device_linux.h (right): ...
12 years, 1 month ago (2008-11-05 23:03:21 UTC) #2
agl
http://codereview.chromium.org/8227/diff/1/3 File base/gfx/bitmap_platform_device_linux.h (right): http://codereview.chromium.org/8227/diff/1/3#newcode11 Line 11: #include <cairo/cairo.h> On 2008/11/05 23:03:21, Evan Martin wrote: ...
12 years, 1 month ago (2008-11-05 23:19:52 UTC) #3
Evan Martin
12 years, 1 month ago (2008-11-05 23:52:23 UTC) #4
LGTM

warning: the #error bit might not work on other compilers (I don't know either
way, to be honest).  might be worth a trybot run.

http://codereview.chromium.org/8227/diff/402/206
File base/gfx/bitmap_platform_device_linux.h (right):

http://codereview.chromium.org/8227/diff/402/206#newcode11
Line 11: struct _cairo_surface;
this isn't necessary when you have the following line

Powered by Google App Engine
This is Rietveld 408576698