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
  • compiler
  • HashNames.h
Find file
BlameHistoryPermalink
  • zmo@google.com's avatar
    Interface design for user-defined name hashing. · b417815b
    zmo@google.com authored Nov 07, 2012
    1) We use BuiltInResources to pass the hash function to 
       ANGLE, deciding whether we applies hash function or not.
    2) We use 64 bits hashing function, because 64 bits is 16
       bytes using hex representation, plus the "webgl_" prefix,
       we can keep the names under 128 (WebGL allows 5 levels of
       nesting in structures).  If chooseing 128 bits, we will
       go beyond 128 characters, and some drivers can't handle
       that safely.
    
    ANGLEBUG=315
    Review URL: https://codereview.appspot.com/6822077
    
    git-svn-id: https://angleproject.googlecode.com/svn/trunk@1384 736b8ea6-26fd-11df-bfd4-992fa37f6226
    b417815b
HashNames.h 463 Bytes
EditWeb IDE
×

Replace HashNames.h

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.