Bug 101286 - WebGLCanvas contents are not updated correctly.
Summary: WebGLCanvas contents are not updated correctly.
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: Nobody
URL:
Keywords:
Depends on: 101291
Blocks: 102991
  Show dependency treegraph
 
Reported: 2012-11-05 18:28 PST by Kalyan
Modified: 2012-11-26 21:37 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalyan 2012-11-05 18:28:50 PST
Try running the following webgl demo in MiniBrowser: https://www.khronos.org/registry/webgl/sdk/demos/webkit/WebGL+CSS.html

Some of the textures are not rendered properly.

Mesa error log shows the following error:

Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebufferEXT(incomplete draw/read buffers)

Demo works fine on all other browsers.
Comment 1 Kalyan 2012-11-05 18:30:10 PST
Working on a patch
Comment 2 Zeno Albisser 2012-11-09 08:08:12 PST
(In reply to comment #1)
> Working on a patch

I assume that you are missing the BlitFramebuffer extension.
In this case the solution is actually drawing the texture using the appropriate shaders.
Take a look at GraphicsSurfaceWin.cpp function GraphicsSurfacePrivate::drawTexture.
Comment 3 Kalyan 2012-11-12 21:54:47 PST
(In reply to comment #2)
> (In reply to comment #1)
> > Working on a patch
> 
> I assume that you are missing the BlitFramebuffer extension.
> In this case the solution is actually drawing the texture using the appropriate shaders.
> Take a look at GraphicsSurfaceWin.cpp function GraphicsSurfacePrivate::drawTexture.

The error can also be caused in case FBO has no valid read/write buffers when trying to perform operations like blitting
Comment 4 Kalyan 2012-11-21 23:36:36 PST
This issue got fixed with the changes done in 101291.
Comment 5 Ryuan Choi 2012-11-26 09:11:29 PST
I removed [EFL] alias not to redirect this bug when we searched [EFL]
Comment 6 Kalyan 2012-11-26 21:14:04 PST
(In reply to comment #5)
> I removed [EFL] alias not to redirect this bug when we searched [EFL]

This bug is specific to EFL port, the alias does make sense here. 

Any specific reason why we don’t want it ??
Comment 7 Kangil Han 2012-11-26 21:37:07 PST
(In reply to comment #6)
> (In reply to comment #5)
> > I removed [EFL] alias not to redirect this bug when we searched [EFL]
> 
> This bug is specific to EFL port, the alias does make sense here. 
> 
> Any specific reason why we don’t want it ??

Oh, now searching with '[EFL]' displays result well in bugzilla!

@kalyan : IIRC, search result with '[EFL]' always redirects here. :)