OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 virtual void setErrorMessageCallback(WebGraphicsErrorMessageCallback* callba
ck) { } | 369 virtual void setErrorMessageCallback(WebGraphicsErrorMessageCallback* callba
ck) { } |
370 // GL_ARB_robustness | 370 // GL_ARB_robustness |
371 // | 371 // |
372 // This entry point must provide slightly different semantics than | 372 // This entry point must provide slightly different semantics than |
373 // the GL_ARB_robustness extension; specifically, the lost context | 373 // the GL_ARB_robustness extension; specifically, the lost context |
374 // state is sticky, rather than reported only once. | 374 // state is sticky, rather than reported only once. |
375 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */
} | 375 virtual WGC3Denum getGraphicsResetStatusARB() { return 0; /* GL_NO_ERROR */
} |
376 | 376 |
377 virtual WebString getTranslatedShaderSourceANGLE(WebGLId shader) = 0; | 377 virtual WebString getTranslatedShaderSourceANGLE(WebGLId shader) = 0; |
378 | 378 |
| 379 // GL_CHROMIUM_screen_space_antialiasing |
| 380 virtual void applyScreenSpaceAntialiasingCHROMIUM() { } |
| 381 |
379 // GL_CHROMIUM_iosurface | 382 // GL_CHROMIUM_iosurface |
380 virtual void texImageIOSurface2DCHROMIUM(WGC3Denum target, WGC3Dint width, W
GC3Dint height, WGC3Duint ioSurfaceId, WGC3Duint plane) { } | 383 virtual void texImageIOSurface2DCHROMIUM(WGC3Denum target, WGC3Dint width, W
GC3Dint height, WGC3Duint ioSurfaceId, WGC3Duint plane) { } |
381 | 384 |
382 // GL_EXT_texture_storage | 385 // GL_EXT_texture_storage |
383 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in
ternalformat, | 386 virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint in
ternalformat, |
384 WGC3Dint width, WGC3Dint height) { } | 387 WGC3Dint width, WGC3Dint height) { } |
385 | 388 |
386 // GL_EXT_occlusion_query | 389 // GL_EXT_occlusion_query |
387 virtual WebGLId createQueryEXT() { return 0; } | 390 virtual WebGLId createQueryEXT() { return 0; } |
388 virtual void deleteQueryEXT(WebGLId query) { } | 391 virtual void deleteQueryEXT(WebGLId query) { } |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } | 563 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } |
561 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } | 564 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } |
562 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } | 565 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } |
563 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } | 566 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } |
564 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } | 567 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } |
565 }; | 568 }; |
566 | 569 |
567 } // namespace blink | 570 } // namespace blink |
568 | 571 |
569 #endif | 572 #endif |
OLD | NEW |