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

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

Issue 2134793002: Remove the command buffer method glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict. Created 4 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/in_process_command_buffer.h
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h
index 78fb199bd39c54d3d5cbf1b546ab40fc0f70e2c1..626d6db04bbc55a67146a36c482a9ed408377f93 100644
--- a/gpu/command_buffer/service/in_process_command_buffer.h
+++ b/gpu/command_buffer/service/in_process_command_buffer.h
@@ -115,7 +115,6 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer,
size_t height,
unsigned internalformat,
unsigned usage) override;
- int32_t GetImageGpuMemoryBufferId(unsigned image_id) override;
void SignalQuery(uint32_t query_id, const base::Closure& callback) override;
void SetLock(base::Lock*) override;
void EnsureWorkVisible() override;
@@ -272,9 +271,6 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer,
// the client thread.
std::unique_ptr<base::SequenceChecker> sequence_checker_;
- // A map from image id to GpuMemoryBuffer id.
- std::map<int32_t, int32_t> image_gmb_ids_map_;
-
base::WeakPtr<InProcessCommandBuffer> client_thread_weak_ptr_;
base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_;
base::WeakPtrFactory<InProcessCommandBuffer> client_thread_weak_ptr_factory_;
@@ -310,7 +306,6 @@ class GPU_EXPORT GpuInProcessThread
scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_;
scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
framebuffer_completeness_cache_;
-
DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread);
};

Powered by Google App Engine
This is Rietveld 408576698