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

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

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
« no previous file with comments | « no previous file | content/renderer/webgraphicscontext3d_provider_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
6 #define CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ 6 #define CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 18 matching lines...) Expand all
29 29
30 // WebGraphicsContext3DProvider implementation. 30 // WebGraphicsContext3DProvider implementation.
31 bool bindToCurrentThread() override; 31 bool bindToCurrentThread() override;
32 gpu::gles2::GLES2Interface* contextGL() override; 32 gpu::gles2::GLES2Interface* contextGL() override;
33 GrContext* grContext() override; 33 GrContext* grContext() override;
34 gpu::Capabilities getCapabilities() override; 34 gpu::Capabilities getCapabilities() override;
35 bool isSoftwareRendering() const override; 35 bool isSoftwareRendering() const override;
36 void setLostContextCallback(const base::Closure&) override; 36 void setLostContextCallback(const base::Closure&) override;
37 void setErrorMessageCallback( 37 void setErrorMessageCallback(
38 const base::Callback<void(const char*, int32_t)>&) override; 38 const base::Callback<void(const char*, int32_t)>&) override;
39 void signalQuery(uint32_t, const base::Closure&) override;
39 40
40 ContextProviderCommandBuffer* context_provider() const { 41 ContextProviderCommandBuffer* context_provider() const {
41 return provider_.get(); 42 return provider_.get();
42 } 43 }
43 44
44 private: 45 private:
45 scoped_refptr<ContextProviderCommandBuffer> provider_; 46 scoped_refptr<ContextProviderCommandBuffer> provider_;
46 const bool software_rendering_; 47 const bool software_rendering_;
47 }; 48 };
48 49
49 } // namespace content 50 } // namespace content
50 51
51 #endif // CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ 52 #endif // CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/webgraphicscontext3d_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698