Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
  2. index 6beaf612dbc3..9f3bc8bdbff4 100644
  3. --- a/cc/trees/layer_tree_host_impl.cc
  4. +++ b/cc/trees/layer_tree_host_impl.cc
  5. @@ -1998,6 +1998,10 @@ void LayerTreeHostImpl::GetGpuRasterizationCapabilities(
  6. if (!*gpu_rasterization_enabled && !settings_.gpu_rasterization_forced)
  7. return;
  8.  
  9. + // FIXME(backer): HACK!
  10. + *gpu_rasterization_supported = true;
  11. + return;
  12. +
  13. // Do not check GrContext above. It is lazy-created, and we only want to
  14. // create it if it might be used.
  15. GrContext* gr_context = context_provider->GrContext();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement