OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 // GL_OES_rgb8_rgba8 names | 100 // GL_OES_rgb8_rgba8 names |
101 RGB8_OES = 0x8051, | 101 RGB8_OES = 0x8051, |
102 RGBA8_OES = 0x8058, | 102 RGBA8_OES = 0x8058, |
103 | 103 |
104 // GL_OES_vertex_array_object names | 104 // GL_OES_vertex_array_object names |
105 VERTEX_ARRAY_BINDING_OES = 0x85B5, | 105 VERTEX_ARRAY_BINDING_OES = 0x85B5, |
106 }; | 106 }; |
107 | 107 |
108 // GL_ARB_robustness | 108 // GL_ARB_robustness |
| 109 // Note: This method's behavior differs from the GL_ARB_robustness |
| 110 // specification in the following way: |
| 111 // The implementation must not reset the error state during this call. |
| 112 // If getGraphicsResetStatusARB returns an error, it should continue |
| 113 // returning the same error. Restoring the GraphicsContext3D is handled |
| 114 // externally. |
109 virtual int getGraphicsResetStatusARB() = 0; | 115 virtual int getGraphicsResetStatusARB() = 0; |
110 | 116 |
111 // GL_ANGLE_framebuffer_blit | 117 // GL_ANGLE_framebuffer_blit |
112 virtual void blitFramebuffer(long srcX0, long srcY0, long srcX1, long srcY1,
long dstX0, long dstY0, long dstX1, long dstY1, unsigned long mask, unsigned lo
ng filter) = 0; | 118 virtual void blitFramebuffer(long srcX0, long srcY0, long srcX1, long srcY1,
long dstX0, long dstY0, long dstX1, long dstY1, unsigned long mask, unsigned lo
ng filter) = 0; |
113 | 119 |
114 // GL_ANGLE_framebuffer_multisample | 120 // GL_ANGLE_framebuffer_multisample |
115 virtual void renderbufferStorageMultisample(unsigned long target, unsigned l
ong samples, unsigned long internalformat, unsigned long width, unsigned long he
ight) = 0; | 121 virtual void renderbufferStorageMultisample(unsigned long target, unsigned l
ong samples, unsigned long internalformat, unsigned long width, unsigned long he
ight) = 0; |
116 | 122 |
117 // GL_OES_vertex_array_object | 123 // GL_OES_vertex_array_object |
118 virtual Platform3DObject createVertexArrayOES() = 0; | 124 virtual Platform3DObject createVertexArrayOES() = 0; |
119 virtual void deleteVertexArrayOES(Platform3DObject) = 0; | 125 virtual void deleteVertexArrayOES(Platform3DObject) = 0; |
120 virtual GC3Dboolean isVertexArrayOES(Platform3DObject) = 0; | 126 virtual GC3Dboolean isVertexArrayOES(Platform3DObject) = 0; |
121 virtual void bindVertexArrayOES(Platform3DObject) = 0; | 127 virtual void bindVertexArrayOES(Platform3DObject) = 0; |
122 }; | 128 }; |
123 | 129 |
124 } // namespace WebCore | 130 } // namespace WebCore |
125 | 131 |
126 #endif // Extensions3D_h | 132 #endif // Extensions3D_h |
OLD | NEW |