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
  • null
  • VertexArrayNULL.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Proliferate gl::Context everywhere. · 4928b7ca
    Jamie Madill authored Jun 20, 2017
    This gives the D3D back-end access to the GL state almost anywhere.
    This uses the onDestroy hook for Textures to push errors up from
    destructors, although they still don't quite make it to the Context.
    
    There are places, such as in EGL object (Context/Surface) destruction,
    where we end up calling through to GL implementation internals without
    having access to a gl::Context. We handle this via a proxy Context
    to a Display, basically a null context, that has access to impl-side
    state like the Renderer pointer if necessary. It does not have access
    to the normal GL state.
    
    Also Pass gl::Context to RefCountObject::release(). Since we're using
    destroy() methods now, we should not ever call the destructor directly.
    
    BUG=angleproject:1156
    
    Change-Id: Ie4c32ad6bf6caaff0289901f30b5c6bafa2ce259
    Reviewed-on: https://chromium-review.googlesource.com/529707
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    4928b7ca
VertexArrayNULL.cpp 471 Bytes
EditWeb IDE
×

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