Bug 107366 - [EFL][WebGL] Regression: WebGL Content is not drawn after resizing the canvas.
Summary: [EFL][WebGL] Regression: WebGL Content is not drawn after resizing the canvas.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Kalyan
URL:
Keywords:
Depends on: 106878
Blocks: 104532
  Show dependency treegraph
 
Reported: 2013-01-19 00:51 PST by Kalyan
Modified: 2013-01-19 09:17 PST (History)
6 users (show)

See Also:


Attachments
patch (1.43 KB, patch)
2013-01-19 06:14 PST, Kalyan
kenneth: review+
Details | Formatted Diff | Diff
patchv2 (1.43 KB, patch)
2013-01-19 07:51 PST, Kalyan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.