Merge lp:~nick-dedekind/unity/lp1066788.cairo-text-stitching into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Nick Dedekind on 2012-12-04 |
| Approved revision: | 2877 |
| Merged at revision: | 2953 |
| Proposed branch: | lp:~nick-dedekind/unity/lp1066788.cairo-text-stitching |
| Merge into: | lp:unity |
| Diff against target: |
469 lines (+231/-35) 10 files modified
dash/previews/StandaloneApplicationPreview.cpp (+4/-3) tests/CMakeLists.txt (+1/-0) tests/test_previews_application.cpp (+1/-1) tests/test_previews_generic.cpp (+1/-1) tests/test_previews_movie.cpp (+1/-1) tests/test_previews_music.cpp (+1/-1) tests/test_previews_social.cpp (+1/-2) tests/test_static_cairo_text.cpp (+73/-0) unity-shared/StaticCairoText.cpp (+145/-26) unity-shared/StaticCairoText.h (+3/-0) |
| To merge this branch: | bzr merge lp:~nick-dedekind/unity/lp1066788.cairo-text-stitching |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2012-12-04 | |
| Brandon Schaefer (community) | Approve on 2012-11-09 | ||
| Stephen M. Webb (community) | 2012-10-25 | Needs Fixing on 2012-11-07 | |
|
Review via email:
|
|||
Commit Message
Split StaticCairoText text into multiple cached textures when the height of the required texture is over GpuInfo:
Description of the Change
= Problem description =
https:/
Text labels with greater texture height than capable in OpenGL will not render correctly.
= The fix =
Split StaticCairoText text into multiple cached textures when the height of the required texture is over GpuInfo:
= Test coverage =
Added unit test for StaticCairoText to test splitting of texture.
test-gtest --gtest_
| Brandon Schaefer (brandontschaefer) wrote : | # |
| Didier Roche (didrocks) wrote : | # |
Hey Brandon, Nick,
as discussed during the week pre-UDS, no more manual tests permitted as we will have automated daily upload to ubuntu, and so, no way to have manual perf performed before a release. Please instrument this part of code so that we can have an unit test.
| Nick Dedekind (nick-dedekind) wrote : | # |
Added test
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
| Nick Dedekind (nick-dedekind) wrote : | # |
removed gcc-4.7 code and merged with trunk to resolve conflicts.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
| Nick Dedekind (nick-dedekind) wrote : | # |
fixed conflict merging with trunk.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
- 2877. By Nick Dedekind on 2012-12-04
-
Another 64bit fix


Hmm code looks good, and confirmed fixes the crash for me...but there is no test :(
Possibly add a manual test that says to open the StandaloneAppli cationPreivew. ..(but they would have to compile...)
Or possibly a unit test that would attempt to make a texture that is to large and confirm that it is not returning NULL.