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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_manager_win.cc

Issue 1186393004: gpu: Remove async texture uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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/async_pixel_transfer_manager_win.cc
diff --git a/gpu/command_buffer/service/async_pixel_transfer_manager_win.cc b/gpu/command_buffer/service/async_pixel_transfer_manager_win.cc
deleted file mode 100644
index dc106e8316dcf7136e5f982edd17aa0c7ba6a4aa..0000000000000000000000000000000000000000
--- a/gpu/command_buffer/service/async_pixel_transfer_manager_win.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include "gpu/command_buffer/service/async_pixel_transfer_manager.h"
-
-#include "base/trace_event/trace_event.h"
-#include "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h"
-#include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h"
-#include "ui/gl/gl_implementation.h"
-
-namespace gpu {
-
-AsyncPixelTransferManager* AsyncPixelTransferManager::Create(
- gfx::GLContext* context) {
- TRACE_EVENT0("gpu", "AsyncPixelTransferManager::Create");
- switch (gfx::GetGLImplementation()) {
- case gfx::kGLImplementationOSMesaGL:
- case gfx::kGLImplementationDesktopGL:
- case gfx::kGLImplementationEGLGLES2:
- return new AsyncPixelTransferManagerIdle(true);
- case gfx::kGLImplementationMockGL:
- return new AsyncPixelTransferManagerStub;
- default:
- NOTREACHED();
- return NULL;
- }
-}
-
-} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698