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

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

Issue 1870483003: Add command buffer support for GL_RGB CHROMIUM image emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing braces. Created 4 years, 8 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 15 matching lines...) Expand all
26 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3DProvider) { 26 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3DProvider) {
27 public: 27 public:
28 explicit WebGraphicsContext3DProviderImpl( 28 explicit WebGraphicsContext3DProviderImpl(
29 scoped_refptr<cc_blink::ContextProviderWebContext> provider); 29 scoped_refptr<cc_blink::ContextProviderWebContext> provider);
30 ~WebGraphicsContext3DProviderImpl() override; 30 ~WebGraphicsContext3DProviderImpl() override;
31 31
32 // WebGraphicsContext3DProvider implementation. 32 // WebGraphicsContext3DProvider implementation.
33 blink::WebGraphicsContext3D* context3d() override; 33 blink::WebGraphicsContext3D* context3d() override;
34 gpu::gles2::GLES2Interface* contextGL() override; 34 gpu::gles2::GLES2Interface* contextGL() override;
35 GrContext* grContext() override; 35 GrContext* grContext() override;
36 gpu::Capabilities getCapabilities() override;
36 void setLostContextCallback(blink::WebClosure) override; 37 void setLostContextCallback(blink::WebClosure) override;
37 void setErrorMessageCallback( 38 void setErrorMessageCallback(
38 blink::WebFunction<void(const char*, int32_t)>) override; 39 blink::WebFunction<void(const char*, int32_t)>) override;
39 40
40 private: 41 private:
41 scoped_refptr<cc_blink::ContextProviderWebContext> provider_; 42 scoped_refptr<cc_blink::ContextProviderWebContext> provider_;
42 }; 43 };
43 44
44 } // namespace content 45 } // namespace content
45 46
46 #endif // CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_PROVIDER_IMPL_H_ 47 #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