OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in
ternalformat, WGC3Dint width, WGC3Dint height) { } | 277 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in
ternalformat, WGC3Dint width, WGC3Dint height) { } |
278 | 278 |
279 virtual WebGLId createQueryEXT() { return 1; } | 279 virtual WebGLId createQueryEXT() { return 1; } |
280 virtual void deleteQueryEXT(WebGLId) { } | 280 virtual void deleteQueryEXT(WebGLId) { } |
281 virtual GLboolean isQueryEXT(WebGLId) { return true; } | 281 virtual GLboolean isQueryEXT(WebGLId) { return true; } |
282 virtual void beginQueryEXT(GLenum, WebGLId) { } | 282 virtual void beginQueryEXT(GLenum, WebGLId) { } |
283 virtual void endQueryEXT(GLenum) { } | 283 virtual void endQueryEXT(GLenum) { } |
284 virtual void getQueryivEXT(GLenum, GLenum, GLint*) { } | 284 virtual void getQueryivEXT(GLenum, GLenum, GLint*) { } |
285 virtual void getQueryObjectuivEXT(WebGLId, GLenum, GLuint*) { } | 285 virtual void getQueryObjectuivEXT(WebGLId, GLenum, GLuint*) { } |
286 | 286 |
| 287 virtual WebString getTranslatedShaderSourceANGLE(WebGLId) { return WebString
(); } |
| 288 |
287 protected: | 289 protected: |
288 unsigned m_nextTextureId; | 290 unsigned m_nextTextureId; |
289 Attributes m_attrs; | 291 Attributes m_attrs; |
290 }; | 292 }; |
291 | 293 |
292 } // namespace blink | 294 } // namespace blink |
293 | 295 |
294 #endif // MockWebGraphicsContext3D_h | 296 #endif // MockWebGraphicsContext3D_h |
OLD | NEW |