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
  • renderer
  • gl
  • VertexArrayGL.cpp
Find file
BlameHistoryPermalink
  • Shao's avatar
    ES31: Refactor syncState in VertexArrayGL · df682a8e
    Shao authored Mar 31, 2017
    This patch intends to solve several design issues by refactoring
    the process of syncState in VertexArrayGL before implementing
    ES3.1 feature Vertex Attrib Binding on the OpenGL back-end.
    1. Use nullptr as the flag of using client memory pointer
    2. Simplify comparisons in updateAttribPointer.
    3. Put all code related to mFunctions->vertexAttrib*Pointer()
    into an individual function
    4. Remove redundant mStateManager->bindVertexArray() in all
    update* functioins and only call it once in syncState().
    
    BUG=angleproject:1593
    
    Change-Id: I8f68534bb9291a601b9b77954d7281e5171c2b55
    Reviewed-on: https://chromium-review.googlesource.com/465378
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    df682a8e
VertexArrayGL.cpp 22.1 KB
EditWeb IDE
×

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