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

Side by Side Diff: content/renderer/webgraphicscontext3d_provider_impl.cc

Issue 2379203002: implement getBufferSubDataAsync prototype (Closed)
Patch Set: small clarification Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/webgraphicscontext3d_provider_impl.h" 5 #include "content/renderer/webgraphicscontext3d_provider_impl.h"
6 6
7 #include "content/common/gpu/client/context_provider_command_buffer.h" 7 #include "content/common/gpu/client/context_provider_command_buffer.h"
8 #include "gpu/command_buffer/client/context_support.h" 8 #include "gpu/command_buffer/client/context_support.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 28 matching lines...) Expand all
39 void WebGraphicsContext3DProviderImpl::setLostContextCallback( 39 void WebGraphicsContext3DProviderImpl::setLostContextCallback(
40 const base::Closure& c) { 40 const base::Closure& c) {
41 provider_->SetLostContextCallback(c); 41 provider_->SetLostContextCallback(c);
42 } 42 }
43 43
44 void WebGraphicsContext3DProviderImpl::setErrorMessageCallback( 44 void WebGraphicsContext3DProviderImpl::setErrorMessageCallback(
45 const base::Callback<void(const char*, int32_t)>& c) { 45 const base::Callback<void(const char*, int32_t)>& c) {
46 provider_->ContextSupport()->SetErrorMessageCallback(c); 46 provider_->ContextSupport()->SetErrorMessageCallback(c);
47 } 47 }
48 48
49 void WebGraphicsContext3DProviderImpl::signalQuery(
50 uint32_t query, const base::Closure& callback) {
51 provider_->ContextSupport()->SignalQuery(query, callback);
52 }
53
49 } // namespace content 54 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/webgraphicscontext3d_provider_impl.h ('k') | content/test/gpu/gpu_tests/webgl2_conformance_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698