Title: [137395] trunk/Source/WebCore
- Revision
- 137395
- Author
- [email protected]
- Date
- 2012-12-11 17:23:47 -0800 (Tue, 11 Dec 2012)
Log Message
[EFL] Missing implementation of GraphicsContext3DPrivate::platformLayerSize()
https://bugs.webkit.org/show_bug.cgi?id=104726
Patch by Viatcheslav Ostapenko <[email protected]> on 2012-12-11
Reviewed by Kenneth Rohde Christiansen.
Add common implementation of GraphicsContext3DPrivate::platformLayerSize() similar
to Qt version. There is nothing platform specific in Qt version.
Covered by existing tests.
* platform/graphics/efl/GraphicsContext3DPrivate.cpp:
(GraphicsContext3DPrivate::platformLayerSize):
* platform/graphics/efl/GraphicsContext3DPrivate.h:
(GraphicsContext3DPrivate):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (137394 => 137395)
--- trunk/Source/WebCore/ChangeLog 2012-12-12 01:18:12 UTC (rev 137394)
+++ trunk/Source/WebCore/ChangeLog 2012-12-12 01:23:47 UTC (rev 137395)
@@ -1,3 +1,20 @@
+2012-12-11 Viatcheslav Ostapenko <[email protected]>
+
+ [EFL] Missing implementation of GraphicsContext3DPrivate::platformLayerSize()
+ https://bugs.webkit.org/show_bug.cgi?id=104726
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Add common implementation of GraphicsContext3DPrivate::platformLayerSize() similar
+ to Qt version. There is nothing platform specific in Qt version.
+
+ Covered by existing tests.
+
+ * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
+ (GraphicsContext3DPrivate::platformLayerSize):
+ * platform/graphics/efl/GraphicsContext3DPrivate.h:
+ (GraphicsContext3DPrivate):
+
2012-12-11 No'am Rosenthal <[email protected]>
[Texmap] Slightly improve readability of the antialias shader
Modified: trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp (137394 => 137395)
--- trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp 2012-12-12 01:18:12 UTC (rev 137394)
+++ trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp 2012-12-12 01:23:47 UTC (rev 137395)
@@ -170,6 +170,11 @@
{
return m_surfaceHandle;
}
+
+IntSize GraphicsContext3DPrivate::platformLayerSize() const
+{
+ return IntSize(m_context->m_currentWidth, m_context->m_currentHeight);
+}
#endif
} // namespace WebCore
Modified: trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h (137394 => 137395)
--- trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h 2012-12-12 01:18:12 UTC (rev 137394)
+++ trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h 2012-12-12 01:23:47 UTC (rev 137395)
@@ -54,6 +54,7 @@
virtual void paintToTextureMapper(TextureMapper*, const FloatRect& target, const TransformationMatrix&, float opacity, BitmapTexture* mask);
#endif
#if USE(GRAPHICS_SURFACE)
+ virtual IntSize platformLayerSize() const;
virtual uint32_t copyToGraphicsSurface();
virtual GraphicsSurfaceToken graphicsSurfaceToken() const;
void didResizeCanvas();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes