| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // GL_CHROMIUM_setVisibility - Changes the visibility of the backbuffer | 141 // GL_CHROMIUM_setVisibility - Changes the visibility of the backbuffer |
| 142 virtual void setVisibilityCHROMIUM(bool visible) = 0; | 142 virtual void setVisibilityCHROMIUM(bool visible) = 0; |
| 143 | 143 |
| 144 // GL_EXT_discard_framebuffer - makes specified attachments of currently bou
nd framebuffer undefined. | 144 // GL_EXT_discard_framebuffer - makes specified attachments of currently bou
nd framebuffer undefined. |
| 145 virtual void discardFramebufferEXT(WGC3Denum target, WGC3Dsizei numAttachmen
ts, const WGC3Denum* attachments) { } | 145 virtual void discardFramebufferEXT(WGC3Denum target, WGC3Dsizei numAttachmen
ts, const WGC3Denum* attachments) { } |
| 146 | 146 |
| 147 // GL_CHROMIUM_discard_backbuffer - controls allocation/deallocation of the
back buffer. | 147 // GL_CHROMIUM_discard_backbuffer - controls allocation/deallocation of the
back buffer. |
| 148 virtual void discardBackbufferCHROMIUM() { } | 148 virtual void discardBackbufferCHROMIUM() { } |
| 149 virtual void ensureBackbufferCHROMIUM() { } | 149 virtual void ensureBackbufferCHROMIUM() { } |
| 150 | 150 |
| 151 virtual bool insertSyncPoint(WGC3Dbyte*) { return false; } | |
| 152 virtual WGC3Duint64 insertFenceSyncCHROMIUM() { return 0; } | 151 virtual WGC3Duint64 insertFenceSyncCHROMIUM() { return 0; } |
| 153 virtual bool genSyncTokenCHROMIUM(WGC3Duint64, WGC3Dbyte*) { return false; } | 152 virtual bool genSyncTokenCHROMIUM(WGC3Duint64, WGC3Dbyte*) { return false; } |
| 154 virtual void waitSyncTokenCHROMIUM(const WGC3Dbyte*) {} | 153 virtual void waitSyncTokenCHROMIUM(const WGC3Dbyte*) {} |
| 155 | 154 |
| 156 // Copies the contents of the off-screen render target used by the WebGL | 155 // Copies the contents of the off-screen render target used by the WebGL |
| 157 // context to the corresponding texture used by the compositor. | 156 // context to the corresponding texture used by the compositor. |
| 158 virtual void prepareTexture() = 0; | 157 virtual void prepareTexture() = 0; |
| 159 | 158 |
| 160 // GL_CHROMIUM_post_sub_buffer - Copies part of the back buffer to the front
buffer. | 159 // GL_CHROMIUM_post_sub_buffer - Copies part of the back buffer to the front
buffer. |
| 161 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) = 0; | 160 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) = 0; |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } | 548 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } |
| 550 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } | 549 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } |
| 551 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } | 550 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } |
| 552 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } | 551 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } |
| 553 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } | 552 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } |
| 554 }; | 553 }; |
| 555 | 554 |
| 556 } // namespace blink | 555 } // namespace blink |
| 557 | 556 |
| 558 #endif | 557 #endif |
| OLD | NEW |