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

Unified Diff: gpu/command_buffer/service/gpu_control_service.h

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
Index: gpu/command_buffer/service/gpu_control_service.h
diff --git a/gpu/command_buffer/service/gpu_control_service.h b/gpu/command_buffer/service/gpu_control_service.h
deleted file mode 100644
index 9a64946384f1d70c9fda3b2652be72ebcd11bb12..0000000000000000000000000000000000000000
--- a/gpu/command_buffer/service/gpu_control_service.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_CONTROL_SERVICE_H_
-#define GPU_COMMAND_BUFFER_SERVICE_GPU_CONTROL_SERVICE_H_
-
-#include "base/callback.h"
-#include "gpu/command_buffer/common/capabilities.h"
-#include "gpu/gpu_export.h"
-#include "ui/gfx/gpu_memory_buffer.h"
-
-namespace gpu {
-class GpuMemoryBufferManagerInterface;
-
-namespace gles2 {
-class QueryManager;
-}
-
-class GPU_EXPORT GpuControlService {
- public:
- GpuControlService(GpuMemoryBufferManagerInterface* gpu_memory_buffer_manager,
- gles2::QueryManager* query_manager);
- virtual ~GpuControlService();
-
- void SignalQuery(uint32 query, const base::Closure& callback);
-
- void RegisterGpuMemoryBuffer(int32 id,
- gfx::GpuMemoryBufferHandle buffer,
- size_t width,
- size_t height,
- unsigned internalformat);
- void UnregisterGpuMemoryBuffer(int32 id);
-
- private:
- GpuMemoryBufferManagerInterface* gpu_memory_buffer_manager_;
- gles2::QueryManager* query_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuControlService);
-};
-
-} // namespace gpu
-
-#endif // GPU_COMMAND_BUFFER_SERVICE_GPU_CONTROL_SERVICE_H_
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc ('k') | gpu/command_buffer/service/gpu_control_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698