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

Unified Diff: cc/test/test_in_process_context_provider.cc

Issue 667793004: Support single-threaded impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, add ContextCapabilities Created 6 years, 2 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 | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_in_process_context_provider.cc
diff --git a/cc/test/test_in_process_context_provider.cc b/cc/test/test_in_process_context_provider.cc
index 28097b8e90b46138c88de1f7f3e982a525458d55..34b0493d8120c032b08f5419450a9687fd148526 100644
--- a/cc/test/test_in_process_context_provider.cc
+++ b/cc/test/test_in_process_context_provider.cc
@@ -126,7 +126,11 @@ class GrContext* TestInProcessContextProvider::GrContext() {
ContextProvider::Capabilities
TestInProcessContextProvider::ContextCapabilities() {
- return ContextProvider::Capabilities();
+ ContextProvider::Capabilities capabilities;
+ capabilities.gpu.image = true;
enne (OOO) 2014/10/29 21:30:08 reveman: This is one of the parts that was missing
reveman 2014/10/29 22:22:19 Acknowledged.
+ capabilities.gpu.texture_rectangle = true;
+
+ return capabilities;
}
bool TestInProcessContextProvider::IsContextLost() { return false; }
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698