WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-62361-20110610113449.patch (text/plain), 9.51 KB, created by
Hyowon Kim
on 2011-06-09 19:34:32 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Hyowon Kim
Created:
2011-06-09 19:34:32 PDT
Size:
9.51 KB
patch
obsolete
>Index: Source/JavaScriptCore/ChangeLog >=================================================================== >--- Source/JavaScriptCore/ChangeLog (revision 88435) >+++ Source/JavaScriptCore/ChangeLog (working copy) >@@ -1,3 +1,14 @@ >+2011-06-09 Hyowon Kim <hw1008.kim@samsung.com> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ [EFL] Make accelerated compositing build in Webkit-EFL >+ https://bugs.webkit.org/show_bug.cgi?id=62361 >+ >+ Add PLATFORM(EFL) to enable ACCELERATED_COMPOSITING on EFL port. >+ >+ * wtf/Platform.h: >+ > 2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com> > > Unreviewed, rolling out r88404. >Index: Source/JavaScriptCore/wtf/Platform.h >=================================================================== >--- Source/JavaScriptCore/wtf/Platform.h (revision 88330) >+++ Source/JavaScriptCore/wtf/Platform.h (working copy) >@@ -1148,7 +1148,7 @@ > #endif > > /* Accelerated compositing */ >-#if PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(QT) || (PLATFORM(WIN) && !OS(WINCE) &&!defined(WIN_CAIRO)) >+#if PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(QT) || (PLATFORM(WIN) && !OS(WINCE) &&!defined(WIN_CAIRO)) || PLATFORM(EFL) > #define WTF_USE_ACCELERATED_COMPOSITING 1 > #endif > >Index: Source/WebCore/ChangeLog >=================================================================== >--- Source/WebCore/ChangeLog (revision 88435) >+++ Source/WebCore/ChangeLog (working copy) >@@ -1,3 +1,23 @@ >+2011-06-09 Hyowon Kim <hw1008.kim@samsung.com> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ [EFL] Make accelerated compositing build in Webkit-EFL >+ https://bugs.webkit.org/show_bug.cgi?id=62361 >+ >+ Add a new class, GraphicsLayerEfl - not yet implemented. >+ Add ACCELERATED_COMPOSITING related files to CMakeLists. >+ >+ * CMakeLists.txt: >+ * CMakeListsEfl.txt: >+ * platform/graphics/efl/GraphicsLayerEfl.cpp: Added. >+ (WebCore::GraphicsLayer::create): >+ (WebCore::GraphicsLayerEfl::GraphicsLayerEfl): >+ (WebCore::GraphicsLayerEfl::~GraphicsLayerEfl): >+ (WebCore::GraphicsLayerEfl::setNeedsDisplay): >+ (WebCore::GraphicsLayerEfl::setNeedsDisplayInRect): >+ * platform/graphics/efl/GraphicsLayerEfl.h: Added. >+ > 2011-06-09 Adam Barth <abarth@webkit.org> > > Reviewed by Eric Seidel. >Index: Source/WebCore/CMakeLists.txt >=================================================================== >--- Source/WebCore/CMakeLists.txt (revision 88330) >+++ Source/WebCore/CMakeLists.txt (working copy) >@@ -1105,6 +1105,7 @@ SET(WebCore_SOURCES > platform/graphics/GlyphPageTreeNode.cpp > platform/graphics/Gradient.cpp > platform/graphics/GraphicsContext.cpp >+ platform/graphics/GraphicsLayer.cpp > platform/graphics/GraphicsTypes.cpp > platform/graphics/Image.cpp > platform/graphics/ImageBuffer.cpp >@@ -1251,6 +1252,8 @@ SET(WebCore_SOURCES > rendering/RenderImageResourceStyleImage.cpp > rendering/RenderInline.cpp > rendering/RenderLayer.cpp >+ rendering/RenderLayerBacking.cpp >+ rendering/RenderLayerCompositor.cpp > rendering/RenderLineBoxList.cpp > rendering/RenderListBox.cpp > rendering/RenderListItem.cpp >Index: Source/WebCore/CMakeListsEfl.txt >=================================================================== >--- Source/WebCore/CMakeListsEfl.txt (revision 88330) >+++ Source/WebCore/CMakeListsEfl.txt (working copy) >@@ -58,6 +58,7 @@ LIST(APPEND WebCore_SOURCES > platform/efl/WidgetEfl.cpp > platform/graphics/ImageSource.cpp > platform/graphics/efl/FontEfl.cpp >+ platform/graphics/efl/GraphicsLayerEfl.cpp > platform/graphics/efl/IconEfl.cpp > platform/graphics/efl/ImageEfl.cpp > platform/graphics/efl/IntPointEfl.cpp >Index: Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.cpp >=================================================================== >--- Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.cpp (revision 0) >+++ Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.cpp (revision 0) >@@ -0,0 +1,56 @@ >+/* >+Copyright (C) 2009-2011 Samsung Electronics >+ >+This library is free software; you can redistribute it and/or >+modify it under the terms of the GNU Library General Public >+License as published by the Free Software Foundation; either >+version 2 of the License, or (at your option) any later version. >+ >+This library is distributed in the hope that it will be useful, >+but WITHOUT ANY WARRANTY; without even the implied warranty of >+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >+Library General Public License for more details. >+ >+You should have received a copy of the GNU Library General Public License >+along with this library; see the file COPYING.LIB. If not, write to >+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, >+Boston, MA 02110-1301, USA. >+*/ >+ >+#include "config.h" >+ >+#if USE(ACCELERATED_COMPOSITING) >+ >+#include "GraphicsLayerEfl.h" >+ >+#include "NotImplemented.h" >+ >+namespace WebCore { >+ >+PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerClient* client) >+{ >+ return adoptPtr(new GraphicsLayerEfl(client)); >+} >+ >+GraphicsLayerEfl::GraphicsLayerEfl(GraphicsLayerClient* client) >+ : GraphicsLayer(client) >+{ >+} >+ >+GraphicsLayerEfl::~GraphicsLayerEfl() >+{ >+} >+ >+void GraphicsLayerEfl::setNeedsDisplay() >+{ >+ notImplemented(); >+} >+ >+void GraphicsLayerEfl::setNeedsDisplayInRect(const FloatRect&) >+{ >+ notImplemented(); >+} >+ >+} // namespace WebCore >+ >+#endif // USE(ACCELERATED_COMPOSITING) >Index: Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.h >=================================================================== >--- Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.h (revision 0) >+++ Source/WebCore/platform/graphics/efl/GraphicsLayerEfl.h (revision 0) >@@ -0,0 +1,42 @@ >+/* >+ Copyright (C) 2009-2011 Samsung Electronics >+ >+ This library is free software; you can redistribute it and/or >+ modify it under the terms of the GNU Library General Public >+ License as published by the Free Software Foundation; either >+ version 2 of the License, or (at your option) any later version. >+ >+ This library is distributed in the hope that it will be useful, >+ but WITHOUT ANY WARRANTY; without even the implied warranty of >+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >+ Library General Public License for more details. >+ >+ You should have received a copy of the GNU Library General Public License >+ along with this library; see the file COPYING.LIB. If not, write to >+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, >+ Boston, MA 02110-1301, USA. >+*/ >+ >+#ifndef GraphicsLayerEfl_h >+#define GraphicsLayerEfl_h >+ >+#if USE(ACCELERATED_COMPOSITING) >+ >+#include "GraphicsLayer.h" >+ >+namespace WebCore { >+ >+class GraphicsLayerEfl : public GraphicsLayer { >+public: >+ GraphicsLayerEfl(GraphicsLayerClient*); >+ virtual ~GraphicsLayerEfl(); >+ >+ virtual void setNeedsDisplay(); >+ virtual void setNeedsDisplayInRect(const FloatRect&); >+}; >+ >+} // namespace WebCore >+ >+#endif // USE(ACCELERATED_COMPOSITING) >+ >+#endif // GraphicsLayerEfl_h >Index: Source/WebKit/efl/ChangeLog >=================================================================== >--- Source/WebKit/efl/ChangeLog (revision 88435) >+++ Source/WebKit/efl/ChangeLog (working copy) >@@ -1,3 +1,19 @@ >+2011-06-09 Hyowon Kim <hw1008.kim@samsung.com> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ [EFL] Make accelerated compositing build in Webkit-EFL >+ https://bugs.webkit.org/show_bug.cgi?id=62361 >+ >+ Add functions for accelerated compositing to ChromeClientEfl. >+ >+ * WebCoreSupport/ChromeClientEfl.cpp: >+ (WebCore::ChromeClientEfl::attachRootGraphicsLayer): >+ (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization): >+ (WebCore::ChromeClientEfl::scheduleCompositingLayerSync): >+ (WebCore::ChromeClientEfl::allowedCompositingTriggers): >+ * WebCoreSupport/ChromeClientEfl.h: >+ > 2011-06-08 Jaehun Lim <ljaehun.lim@samsung.com> > > Reviewed by Antonio Gomes. >Index: Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp >=================================================================== >--- Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (revision 88330) >+++ Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (working copy) >@@ -557,4 +557,26 @@ PassRefPtr<SearchPopupMenu> ChromeClient > return adoptRef(new SearchPopupMenuEfl(client)); > } > >+#if USE(ACCELERATED_COMPOSITING) >+void ChromeClientEfl::attachRootGraphicsLayer(Frame* frame, GraphicsLayer* rootLayer) >+{ >+ notImplemented(); >+} >+ >+void ChromeClientEfl::setNeedsOneShotDrawingSynchronization() >+{ >+ notImplemented(); >+} >+ >+void ChromeClientEfl::scheduleCompositingLayerSync() >+{ >+ notImplemented(); >+} >+ >+ChromeClient::CompositingTriggerFlags ChromeClientEfl::allowedCompositingTriggers() const >+{ >+ return 0; >+} >+#endif >+ > } >Index: Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h >=================================================================== >--- Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h (revision 88330) >+++ Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h (working copy) >@@ -125,6 +125,13 @@ public: > virtual void needTouchEvents(bool); > #endif > >+#if USE(ACCELERATED_COMPOSITING) >+ virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*); >+ virtual void setNeedsOneShotDrawingSynchronization(); >+ virtual void scheduleCompositingLayerSync(); >+ virtual CompositingTriggerFlags allowedCompositingTriggers() const; >+#endif >+ > virtual void runOpenPanel(Frame*, PassRefPtr<FileChooser>); > virtual void chooseIconForFiles(const Vector<String>&, FileChooser*); > virtual void formStateDidChange(const Node*);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 62361
:
96684
| 96689