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

Unified Diff: blimp/client/feature/compositor/blimp_context_provider.cc

Issue 1898983003: Stop overriding the image capability to true in BlimpContextProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: blimpimage: rebase Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/compositor/blimp_context_provider.cc
diff --git a/blimp/client/feature/compositor/blimp_context_provider.cc b/blimp/client/feature/compositor/blimp_context_provider.cc
index 4d0e06e5445f08a2aa8616e557808d93f7848f71..241e42e7e47e5b85c9ae77a237209ffe793c7a21 100644
--- a/blimp/client/feature/compositor/blimp_context_provider.cc
+++ b/blimp/client/feature/compositor/blimp_context_provider.cc
@@ -65,12 +65,7 @@ void BlimpContextProvider::DetachFromThread() {
gpu::Capabilities BlimpContextProvider::ContextCapabilities() {
DCHECK(context_thread_checker_.CalledOnValidThread());
- gpu::Capabilities capabilities =
- context_->GetImplementation()->capabilities();
- // TODO(danakj): Why? Is this even valid? This is the CHROMIUM_image extension
- // to use GpuMemoryBuffers. Does the context not provide this?
- capabilities.image = true;
- return capabilities;
+ return context_->GetImplementation()->capabilities();
}
gpu::gles2::GLES2Interface* BlimpContextProvider::ContextGL() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698