Bug 1496838 - Add memory reporters for shared depth targets. r=kvark
authorBobby Holley <bobbyholley@gmail.com>
Wed, 17 Oct 2018 10:24:31 -0700
changeset 490035 31175b7c468b1f8f8589728f8a29d433e1594cd6
parent 490034 4f6373f7b21155fadc01fbb03d8a4d1f3f3a1f2e
child 490036 2c633215c5148a0ea416237b749032e44e7708fb
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewerskvark
bugs1496838
milestone64.0a1
Bug 1496838 - Add memory reporters for shared depth targets. r=kvark
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -732,16 +732,17 @@ WebRenderMemoryReporter::CollectReports(
       helper.Report(aReport.images, "resource-cache/images");
       helper.Report(aReport.rasterized_blobs, "resource-cache/rasterized-blobs");
 
       // GPU Memory.
       helper.ReportTexture(aReport.gpu_cache_textures, "gpu-cache");
       helper.ReportTexture(aReport.vertex_data_textures, "vertex-data");
       helper.ReportTexture(aReport.render_target_textures, "render-targets");
       helper.ReportTexture(aReport.texture_cache_textures, "texture-cache");
+      helper.ReportTexture(aReport.depth_target_textures, "depth-targets");
 
       FinishAsyncMemoryReport();
     },
     [](mozilla::ipc::ResponseRejectReason aReason) {
       FinishAsyncMemoryReport();
     }
   );