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

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: errors: rebase 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
« no previous file with comments | « no previous file | gpu/blink/webgraphicscontext3d_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 (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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 blink::WGC3Denum type, 42 blink::WGC3Denum type,
43 blink::WGC3Dintptr offset) override; 43 blink::WGC3Dintptr offset) override;
44 44
45 bool getActiveAttrib(blink::WebGLId program, 45 bool getActiveAttrib(blink::WebGLId program,
46 blink::WGC3Duint index, 46 blink::WGC3Duint index,
47 ActiveInfo&) override; 47 ActiveInfo&) override;
48 bool getActiveUniform(blink::WebGLId program, 48 bool getActiveUniform(blink::WebGLId program,
49 blink::WGC3Duint index, 49 blink::WGC3Duint index,
50 ActiveInfo&) override; 50 ActiveInfo&) override;
51 51
52 blink::WGC3Denum getError() override;
53 blink::WebString getProgramInfoLog(blink::WebGLId program) override; 52 blink::WebString getProgramInfoLog(blink::WebGLId program) override;
54 blink::WebString getShaderInfoLog(blink::WebGLId shader) override; 53 blink::WebString getShaderInfoLog(blink::WebGLId shader) override;
55 blink::WebString getShaderSource(blink::WebGLId shader) override; 54 blink::WebString getShaderSource(blink::WebGLId shader) override;
56 blink::WebString getString(blink::WGC3Denum name) override; 55 blink::WebString getString(blink::WGC3Denum name) override;
57 56
58 void getSynciv(blink::WGC3Dsync sync, 57 void getSynciv(blink::WGC3Dsync sync,
59 blink::WGC3Denum pname, 58 blink::WGC3Denum pname,
60 blink::WGC3Dsizei bufSize, 59 blink::WGC3Dsizei bufSize,
61 blink::WGC3Dsizei *length, 60 blink::WGC3Dsizei *length,
62 blink::WGC3Dint *params) override; 61 blink::WGC3Dint *params) override;
(...skipping 14 matching lines...) Expand all
77 blink::WebGLId createBuffer() override; 76 blink::WebGLId createBuffer() override;
78 blink::WebGLId createFramebuffer() override; 77 blink::WebGLId createFramebuffer() override;
79 blink::WebGLId createRenderbuffer() override; 78 blink::WebGLId createRenderbuffer() override;
80 blink::WebGLId createTexture() override; 79 blink::WebGLId createTexture() override;
81 80
82 void deleteBuffer(blink::WebGLId) override; 81 void deleteBuffer(blink::WebGLId) override;
83 void deleteFramebuffer(blink::WebGLId) override; 82 void deleteFramebuffer(blink::WebGLId) override;
84 void deleteRenderbuffer(blink::WebGLId) override; 83 void deleteRenderbuffer(blink::WebGLId) override;
85 void deleteTexture(blink::WebGLId) override; 84 void deleteTexture(blink::WebGLId) override;
86 85
87 void synthesizeGLError(blink::WGC3Denum) override;
88
89 blink::WebString getRequestableExtensionsCHROMIUM() override; 86 blink::WebString getRequestableExtensionsCHROMIUM() override;
90 87
91 void blitFramebufferCHROMIUM(blink::WGC3Dint srcX0, 88 void blitFramebufferCHROMIUM(blink::WGC3Dint srcX0,
92 blink::WGC3Dint srcY0, 89 blink::WGC3Dint srcY0,
93 blink::WGC3Dint srcX1, 90 blink::WGC3Dint srcX1,
94 blink::WGC3Dint srcY1, 91 blink::WGC3Dint srcY1,
95 blink::WGC3Dint dstX0, 92 blink::WGC3Dint dstX0,
96 blink::WGC3Dint dstY0, 93 blink::WGC3Dint dstY0,
97 blink::WGC3Dint dstX1, 94 blink::WGC3Dint dstX1,
98 blink::WGC3Dint dstY1, 95 blink::WGC3Dint dstY1,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // Errors raised by synthesizeGLError(). 324 // Errors raised by synthesizeGLError().
328 std::vector<blink::WGC3Denum> synthetic_errors_; 325 std::vector<blink::WGC3Denum> synthetic_errors_;
329 326
330 ::gpu::gles2::GLES2Interface* gl_; 327 ::gpu::gles2::GLES2Interface* gl_;
331 bool lose_context_when_out_of_memory_; 328 bool lose_context_when_out_of_memory_;
332 }; 329 };
333 330
334 } // namespace gpu_blink 331 } // namespace gpu_blink
335 332
336 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 333 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698