gpu acclereted osr added

This commit is contained in:
gellert 2016-07-18 16:16:23 +02:00
parent 5371921f8a
commit 96e1ba9c14
12 changed files with 812 additions and 198 deletions

View file

@ -191,11 +191,12 @@ void CommonWebContentsDelegate::InitWithWebContents(
content::WebContentsImpl* impl =
reinterpret_cast<content::WebContentsImpl*>(web_contents);
impl->SetView(new OffScreenWebContentsView);
std::cout << "end" << std::endl;
// Create InspectableWebContents.
/*web_contents_.reset(brightray::InspectableWebContents::Create(web_contents));
web_contents_->SetDelegate(this);*/
web_contents_.reset(brightray::InspectableWebContents::Create(web_contents));
web_contents_->SetDelegate(this);
impl->SetView(new OffScreenWebContentsView);
std::cout << "end" << std::endl;
}