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

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

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/texture_manager.h
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index 976213b72cc993bd934506cbaec7e8e42bae5f27..a255ad40983f17f30a5a70eae8c42f81db4bcaaa 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -13,7 +13,6 @@
#include "base/basictypes.h"
#include "base/containers/hash_tables.h"
#include "base/memory/ref_counted.h"
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate.h"
#include "gpu/command_buffer/service/gl_utils.h"
#include "gpu/command_buffer/service/memory_tracking.h"
#include "gpu/gpu_export.h"
@@ -679,15 +678,6 @@ class GPU_EXPORT TextureManager : public base::trace_event::MemoryDumpProvider {
GLenum type,
const gfx::Rect& cleared_rect);
- // Adapter to call above function.
- void SetLevelInfoFromParams(TextureRef* ref,
- const gpu::AsyncTexImage2DParams& params) {
- SetLevelInfo(ref, params.target, params.level, params.internal_format,
- params.width, params.height, 1 /* depth */, params.border,
- params.format, params.type,
- gfx::Rect(params.width, params.height) /* cleared_rect */);
- }
-
Texture* Produce(TextureRef* ref);
// Maps an existing texture into the texture manager, at a given client ID.
« no previous file with comments | « gpu/command_buffer/service/query_manager.cc ('k') | gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698