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

Unified Diff: content/common/gpu/gpu_channel.h

Issue 7458010: Revert 93066 - Execute all GL commands up to the put offset reported by a each flush.This means g... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
===================================================================
--- content/common/gpu/gpu_channel.h (revision 93137)
+++ content/common/gpu/gpu_channel.h (working copy)
@@ -6,7 +6,6 @@
#define CONTENT_COMMON_GPU_GPU_CHANNEL_H_
#pragma once
-#include <queue>
#include <set>
#include <string>
#include <vector>
@@ -79,15 +78,6 @@
// IPC::Message::Sender implementation:
virtual bool Send(IPC::Message* msg);
- // Whether this channel is able to handle IPC messages.
- bool IsScheduled();
-
- // This is called when a command buffer transitions from the unscheduled
- // state to the scheduled state, which potentially means the channel
- // transitions from the unscheduled to the scheduled state. When this occurs
- // deferred IPC messaged are handled.
- void OnScheduled();
-
void CreateViewCommandBuffer(
gfx::PluginWindowHandle window,
int32 render_view_id,
@@ -141,8 +131,6 @@
bool OnControlMessageReceived(const IPC::Message& msg);
- void HandleDeferredMessages();
-
int GenerateRouteID();
// Message handlers.
@@ -150,11 +138,11 @@
void OnCreateOffscreenCommandBuffer(
const gfx::Size& size,
const GPUCreateCommandBufferConfig& init_params,
- IPC::Message* reply_message);
- void OnDestroyCommandBuffer(int32 route_id, IPC::Message* reply_message);
+ int32* route_id);
+ void OnDestroyCommandBuffer(int32 route_id);
void OnCreateOffscreenSurface(const gfx::Size& size,
- IPC::Message* reply_message);
+ int* route_id);
void OnDestroySurface(int route_id);
void OnCreateTransportTexture(int32 context_route_id, int32 host_id);
@@ -166,8 +154,6 @@
scoped_ptr<IPC::SyncChannel> channel_;
- std::queue<IPC::Message*> deferred_messages_;
-
// The id of the renderer who is on the other side of the channel.
int renderer_id_;
@@ -202,8 +188,6 @@
gpu::gles2::DisallowedExtensions disallowed_extensions_;
GpuWatchdog* watchdog_;
- ScopedRunnableMethodFactory<GpuChannel> task_factory_;
-
DISALLOW_COPY_AND_ASSIGN(GpuChannel);
};
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698