| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This file is read by build_raster_cmd_buffer.py to generate commands. |
| |
| GL_APICALL void GL_APIENTRY glFinish (void); |
| GL_APICALL void GL_APIENTRY glFlush (void); |
| GL_APICALL GLenum GL_APIENTRY glGetError (void); |
| GL_APICALL void GL_APIENTRY glShallowFlushCHROMIUM (void); |
| GL_APICALL void GL_APIENTRY glOrderingBarrierCHROMIUM (void); |
| GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizeiNotNegative n, GLuint* queries); |
| GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizeiNotNegative n, const GLuint* queries); |
| GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenumQueryTarget target, GLidQuery id); |
| GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenumQueryTarget target); |
| GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLidQuery id, GLenumQueryObjectParameter pname, GLuint* params); |
| |
| // Non-GL commands. |
| GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM (GLenumResetStatus current, GLenumResetStatus other); |
| |
| // Extension KHR_robustness |
| GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void); |
| |
| // Extension CHROMIUM_raster_transport |
| GL_APICALL void GL_APIENTRY glBeginRasterCHROMIUM (GLuint sk_color, GLuint msaa_sample_count, GLboolean can_use_lcd_text, const GLbyte* mailbox); |
| GL_APICALL void GL_APIENTRY glRasterCHROMIUM (GLuint raster_shm_id, GLuint raster_shm_offset, GLuint raster_shm_size, GLuint font_shm_id, GLuint font_shm_offset, GLuint font_shm_size); |
| GL_APICALL void GL_APIENTRY glEndRasterCHROMIUM (void); |
| GL_APICALL void GL_APIENTRY glCreateTransferCacheEntryINTERNAL (GLuint entry_type, GLuint entry_id, GLuint handle_shm_id, GLuint handle_shm_offset, GLuint data_shm_id, GLuint data_shm_offset, GLuint data_size); |
| GL_APICALL void GL_APIENTRY glDeleteTransferCacheEntryINTERNAL (GLuint entry_type, GLuint entry_id); |
| GL_APICALL void GL_APIENTRY glUnlockTransferCacheEntryINTERNAL (GLuint entry_type, GLuint entry_id); |
| GL_APICALL void GL_APIENTRY glDeletePaintCacheTextBlobsINTERNAL (GLsizeiNotNegative n, const GLuint* ids); |
| GL_APICALL void GL_APIENTRY glDeletePaintCachePathsINTERNAL (GLsizeiNotNegative n, const GLuint* ids); |
| GL_APICALL void GL_APIENTRY glClearPaintCacheINTERNAL (void); |
| |
| // TOOD(backer): Remove GL encoding. These are not GL functions. |
| // |mailboxes| argument is the concatenation of the source mailbox and the destination mailbox (32 bytes total) |
| GL_APICALL void GL_APIENTRY glCopySubTextureINTERNAL (GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height, const GLbyte* mailboxes); |
| GL_APICALL void GL_APIENTRY glTraceBeginCHROMIUM (const char* category_name, const char* trace_name); |
| GL_APICALL void GL_APIENTRY glTraceEndCHROMIUM (void); |
| GL_APICALL void GL_APIENTRY glSetActiveURLCHROMIUM (const char* url); |