Skip to content

Commit

Permalink
display: Use virtual stride for f_h
Browse files Browse the repository at this point in the history
Change-Id: If5179531febdc4a8e538d345265041ca471efa69
  • Loading branch information
raymanfx committed Jul 13, 2017
1 parent ddbbbb5 commit 045dcca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libdisplay/ExynosOverlayDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,14 @@ void ExynosOverlayDisplay::configureHandle(private_handle_t *handle,
cfg.dst.y = y;
cfg.dst.w = w;
cfg.dst.h = h;
// virtual x/y resolution
cfg.dst.f_w = handle->stride;
cfg.dst.f_h = h;
cfg.dst.f_h = handle->vstride;
cfg.src.x = x;
cfg.src.y = y;
cfg.src.w = w;
cfg.src.h = h;
// Framebuffer linelength
cfg.src.f_w = handle->stride;
cfg.src.f_h = h;
cfg.src.f_h = handle->vstride;
#else
cfg.state = cfg.S3C_FB_WIN_STATE_BUFFER;
cfg.fd = handle->fd;
Expand Down

0 comments on commit 045dcca

Please sign in to comment.