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

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

Issue 1824433002: Remove getError() and synthesizeGLError() from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: Created 4 years, 9 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 blink::WGC3Denum type, 45 blink::WGC3Denum type,
46 blink::WGC3Dintptr offset) override; 46 blink::WGC3Dintptr offset) override;
47 47
48 bool getActiveAttrib(blink::WebGLId program, 48 bool getActiveAttrib(blink::WebGLId program,
49 blink::WGC3Duint index, 49 blink::WGC3Duint index,
50 ActiveInfo&) override; 50 ActiveInfo&) override;
51 bool getActiveUniform(blink::WebGLId program, 51 bool getActiveUniform(blink::WebGLId program,
52 blink::WGC3Duint index, 52 blink::WGC3Duint index,
53 ActiveInfo&) override; 53 ActiveInfo&) override;
54 54
55 blink::WGC3Denum getError() override;
56 blink::WebString getProgramInfoLog(blink::WebGLId program) override; 55 blink::WebString getProgramInfoLog(blink::WebGLId program) override;
57 blink::WebString getShaderInfoLog(blink::WebGLId shader) override; 56 blink::WebString getShaderInfoLog(blink::WebGLId shader) override;
58 blink::WebString getShaderSource(blink::WebGLId shader) override; 57 blink::WebString getShaderSource(blink::WebGLId shader) override;
59 blink::WebString getString(blink::WGC3Denum name) override; 58 blink::WebString getString(blink::WGC3Denum name) override;
60 59
61 void getSynciv(blink::WGC3Dsync sync, 60 void getSynciv(blink::WGC3Dsync sync,
62 blink::WGC3Denum pname, 61 blink::WGC3Denum pname,
63 blink::WGC3Dsizei bufSize, 62 blink::WGC3Dsizei bufSize,
64 blink::WGC3Dsizei *length, 63 blink::WGC3Dsizei *length,
65 blink::WGC3Dint *params) override; 64 blink::WGC3Dint *params) override;
(...skipping 14 matching lines...) Expand all
80 blink::WebGLId createBuffer() override; 79 blink::WebGLId createBuffer() override;
81 blink::WebGLId createFramebuffer() override; 80 blink::WebGLId createFramebuffer() override;
82 blink::WebGLId createRenderbuffer() override; 81 blink::WebGLId createRenderbuffer() override;
83 blink::WebGLId createTexture() override; 82 blink::WebGLId createTexture() override;
84 83
85 void deleteBuffer(blink::WebGLId) override; 84 void deleteBuffer(blink::WebGLId) override;
86 void deleteFramebuffer(blink::WebGLId) override; 85 void deleteFramebuffer(blink::WebGLId) override;
87 void deleteRenderbuffer(blink::WebGLId) override; 86 void deleteRenderbuffer(blink::WebGLId) override;
88 void deleteTexture(blink::WebGLId) override; 87 void deleteTexture(blink::WebGLId) override;
89 88
90 void synthesizeGLError(blink::WGC3Denum) override;
91
92 blink::WebString getRequestableExtensionsCHROMIUM() override; 89 blink::WebString getRequestableExtensionsCHROMIUM() override;
93 90
94 void blitFramebufferCHROMIUM(blink::WGC3Dint srcX0, 91 void blitFramebufferCHROMIUM(blink::WGC3Dint srcX0,
95 blink::WGC3Dint srcY0, 92 blink::WGC3Dint srcY0,
96 blink::WGC3Dint srcX1, 93 blink::WGC3Dint srcX1,
97 blink::WGC3Dint srcY1, 94 blink::WGC3Dint srcY1,
98 blink::WGC3Dint dstX0, 95 blink::WGC3Dint dstX0,
99 blink::WGC3Dint dstY0, 96 blink::WGC3Dint dstY0,
100 blink::WGC3Dint dstX1, 97 blink::WGC3Dint dstX1,
101 blink::WGC3Dint dstY1, 98 blink::WGC3Dint dstY1,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // Errors raised by synthesizeGLError(). 327 // Errors raised by synthesizeGLError().
331 std::vector<blink::WGC3Denum> synthetic_errors_; 328 std::vector<blink::WGC3Denum> synthetic_errors_;
332 329
333 ::gpu::gles2::GLES2Interface* gl_; 330 ::gpu::gles2::GLES2Interface* gl_;
334 bool lose_context_when_out_of_memory_; 331 bool lose_context_when_out_of_memory_;
335 }; 332 };
336 333
337 } // namespace gpu_blink 334 } // namespace gpu_blink
338 335
339 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 336 #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/WebGLProgram.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698