Bug 88630 - [Texmap][EFL] Add AcceleratedCompositingContextEfl to the build system.
Summary: [Texmap][EFL] Add AcceleratedCompositingContextEfl to the build system.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 88634
  Show dependency treegraph
 
Reported: 2012-06-08 01:03 PDT by Hyowon Kim
Modified: 2012-10-23 21:22 PDT (History)
9 users (show)

See Also:


Attachments
Patch (12.76 KB, patch)
2012-06-08 01:38 PDT, Hyowon Kim
no flags Details | Formatted Diff | Diff
new patch for AcceleratedCompositingContextEfl (2.40 KB, patch)
2012-10-23 18:57 PDT, Hyowon Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hyowon Kim 2012-06-08 01:03:04 PDT
add PLATFORM(EFL) flags.
fix some compilation errors, typo and so on.
Comment 1 Hyowon Kim 2012-06-08 01:38:20 PDT
Created attachment 146505 [details]
Patch
Comment 2 Igor Trindade Oliveira 2012-06-08 10:57:21 PDT
Comment on attachment 146505 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=146505&action=review

> Source/WebCore/platform/graphics/surfaces/GraphicsSurface.h:30
>  

Well IIRC GraphicsSurface is just used right now by Qt in WK2. These changes should be in other patch.

> Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:363
> +#endif

Explain better in changelog why you are using AnimationController instead of TextureMapper.
Comment 3 Gyuyoung Kim 2012-06-09 03:55:19 PDT
Comment on attachment 146505 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=146505&action=review

WebKit tends to avoid to land multiple patches at once. Because, it can land insufficient reviewed patch. So, I also think you need to divide this patch.

> Source/WebCore/platform/graphics/GraphicsLayer.h:82
> +#elif PLATFORM(EFL)

Don't you need to use below macro ? QT and GTK have used this.

#if USE(TEXTURE_MAPPER)

> Source/WebCore/platform/graphics/OpenGLShims.cpp:20
> +#if ENABLE(WEBGL) || defined(QT_OPENGL_SHIMS) || (PLATFORM(EFL) && USE(ACCELERATED_COMPOSITING))

I don't understand why you need to add EFL and ACCELERATED_COMPOSITING macro. I think you can use this file by enabling WEBGL. Isn't it ?

>> Source/WebCore/platform/graphics/surfaces/GraphicsSurface.h:30
>>  
> 
> Well IIRC GraphicsSurface is just used right now by Qt in WK2. These changes should be in other patch.

As Igor said, you need to get review from Qt and WK2 reviewers. And also, it looks you need to write patch description more details. Because, this is common file for some ports.

> Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:88
> +#elif defined(XP_UNIX) && !PLATFORM(EFL)

As Igor said, you have to explain why EFL port doesn't want to enable this.

> Source/WebKit/efl/WebCoreSupport/PageClientEfl.cpp:40
> +bool PageClientEfl::createEvasObjectForAcceleratedCompositing(Evas_Native_Surface* nativeSurface, const WebCore::IntRect& rect)

In EFL port, we have used IntRect directly by including "IntRect.h".
Comment 4 Gyuyoung Kim 2012-09-18 04:01:22 PDT
Comment on attachment 146505 [details]
Patch

Cleared review? from attachment 146505 [details] so that this bug does not appear in http://webkit.org/pending-review.  If you would like this patch reviewed, please attach new patch to this bug or new bug again.
Comment 5 Hyowon Kim 2012-10-23 18:57:13 PDT
Created attachment 170289 [details]
new patch for AcceleratedCompositingContextEfl

I tried to cram too many items into this patch. Sorry.
Most problems seem to be solved.
So I've changed the bug title and attached a new patch for only AcceleratedCompositingContextEfl.
Comment 6 WebKit Review Bot 2012-10-23 21:22:00 PDT
Comment on attachment 170289 [details]
new patch for AcceleratedCompositingContextEfl

Clearing flags on attachment: 170289

Committed r132300: <http://trac.webkit.org/changeset/132300>
Comment 7 WebKit Review Bot 2012-10-23 21:22:04 PDT
All reviewed patches have been landed.  Closing bug.