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

Side by Side Diff: gpu/blink/webgraphicscontext3d_impl.h

Issue 1834983003: Remove string-getting methods from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getactive: pointers 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 5 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 19 matching lines...) Expand all
30 class WebGraphicsContext3DErrorMessageCallback; 30 class WebGraphicsContext3DErrorMessageCallback;
31 31
32 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl 32 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
33 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) { 33 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) {
34 public: 34 public:
35 ~WebGraphicsContext3DImpl() override; 35 ~WebGraphicsContext3DImpl() override;
36 36
37 //---------------------------------------------------------------------- 37 //----------------------------------------------------------------------
38 // WebGraphicsContext3D methods 38 // WebGraphicsContext3D methods
39 39
40 bool getActiveAttrib(blink::WebGLId program,
41 blink::WGC3Duint index,
42 ActiveInfo&) override;
43 bool getActiveUniform(blink::WebGLId program,
44 blink::WGC3Duint index,
45 ActiveInfo&) override;
46
47 blink::WebString getProgramInfoLog(blink::WebGLId program) override;
48 blink::WebString getShaderInfoLog(blink::WebGLId shader) override;
49 blink::WebString getShaderSource(blink::WebGLId shader) override;
50
51 blink::WebString getTranslatedShaderSourceANGLE(
52 blink::WebGLId shader) override;
53
54 void setContextLostCallback( 40 void setContextLostCallback(
55 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); 41 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback);
56 42
57 void setErrorMessageCallback( 43 void setErrorMessageCallback(
58 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* callback) override; 44 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* callback) override;
59 45
60 // WebGraphicsContext3D implementation. 46 // WebGraphicsContext3D implementation.
61 ::gpu::gles2::GLES2Interface* getGLES2Interface() override; 47 ::gpu::gles2::GLES2Interface* getGLES2Interface() override;
62 48
63 ::gpu::gles2::GLES2Interface* GetGLInterface() { 49 ::gpu::gles2::GLES2Interface* GetGLInterface() {
(...skipping 30 matching lines...) Expand all
94 // Errors raised by synthesizeGLError(). 80 // Errors raised by synthesizeGLError().
95 std::vector<blink::WGC3Denum> synthetic_errors_; 81 std::vector<blink::WGC3Denum> synthetic_errors_;
96 82
97 ::gpu::gles2::GLES2Interface* gl_; 83 ::gpu::gles2::GLES2Interface* gl_;
98 bool lose_context_when_out_of_memory_; 84 bool lose_context_when_out_of_memory_;
99 }; 85 };
100 86
101 } // namespace gpu_blink 87 } // namespace gpu_blink
102 88
103 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 89 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | third_party/WebKit/Source/modules/webgl/GLStringQuery.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698