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

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

Issue 1439913005: fix the bugs of getSyncParameter in gl-object-get-calls.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: coding style Created 5 years, 1 month 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 blink::WebString getShaderInfoLog(blink::WebGLId shader) override; 220 blink::WebString getShaderInfoLog(blink::WebGLId shader) override;
221 221
222 void getShaderPrecisionFormat(blink::WGC3Denum shadertype, 222 void getShaderPrecisionFormat(blink::WGC3Denum shadertype,
223 blink::WGC3Denum precisiontype, 223 blink::WGC3Denum precisiontype,
224 blink::WGC3Dint* range, 224 blink::WGC3Dint* range,
225 blink::WGC3Dint* precision) override; 225 blink::WGC3Dint* precision) override;
226 226
227 blink::WebString getShaderSource(blink::WebGLId shader) override; 227 blink::WebString getShaderSource(blink::WebGLId shader) override;
228 blink::WebString getString(blink::WGC3Denum name) override; 228 blink::WebString getString(blink::WGC3Denum name) override;
229 229
230 void getSynciv(blink::WGC3Dsync sync,
231 blink::WGC3Denum pname,
232 blink::WGC3Dsizei bufSize,
233 blink::WGC3Dsizei *length,
234 blink::WGC3Dint *params) override;
235
230 void getTexParameterfv(blink::WGC3Denum target, 236 void getTexParameterfv(blink::WGC3Denum target,
231 blink::WGC3Denum pname, 237 blink::WGC3Denum pname,
232 blink::WGC3Dfloat* value) override; 238 blink::WGC3Dfloat* value) override;
233 void getTexParameteriv(blink::WGC3Denum target, 239 void getTexParameteriv(blink::WGC3Denum target,
234 blink::WGC3Denum pname, 240 blink::WGC3Denum pname,
235 blink::WGC3Dint* value) override; 241 blink::WGC3Dint* value) override;
236 242
237 void getUniformfv(blink::WebGLId program, 243 void getUniformfv(blink::WebGLId program,
238 blink::WGC3Dint location, 244 blink::WGC3Dint location,
239 blink::WGC3Dfloat* value) override; 245 blink::WGC3Dfloat* value) override;
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 std::vector<blink::WGC3Denum> synthetic_errors_; 977 std::vector<blink::WGC3Denum> synthetic_errors_;
972 978
973 ::gpu::gles2::GLES2Interface* gl_; 979 ::gpu::gles2::GLES2Interface* gl_;
974 bool lose_context_when_out_of_memory_; 980 bool lose_context_when_out_of_memory_;
975 uint32_t flush_id_; 981 uint32_t flush_id_;
976 }; 982 };
977 983
978 } // namespace gpu_blink 984 } // namespace gpu_blink
979 985
980 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 986 #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