WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
105357
[EFL][WebGL] Refactor GLXSurface
https://bugs.webkit.org/show_bug.cgi?id=105357
Summary
[EFL][WebGL] Refactor GLXSurface
Kalyan
Reported
2012-12-18 15:25:58 PST
This is in preparation to add EGL support. There is lot of code related to X which could be shared. This refactoring ensures that we don't have to duplicate any code between our EGL and GLX implementations. In future we might even be able to share this with GraphicsSurfaceGLX
Attachments
WIP
(28.98 KB, patch)
2012-12-18 22:28 PST
,
Kalyan
no flags
Details
Formatted Diff
Diff
patch
(29.46 KB, patch)
2012-12-18 23:35 PST
,
Kalyan
buildbot
: commit-queue-
Details
Formatted Diff
Diff
patch
(29.52 KB, patch)
2012-12-19 02:32 PST
,
Kalyan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Kalyan
Comment 1
2012-12-18 22:28:53 PST
Created
attachment 180094
[details]
WIP
Kalyan
Comment 2
2012-12-18 22:36:43 PST
Comment on
attachment 180094
[details]
WIP Not marking it for review yet.
Kalyan
Comment 3
2012-12-18 23:35:49 PST
Created
attachment 180103
[details]
patch
Kenneth Rohde Christiansen
Comment 4
2012-12-19 00:51:55 PST
Comment on
attachment 180103
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=180103&action=review
> Source/WebCore/ChangeLog:10 > + This is in preparation for adding EGL support. > + There is lot of X related code which could be shared between our current GLX implementation > + and EGL. This patch makes it possible to share the common code but doesn't change any functionality.
What about EGL platforms not having X ?
> Source/WebCore/platform/graphics/surfaces/glx/GLXWindowResources.h:168 > + GLXFBConfig m_surfaceContextfbConfig; > + > +};
unneeded newline
> Source/WebCore/platform/graphics/surfaces/glx/GLXWindowResources.h:172 > +} > + > +#endif
unneeded newline
> Source/WebCore/platform/graphics/surfaces/glx/X11WindowResources.h:108 > + } > + > + > + XVisualInfo* visualInfo() > + { > + if (!m_VisualInfo) > + surfaceContextConfig(); > + > + return m_VisualInfo; > + } > + > + > + > + bool isXRenderExtensionSupported()
what is up with the newlines?
Kalyan
Comment 5
2012-12-19 01:22:54 PST
(In reply to
comment #4
)
> (From update of
attachment 180103
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=180103&action=review
> > > Source/WebCore/ChangeLog:10 > > + This is in preparation for adding EGL support. > > + There is lot of X related code which could be shared between our current GLX implementation > > + and EGL. This patch makes it possible to share the common code but doesn't change any functionality. > > What about EGL platforms not having X ? >
We need to add support as needed. This moves us in the write direction though as there is clear separation and surface dosen't expect to have X. One would probably need to replace x11windowresources with the right support and things should work.
> what is up with the newlines?
sorry, will fix and upload a new patch
Build Bot
Comment 6
2012-12-19 02:24:01 PST
Comment on
attachment 180103
[details]
patch
Attachment 180103
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/15404608
New failing tests: fast/frames/sandboxed-iframe-attribute-parsing.html
Kalyan
Comment 7
2012-12-19 02:32:07 PST
Created
attachment 180124
[details]
patch Review fixes
WebKit Review Bot
Comment 8
2012-12-19 03:36:12 PST
Comment on
attachment 180124
[details]
patch Clearing flags on attachment: 180124 Committed
r138140
: <
http://trac.webkit.org/changeset/138140
>
WebKit Review Bot
Comment 9
2012-12-19 03:36:17 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug