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
  • src
  • libGLESv2
  • renderer
  • loadimage.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Clean up the functions in loadimage.h/cpp. · 86846e24
    Geoff Lang authored Jun 03, 2014
    * Capitalize the function names to fit the style guide.
    * Use explicit sizes in the function names to avoid any confusion about
      input or output sizes.
    * Use explicit sized types in the functions to avoid potential issues on
      new platforms since a lot of bit-twiddling is used.
    * Use size_t for all sizes.
    * Use uint8_t for all binary data for input and output data so that pointer
      arithmetic is much easier.
    * Move templated function definitions into an .inl file so that
      loadimage.h looks as clean as possible.
    
    BUG=angle:665
    
    Change-Id: Id7173ed66d9e1b7ee3261eea11e77d838cbd2951
    Reviewed-on: https://chromium-review.googlesource.com/202590Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    86846e24
loadimage.cpp 27.2 KB
EditWeb IDE
×

Replace loadimage.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.