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
  • libANGLE
  • Caps.cpp
Find file
BlameHistoryPermalink
  • Lingfeng Yang's avatar
    GLES1: caps: GLES1-specific context limits · b27b03a2
    Lingfeng Yang authored Feb 19, 2018
    There are some GLES1-specific caps such as the number of multitexturing
    units and the matrix stack depths. This is important for validation.
    
    This uses Table 6.20 and 6.22 from the GLES 1.1 spec.
    
    Specify them in Caps.h and minimums in .cpp. Since we will be emulating
    GLES1, there is no plan to collect the caps from the native
    implementation; just initialize reasonable values in Context.cpp.
    
    In fact, we will go with the values above minimum:
    
    - 4 multitexturing units (vs. 2 minimum)
    - 6 clip plans (vs. 1 minimum)
    - 16 stack depth for projection matrices (vs. 2 minimum)
    - 16 stack depth for texture matrices (vs. 2 minimum)
    
    + clang-format Caps.cpp / h
    
    BUG=angleproject:2306
    
    Change-Id: Ib28c317426be598a2adad7bd01920c03f27dc74a
    Reviewed-on: https://chromium-review.googlesource.com/925549
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    b27b03a2
Caps.cpp 51.6 KB
EditWeb IDE
×

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