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
  • daniel@transgaming.com's avatar
    Interface design for user-defined name hashing. · c23f4611
    daniel@transgaming.com authored Nov 28, 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/branches/dx11proto@1466 736b8ea6-26fd-11df-bfd4-992fa37f6226
    c23f4611
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.