summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_mac.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 22:15:19 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 22:15:19 +0000
commit54910b7969906431a43c7a17bd1ee580f8eeb9fa (patch)
treefd12d10eb9b2a8d48311e82e585d113d56a730b1 /skia/ext/platform_device_mac.h
parentd5fbc00d5d55132f03f229f3dba001fc62ee6795 (diff)
downloadchromium_src-54910b7969906431a43c7a17bd1ee580f8eeb9fa.zip
chromium_src-54910b7969906431a43c7a17bd1ee580f8eeb9fa.tar.gz
chromium_src-54910b7969906431a43c7a17bd1ee580f8eeb9fa.tar.bz2
Pull WebKit deps to get transparency fixes, and rebaseline affected layout tests.
Add a helper class to manage Windows' transparency issues. It will create layers and manage transforms in such a way that most effects can be achieved with fonts and form controls on Windows while looking nice. This removes the magic transparency color and associated infrastructure since it is no longer needed. This fixes semitransparent ClearType antialiasing and pngs with alpha channels with opacity applied. BUG=559,2791,3229,6372 Review URL: http://codereview.chromium.org/21201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_mac.h')
-rwxr-xr-xskia/ext/platform_device_mac.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/skia/ext/platform_device_mac.h b/skia/ext/platform_device_mac.h
index dbfed5c..b2136af 100755
--- a/skia/ext/platform_device_mac.h
+++ b/skia/ext/platform_device_mac.h
@@ -35,18 +35,9 @@ class PlatformDeviceMac : public SkDevice {
virtual void DrawToContext(CGContextRef context, int x, int y,
const CGRect* src_rect) = 0;
- // Sets the opacity of each pixel in the specified region to be opaque.
- void makeOpaque(int x, int y, int width, int height);
-
// Returns if the preferred rendering engine is vectorial or bitmap based.
virtual bool IsVectorial() = 0;
- // On platforms where the native rendering API does not support rendering
- // into bitmaps with a premultiplied alpha channel, this call is responsible
- // for doing any fixup necessary. It is not used on the Mac, since
- // CoreGraphics can handle premultiplied alpha just fine.
- virtual void fixupAlphaBeforeCompositing() = 0;
-
// Initializes the default settings and colors in a device context.
static void InitializeCGContext(CGContextRef context);