Bug 117330 - [Qt]CSS webkitTransform animation using translate-3d on composited layer is not correctly rendered and leaking memory
Summary: [Qt]CSS webkitTransform animation using translate-3d on composited layer is n...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 19:43 PDT by Chen Zhixiang
Modified: 2013-06-20 20:34 PDT (History)
0 users

See Also:


Attachments
A simple test case for css transform animation using setInterval & translate-3d (1.02 KB, text/html)
2013-06-06 19:56 PDT, Chen Zhixiang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Zhixiang 2013-06-06 19:43:49 PDT
Use the attached test case,
When the images slide(using CSS transfrom:rotate-3d)
The background layer images are still there,
And memory is leaking

Well, Firefox renders this case good.
Comment 1 Chen Zhixiang 2013-06-06 19:55:26 PDT
Verified at a recent QtWebKit and Chrome 27.
But Qt-5.0.2 WebKit has no such problem.

So maybe this problem has been fixed in trunk.
Comment 2 Chen Zhixiang 2013-06-06 19:56:44 PDT
Created attachment 203992 [details]
A simple test case for css transform animation using setInterval & translate-3d
Comment 3 Chen Zhixiang 2013-06-13 23:01:28 PDT
This case occurs at Qt-4.8.x with "-platform xlibgl" enable and WebKit with a version at 2012/3/7 nearby.

Since Qt-5 has switched to xcb, and dropped xlib(and xlibgl also) support, this may not be fixed in the future?
Comment 4 Chen Zhixiang 2013-06-13 23:03:51 PDT
Source\WebCore\platform\graphics\texmap\TextureMapper.cpp: TextureMapper uses TextureMapperImageBuffer, though macro switch USE(ACCELERATED_COMPOSITING) is ON.
Comment 5 Chen Zhixiang 2013-06-14 00:07:54 PDT
Bug 102011 seems to be related to this problem.
Comment 6 Chen Zhixiang 2013-06-20 20:34:08 PDT
Problem fixed:

This is due to under opengl graphics driver not supporting multi-sample feature, combined with Qt-4.8.x's not correctly fbo pool implementation.

#see https://bugreports.qt-project.org/browse/QTBUG-31891