Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • util
  • fuchsia
  • ScenicWindow.cpp
Find file
BlameHistoryPermalink
  • Michael Spang's avatar
    Fuchsia: Fix size & position of test window on Scenic · 36f2c80a
    Michael Spang authored Jul 31, 2019
    Scenic places our window in with its center in the corner if we don't
    apply any translation. Therefore we only see 1/4 of the surface.
    
    Translate the surface so the full size is visible. Also account for
    display scaling as we're sizing in pixels and scenic is sizing in
    density independent pixels.
    
    Bug: angleproject:4382
    Test: angle_end2end_tests
    Change-Id: I1ae0b877c0ed7cf9d810bb2c8317b9842bd322a1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1716226
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    36f2c80a
ScenicWindow.cpp 7.96 KB
EditWeb IDE
×

Replace ScenicWindow.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.