Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Issue 959953002: [Ozone-Dri] Do not call AddFramebuffer with cursor buffers (Closed)

Created:
5 years, 10 months ago by dnicoara
Modified:
5 years, 10 months ago
Reviewers:
spang
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ozone-Dri] Do not call AddFramebuffer with cursor buffers Drivers may establish minimum sizes for the modesetting buffers. Since cursor buffers are treated differently by the DRM API, they do not require to be registered. Registering them on drivers with tight lower bounds will fail since cursor buffers tend to be small. BUG=none Committed: https://crrev.com/e7c6a45bed64ad12a3cbfa6be18c9f63694a5cd4 Cr-Commit-Position: refs/heads/master@{#318150}

Patch Set 1 #

Total comments: 2

Patch Set 2 : renamed param #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -13 lines) Patch
M ui/ozone/platform/dri/dri_buffer.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_buffer.cc View 1 2 2 chunks +7 lines, -9 lines 0 comments Download
M ui/ozone/platform/dri/dri_surface.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_surface_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_window_delegate_impl.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
dnicoara
PTAL
5 years, 10 months ago (2015-02-25 21:57:48 UTC) #2
spang
On 2015/02/25 21:57:48, dnicoara wrote: > PTAL Why is the cursor a "ScanoutBuffer"?
5 years, 10 months ago (2015-02-25 22:06:56 UTC) #3
dnicoara
On 2015/02/25 22:06:56, spang wrote: > On 2015/02/25 21:57:48, dnicoara wrote: > > PTAL > ...
5 years, 10 months ago (2015-02-25 22:19:50 UTC) #4
spang
On 2015/02/25 22:19:50, dnicoara wrote: > On 2015/02/25 22:06:56, spang wrote: > > On 2015/02/25 ...
5 years, 10 months ago (2015-02-25 22:29:54 UTC) #5
spang
https://codereview.chromium.org/959953002/diff/1/ui/ozone/platform/dri/dri_buffer.cc File ui/ozone/platform/dri/dri_buffer.cc (right): https://codereview.chromium.org/959953002/diff/1/ui/ozone/platform/dri/dri_buffer.cc#newcode66 ui/ozone/platform/dri/dri_buffer.cc:66: info.bytesPerPixel() << 3, stride_, handle_, &framebuffer_)) { Can you ...
5 years, 10 months ago (2015-02-25 22:30:01 UTC) #6
dnicoara
Renamed param. https://codereview.chromium.org/959953002/diff/1/ui/ozone/platform/dri/dri_buffer.cc File ui/ozone/platform/dri/dri_buffer.cc (right): https://codereview.chromium.org/959953002/diff/1/ui/ozone/platform/dri/dri_buffer.cc#newcode66 ui/ozone/platform/dri/dri_buffer.cc:66: info.bytesPerPixel() << 3, stride_, handle_, &framebuffer_)) { ...
5 years, 10 months ago (2015-02-25 22:48:57 UTC) #7
spang
On 2015/02/25 22:48:57, dnicoara wrote: > Renamed param. > > https://codereview.chromium.org/959953002/diff/1/ui/ozone/platform/dri/dri_buffer.cc > File ui/ozone/platform/dri/dri_buffer.cc (right): ...
5 years, 10 months ago (2015-02-25 22:55:32 UTC) #8
spang
https://codereview.chromium.org/959953002/diff/20001/ui/ozone/platform/dri/dri_surface.cc File ui/ozone/platform/dri/dri_surface.cc (right): https://codereview.chromium.org/959953002/diff/20001/ui/ozone/platform/dri/dri_surface.cc#newcode29 ui/ozone/platform/dri/dri_surface.cc:29: bool initialized = buffer->Initialize(info, true); you need a comment ...
5 years, 10 months ago (2015-02-25 22:57:25 UTC) #9
dnicoara
https://codereview.chromium.org/959953002/diff/20001/ui/ozone/platform/dri/dri_surface.cc File ui/ozone/platform/dri/dri_surface.cc (right): https://codereview.chromium.org/959953002/diff/20001/ui/ozone/platform/dri/dri_surface.cc#newcode29 ui/ozone/platform/dri/dri_surface.cc:29: bool initialized = buffer->Initialize(info, true); On 2015/02/25 22:57:25, spang ...
5 years, 10 months ago (2015-02-25 23:05:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959953002/40001
5 years, 10 months ago (2015-02-25 23:06:53 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-25 23:47:19 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 23:47:51 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e7c6a45bed64ad12a3cbfa6be18c9f63694a5cd4
Cr-Commit-Position: refs/heads/master@{#318150}

Powered by Google App Engine
This is Rietveld 408576698