• Show log

    Commit

  • Hash : 48e40ef6
    Author : Amirali Abdolrashidi
    Date : 2023-01-06T13:35:21

    Add per-heap memory allocation trackers
    
    * For each member of MemoryAllocationType, we now have a per-heap
      counter to keep track of the allocation size in each available heap.
    
      * mActivePerHeapMemoryAllocationsSize
      * mActivePerHeapMemoryAllocationsCount (debug mode only)
    
    * Added the memory type index to onMemoryAlloc() and onMemoryDealloc()
      as an input. It can then be used to determine the used memory heap
      index for that allocation using the memory properties defined in the
      renderer.
    
    * checkForCurrentMemoryAllocations() will now log the heap index of the
      current memory allocations in debug mode and during an OOM crash.
    
    * logPendingMemoryAllocation() will now log the heap index of the
      pending allocation during an OOM crash.
    
    * Renamed constexpr values used for tracking for more consistency.
      * kTrackMemoryAllocation -> kTrackMemoryAllocationSizes
      * kDebugMemoryAllocationLogs -> kTrackMemoryAllocationDebug
    
    Bug: b/262029018
    Change-Id: I178a3556b3107edc0c72c6b23ea2f2d6b12da947
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4149431
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Charlie Lao <cclao@google.com>
    Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
    Reviewed-by: Ivan Neulander <ineula@google.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags