namespace gpu {
class PreemptionFlag;
-namespace gles2 {
-class ImageManager;
-}
}
namespace IPC {
gfx::GLShareGroup* share_group,
gpu::gles2::MailboxManager* mailbox_manager,
int client_id,
- bool software);
+ bool software,
+ bool allow_future_sync_points);
virtual ~GpuChannel();
void Init(base::MessageLoopProxy* io_message_loop,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id);
- void CreateImage(
- gfx::PluginWindowHandle window,
- int32 image_id,
- gfx::Size* size);
- void DeleteImage(int32 image_id);
-
gfx::GLShareGroup* share_group() const { return share_group_.get(); }
GpuCommandBufferStub* LookupCommandBuffer(int32 route_id);
uint64 GetMemoryUsage();
+ bool allow_future_sync_points() const { return allow_future_sync_points_; }
+
private:
friend class GpuChannelMessageFilter;
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
- scoped_refptr<gpu::gles2::ImageManager> image_manager_;
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;
size_t num_stubs_descheduled_;
+ bool allow_future_sync_points_;
+
DISALLOW_COPY_AND_ASSIGN(GpuChannel);
};