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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index f09c68a0cd4771c62f52dfe6fd9932dfba64a857..f5646797ab5f86e35d90d8b11ec2aecff41548aa 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -40,10 +40,6 @@ namespace gfx {
class Size;
}
-namespace gpu {
-class ValueStateMap;
-}
-
namespace IPC {
class ChannelMojoHost;
}
@@ -164,11 +160,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
override;
const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
- bool SubscribeUniformEnabled() const override;
- void OnAddSubscription(unsigned int target) override;
- void OnRemoveSubscription(unsigned int target) override;
- void SendUpdateValueState(
- unsigned int target, const gpu::ValueState& state) override;
#if defined(ENABLE_BROWSER_CDMS)
scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
int cdm_id) const override;
@@ -503,20 +494,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
// RPH.
std::unique_ptr<PermissionServiceContext> permission_service_context_;
- // This is a set of all subscription targets valuebuffers in the GPU process
- // are currently subscribed too. Used to prevent sending unnecessary
- // ValueState updates.
- typedef base::hash_set<unsigned int> SubscriptionSet;
- SubscriptionSet subscription_set_;
-
- // Maintains ValueStates which are not currently subscribed too so we can
- // pass them to the GpuService if a Valuebuffer ever subscribes to the
- // respective subscription target
- scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_;
-
- // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled
- bool subscribe_uniform_enabled_;
-
// The memory allocator, if any, in which the renderer will write its metrics.
std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698