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

Unified Diff: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h

Issue 7590009: Merge 92255 - Source/WebCore: [Chromium] Use edge-distance method for layer anti-aliasing. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (revision 92714)
+++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (working copy)
@@ -122,6 +122,7 @@
static void debugGLCall(GraphicsContext3D*, const char* command, const char* file, int line);
const TransformationMatrix& projectionMatrix() const { return m_projectionMatrix; }
+ const TransformationMatrix& windowMatrix() const { return m_windowMatrix; }
bool checkTextureSize(const IntSize&);
int maxTextureSize() const { return m_maxTextureSize; }
@@ -133,6 +134,8 @@
const RenderSurfaceChromium::MaskProgram* renderSurfaceMaskProgram();
const LayerTilerChromium::Program* tilerProgram();
const LayerTilerChromium::ProgramSwizzle* tilerProgramSwizzle();
+ const LayerTilerChromium::ProgramAA* tilerProgramAA();
+ const LayerTilerChromium::ProgramSwizzleAA* tilerProgramSwizzleAA();
const CCCanvasLayerImpl::Program* canvasLayerProgram();
const CCPluginLayerImpl::Program* pluginLayerProgram();
const CCVideoLayerImpl::RGBAProgram* videoLayerRGBAProgram();
@@ -211,6 +214,7 @@
IntPoint m_viewportScrollPosition;
TransformationMatrix m_projectionMatrix;
+ TransformationMatrix m_windowMatrix;
RefPtr<LayerChromium> m_rootLayer;
OwnPtr<LayerTextureUpdater> m_rootLayerTextureUpdater;
@@ -239,6 +243,8 @@
OwnPtr<RenderSurfaceChromium::MaskProgram> m_renderSurfaceMaskProgram;
OwnPtr<LayerTilerChromium::Program> m_tilerProgram;
OwnPtr<LayerTilerChromium::ProgramSwizzle> m_tilerProgramSwizzle;
+ OwnPtr<LayerTilerChromium::ProgramAA> m_tilerProgramAA;
+ OwnPtr<LayerTilerChromium::ProgramSwizzleAA> m_tilerProgramSwizzleAA;
OwnPtr<CCCanvasLayerImpl::Program> m_canvasLayerProgram;
OwnPtr<CCVideoLayerImpl::RGBAProgram> m_videoLayerRGBAProgram;
OwnPtr<CCVideoLayerImpl::YUVProgram> m_videoLayerYUVProgram;

Powered by Google App Engine
This is Rietveld 408576698