Merge lp:~afrantzis/mir/gbm-alloc-validate-buffer-format into lp:~mir-team/mir/trunk
Status: | Merged |
---|---|
Approved by: | Alan Griffiths on 2013-08-08 |
Approved revision: | 937 |
Merged at revision: | 946 |
Proposed branch: | lp:~afrantzis/mir/gbm-alloc-validate-buffer-format |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
141 lines (+37/-14) 5 files modified
src/server/graphics/gbm/gbm_buffer.cpp (+1/-3) src/server/graphics/gbm/gbm_buffer.h (+2/-0) src/server/graphics/gbm/gbm_buffer_allocator.cpp (+20/-1) src/server/graphics/gbm/gbm_buffer_allocator.h (+2/-0) tests/unit-tests/graphics/gbm/test_gbm_buffer_allocator.cpp (+12/-10) |
To merge this branch: | bzr merge lp:~afrantzis/mir/gbm-alloc-validate-buffer-format |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve on 2013-08-07 | |
Alan Griffiths | 2013-08-07 | Approve on 2013-08-07 | |
Review via email:
|
Commit message
gbm: Don't try to allocate buffers with unsupported formats
Description of the change
gbm: Don't try to allocate buffers with unsupported formats
Alan Griffiths (alan-griffiths) wrote : | # |
17 +uint32_t mgg::invalid_
18 +{
19 + /* There is no explicit invalid GBM pixel format! */
20 + return std::numeric_
21 +}
Is there any need for this to be a function (as opposed to an enum constant)?
- 937. By Alexandros Frantzis on 2013-08-07
-
gbm: Use an enumeration constant for invalid_gbm_format
Alexandros Frantzis (afrantzis) wrote : | # |
> Is there any need for this to be a function (as opposed to an enum constant)?
Fixed.
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:937
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PASSED: Continuous integration, rev:936 jenkins. qa.ubuntu. com/job/ mir-ci/ 1241/ jenkins. qa.ubuntu. com/job/ mir-android- saucy-i386- build/1639 jenkins. qa.ubuntu. com/job/ mir-clang- saucy-amd64- build/1524 jenkins. qa.ubuntu. com/job/ mir-saucy- amd64-ci/ 479 jenkins. qa.ubuntu. com/job/ mir-saucy- amd64-ci/ 479/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ mir-ci/ 1241/rebuild
http://