Bug 107366

Summary: [EFL][WebGL] Regression: WebGL Content is not drawn after resizing the canvas.
Product: WebKit Reporter: Kalyan <kalyan.kondapally>
Component: WebKit EFLAssignee: Kalyan <kalyan.kondapally>
Status: RESOLVED FIXED    
Severity: Normal CC: kenneth, lucas.de.marchi, noam, ostap73, webkit.review.bot, zeno
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 106878    
Bug Blocks: 104532    
Attachments:
Description Flags
patch
kenneth: review+
patchv2 none

Description Kalyan 2013-01-19 00:51:02 PST
Steps:
1) Launch MiniBrowser and load https://www.khronos.org/registry/webgl/sdk/demos/webkit/SpiritBox.html
2) After a rotating cube is drawn resize the Window.

Expected Result:
Window is resized and we see a rotating cube.

Actual Result:
Nothing is drawn after resize.
Comment 1 Kalyan 2013-01-19 02:50:42 PST
A better use case to test this:

http://aleksandarrodic.com/p/jellyfish/
Comment 2 Kalyan 2013-01-19 06:14:12 PST
Created attachment 183622 [details]
patch
Comment 3 Kenneth Rohde Christiansen 2013-01-19 07:17:31 PST
Comment on attachment 183622 [details]
patch

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

> Source/WebCore/platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp:443
> +        // Client doesn't own the Window. Delete surface only
> +        // on writing side.

I would make that one line and write Window with lowercase
Comment 4 Kalyan 2013-01-19 07:51:55 PST
Created attachment 183625 [details]
patchv2
Comment 5 WebKit Review Bot 2013-01-19 09:17:08 PST
Comment on attachment 183625 [details]
patchv2

Clearing flags on attachment: 183625

Committed r140252: <http://trac.webkit.org/changeset/140252>
Comment 6 WebKit Review Bot 2013-01-19 09:17:12 PST
All reviewed patches have been landed.  Closing bug.