OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |