Merge lp:~glmark2-dev/glmark2/canvas-reset into lp:glmark2/2011.11
Status: | Merged |
---|---|
Merged at revision: | 189 |
Proposed branch: | lp:~glmark2-dev/glmark2/canvas-reset |
Merge into: | lp:glmark2/2011.11 |
Diff against target: |
399 lines (+132/-24) 12 files modified
doc/glmark2.1.in (+4/-0) src/canvas-x11-egl.cpp (+46/-10) src/canvas-x11-egl.h (+2/-0) src/canvas-x11-glx.cpp (+9/-0) src/canvas-x11-glx.h (+1/-0) src/canvas-x11.cpp (+17/-9) src/canvas-x11.h (+10/-0) src/canvas.h (+10/-0) src/main.cpp (+6/-0) src/options.cpp (+6/-0) src/options.h (+1/-0) src/scene-desktop.cpp (+20/-5) |
To merge this branch: | bzr merge lp:~glmark2-dev/glmark2/canvas-reset |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexandros Frantzis | Pending | ||
Review via email:
|
Description of the change
Canvas: This adds logic to the canvas and its derivatives to allow a "reset" of the canvas between scenes. In practice what this does is to create a fresh context for each scene. This puts each scene on a level playing field and insulates the scenes from any resource leakage and any resultant performance degradation. Also included is an option to reuse one context for all scenes (the way things have worked up to now) for the sake of being able to test for resource leakage, etc.
SceneDesktop: A latent bug in the init/release symmetry in the RenderObject and its derivatives was detected as a direct result of the Canvas reset changes. This is also fixed in this branch (these changes should be taken regardless).
Thansk for the fix!
Unfortunately, I am still getting artifacts when running shadow,shadow or blur,blur. Strange...