Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Issue 100053005: Allow AllocateGpuMemoryBuffer to be called from multiple threads.

Created:
7 years ago by reveman
Modified:
7 years ago
Reviewers:
CC:
chromium-reviews, jbauman+watch_chromium.org, jam, sievers+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Visibility:
Public.

Description

Allow AllocateGpuMemoryBuffer to be called from multiple threads. This makes use of IOSurface use counts to determine when the renderer has grabbed a reference to the IOSurface instead of assuming that AllocateGpuMemoryBuffer is always called from the same thread. BUG=325045

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -16 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 2 chunks +12 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M ui/gl/io_surface_support_mac.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/io_surface_support_mac.cc View 8 chunks +45 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698