1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file is auto-generated from 6 // gpu/command_buffer/build_gles2_cmd_buffer.py 7 // It's formatted by clang-format using chromium coding style: 8 // clang-format -i -style=chromium filename 9 // DO NOT EDIT! 10 11 // This file is included by gles2_implementation.h to declare the 12 // GL api functions. 13 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 14 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 15 16 virtual void ActiveTexture(GLenum texture) OVERRIDE; 17 18 virtual void AttachShader(GLuint program, GLuint shader) OVERRIDE; 19 20 virtual void BindAttribLocation(GLuint program, 21 GLuint index, 22 const char* name) OVERRIDE; 23 24 virtual void BindBuffer(GLenum target, GLuint buffer) OVERRIDE; 25 26 virtual void BindFramebuffer(GLenum target, GLuint framebuffer) OVERRIDE; 27 28 virtual void BindRenderbuffer(GLenum target, GLuint renderbuffer) OVERRIDE; 29 30 virtual void BindTexture(GLenum target, GLuint texture) OVERRIDE; 31 32 virtual void BlendColor(GLclampf red, 33 GLclampf green, 34 GLclampf blue, 35 GLclampf alpha) OVERRIDE; 36 37 virtual void BlendEquation(GLenum mode) OVERRIDE; 38 39 virtual void BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) OVERRIDE; 40 41 virtual void BlendFunc(GLenum sfactor, GLenum dfactor) OVERRIDE; 42 43 virtual void BlendFuncSeparate(GLenum srcRGB, 44 GLenum dstRGB, 45 GLenum srcAlpha, 46 GLenum dstAlpha) OVERRIDE; 47 48 virtual void BufferData(GLenum target, 49 GLsizeiptr size, 50 const void* data, 51 GLenum usage) OVERRIDE; 52 53 virtual void BufferSubData(GLenum target, 54 GLintptr offset, 55 GLsizeiptr size, 56 const void* data) OVERRIDE; 57 58 virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE; 59 60 virtual void Clear(GLbitfield mask) OVERRIDE; 61 62 virtual void ClearColor(GLclampf red, 63 GLclampf green, 64 GLclampf blue, 65 GLclampf alpha) OVERRIDE; 66 67 virtual void ClearDepthf(GLclampf depth) OVERRIDE; 68 69 virtual void ClearStencil(GLint s) OVERRIDE; 70 71 virtual void ColorMask(GLboolean red, 72 GLboolean green, 73 GLboolean blue, 74 GLboolean alpha) OVERRIDE; 75 76 virtual void CompileShader(GLuint shader) OVERRIDE; 77 78 virtual void CompressedTexImage2D(GLenum target, 79 GLint level, 80 GLenum internalformat, 81 GLsizei width, 82 GLsizei height, 83 GLint border, 84 GLsizei imageSize, 85 const void* data) OVERRIDE; 86 87 virtual void CompressedTexSubImage2D(GLenum target, 88 GLint level, 89 GLint xoffset, 90 GLint yoffset, 91 GLsizei width, 92 GLsizei height, 93 GLenum format, 94 GLsizei imageSize, 95 const void* data) OVERRIDE; 96 97 virtual void CopyTexImage2D(GLenum target, 98 GLint level, 99 GLenum internalformat, 100 GLint x, 101 GLint y, 102 GLsizei width, 103 GLsizei height, 104 GLint border) OVERRIDE; 105 106 virtual void CopyTexSubImage2D(GLenum target, 107 GLint level, 108 GLint xoffset, 109 GLint yoffset, 110 GLint x, 111 GLint y, 112 GLsizei width, 113 GLsizei height) OVERRIDE; 114 115 virtual GLuint CreateProgram() OVERRIDE; 116 117 virtual GLuint CreateShader(GLenum type) OVERRIDE; 118 119 virtual void CullFace(GLenum mode) OVERRIDE; 120 121 virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE; 122 123 virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) OVERRIDE; 124 125 virtual void DeleteProgram(GLuint program) OVERRIDE; 126 127 virtual void DeleteRenderbuffers(GLsizei n, 128 const GLuint* renderbuffers) OVERRIDE; 129 130 virtual void DeleteShader(GLuint shader) OVERRIDE; 131 132 virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE; 133 134 virtual void DepthFunc(GLenum func) OVERRIDE; 135 136 virtual void DepthMask(GLboolean flag) OVERRIDE; 137 138 virtual void DepthRangef(GLclampf zNear, GLclampf zFar) OVERRIDE; 139 140 virtual void DetachShader(GLuint program, GLuint shader) OVERRIDE; 141 142 virtual void Disable(GLenum cap) OVERRIDE; 143 144 virtual void DrawArrays(GLenum mode, GLint first, GLsizei count) OVERRIDE; 145 146 virtual void DrawElements(GLenum mode, 147 GLsizei count, 148 GLenum type, 149 const void* indices) OVERRIDE; 150 151 virtual void Enable(GLenum cap) OVERRIDE; 152 153 virtual void Finish() OVERRIDE; 154 155 virtual void Flush() OVERRIDE; 156 157 virtual void FramebufferRenderbuffer(GLenum target, 158 GLenum attachment, 159 GLenum renderbuffertarget, 160 GLuint renderbuffer) OVERRIDE; 161 162 virtual void FramebufferTexture2D(GLenum target, 163 GLenum attachment, 164 GLenum textarget, 165 GLuint texture, 166 GLint level) OVERRIDE; 167 168 virtual void FrontFace(GLenum mode) OVERRIDE; 169 170 virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE; 171 172 virtual void GenerateMipmap(GLenum target) OVERRIDE; 173 174 virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE; 175 176 virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) OVERRIDE; 177 178 virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE; 179 180 virtual void GetActiveAttrib(GLuint program, 181 GLuint index, 182 GLsizei bufsize, 183 GLsizei* length, 184 GLint* size, 185 GLenum* type, 186 char* name) OVERRIDE; 187 188 virtual void GetActiveUniform(GLuint program, 189 GLuint index, 190 GLsizei bufsize, 191 GLsizei* length, 192 GLint* size, 193 GLenum* type, 194 char* name) OVERRIDE; 195 196 virtual void GetAttachedShaders(GLuint program, 197 GLsizei maxcount, 198 GLsizei* count, 199 GLuint* shaders) OVERRIDE; 200 201 virtual GLint GetAttribLocation(GLuint program, const char* name) OVERRIDE; 202 203 virtual void GetBooleanv(GLenum pname, GLboolean* params) OVERRIDE; 204 205 virtual void GetBufferParameteriv(GLenum target, 206 GLenum pname, 207 GLint* params) OVERRIDE; 208 209 virtual GLenum GetError() OVERRIDE; 210 211 virtual void GetFloatv(GLenum pname, GLfloat* params) OVERRIDE; 212 213 virtual void GetFramebufferAttachmentParameteriv(GLenum target, 214 GLenum attachment, 215 GLenum pname, 216 GLint* params) OVERRIDE; 217 218 virtual void GetIntegerv(GLenum pname, GLint* params) OVERRIDE; 219 220 virtual void GetProgramiv(GLuint program, GLenum pname, GLint* params) OVERRIDE; 221 222 virtual void GetProgramInfoLog(GLuint program, 223 GLsizei bufsize, 224 GLsizei* length, 225 char* infolog) OVERRIDE; 226 227 virtual void GetRenderbufferParameteriv(GLenum target, 228 GLenum pname, 229 GLint* params) OVERRIDE; 230 231 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) OVERRIDE; 232 233 virtual void GetShaderInfoLog(GLuint shader, 234 GLsizei bufsize, 235 GLsizei* length, 236 char* infolog) OVERRIDE; 237 238 virtual void GetShaderPrecisionFormat(GLenum shadertype, 239 GLenum precisiontype, 240 GLint* range, 241 GLint* precision) OVERRIDE; 242 243 virtual void GetShaderSource(GLuint shader, 244 GLsizei bufsize, 245 GLsizei* length, 246 char* source) OVERRIDE; 247 248 virtual const GLubyte* GetString(GLenum name) OVERRIDE; 249 250 virtual void GetTexParameterfv(GLenum target, 251 GLenum pname, 252 GLfloat* params) OVERRIDE; 253 254 virtual void GetTexParameteriv(GLenum target, 255 GLenum pname, 256 GLint* params) OVERRIDE; 257 258 virtual void GetUniformfv(GLuint program, 259 GLint location, 260 GLfloat* params) OVERRIDE; 261 262 virtual void GetUniformiv(GLuint program, 263 GLint location, 264 GLint* params) OVERRIDE; 265 266 virtual GLint GetUniformLocation(GLuint program, const char* name) OVERRIDE; 267 268 virtual void GetVertexAttribPointerv(GLuint index, 269 GLenum pname, 270 void** pointer) OVERRIDE; 271 272 virtual void Hint(GLenum target, GLenum mode) OVERRIDE; 273 274 virtual GLboolean IsBuffer(GLuint buffer) OVERRIDE; 275 276 virtual GLboolean IsEnabled(GLenum cap) OVERRIDE; 277 278 virtual GLboolean IsFramebuffer(GLuint framebuffer) OVERRIDE; 279 280 virtual GLboolean IsProgram(GLuint program) OVERRIDE; 281 282 virtual GLboolean IsRenderbuffer(GLuint renderbuffer) OVERRIDE; 283 284 virtual GLboolean IsShader(GLuint shader) OVERRIDE; 285 286 virtual GLboolean IsTexture(GLuint texture) OVERRIDE; 287 288 virtual void LineWidth(GLfloat width) OVERRIDE; 289 290 virtual void LinkProgram(GLuint program) OVERRIDE; 291 292 virtual void PixelStorei(GLenum pname, GLint param) OVERRIDE; 293 294 virtual void PolygonOffset(GLfloat factor, GLfloat units) OVERRIDE; 295 296 virtual void ReadPixels(GLint x, 297 GLint y, 298 GLsizei width, 299 GLsizei height, 300 GLenum format, 301 GLenum type, 302 void* pixels) OVERRIDE; 303 304 virtual void ReleaseShaderCompiler() OVERRIDE; 305 306 virtual void RenderbufferStorage(GLenum target, 307 GLenum internalformat, 308 GLsizei width, 309 GLsizei height) OVERRIDE; 310 311 virtual void SampleCoverage(GLclampf value, GLboolean invert) OVERRIDE; 312 313 virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; 314 315 virtual void ShaderBinary(GLsizei n, 316 const GLuint* shaders, 317 GLenum binaryformat, 318 const void* binary, 319 GLsizei length) OVERRIDE; 320 321 virtual void ShaderSource(GLuint shader, 322 GLsizei count, 323 const GLchar* const* str, 324 const GLint* length) OVERRIDE; 325 326 virtual void ShallowFinishCHROMIUM() OVERRIDE; 327 328 virtual void ShallowFlushCHROMIUM() OVERRIDE; 329 330 virtual void StencilFunc(GLenum func, GLint ref, GLuint mask) OVERRIDE; 331 332 virtual void StencilFuncSeparate(GLenum face, 333 GLenum func, 334 GLint ref, 335 GLuint mask) OVERRIDE; 336 337 virtual void StencilMask(GLuint mask) OVERRIDE; 338 339 virtual void StencilMaskSeparate(GLenum face, GLuint mask) OVERRIDE; 340 341 virtual void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) OVERRIDE; 342 343 virtual void StencilOpSeparate(GLenum face, 344 GLenum fail, 345 GLenum zfail, 346 GLenum zpass) OVERRIDE; 347 348 virtual void TexImage2D(GLenum target, 349 GLint level, 350 GLint internalformat, 351 GLsizei width, 352 GLsizei height, 353 GLint border, 354 GLenum format, 355 GLenum type, 356 const void* pixels) OVERRIDE; 357 358 virtual void TexParameterf(GLenum target, GLenum pname, GLfloat param) OVERRIDE; 359 360 virtual void TexParameterfv(GLenum target, 361 GLenum pname, 362 const GLfloat* params) OVERRIDE; 363 364 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) OVERRIDE; 365 366 virtual void TexParameteriv(GLenum target, 367 GLenum pname, 368 const GLint* params) OVERRIDE; 369 370 virtual void TexSubImage2D(GLenum target, 371 GLint level, 372 GLint xoffset, 373 GLint yoffset, 374 GLsizei width, 375 GLsizei height, 376 GLenum format, 377 GLenum type, 378 const void* pixels) OVERRIDE; 379 380 virtual void Uniform1f(GLint location, GLfloat x) OVERRIDE; 381 382 virtual void Uniform1fv(GLint location, 383 GLsizei count, 384 const GLfloat* v) OVERRIDE; 385 386 virtual void Uniform1i(GLint location, GLint x) OVERRIDE; 387 388 virtual void Uniform1iv(GLint location, GLsizei count, const GLint* v) OVERRIDE; 389 390 virtual void Uniform2f(GLint location, GLfloat x, GLfloat y) OVERRIDE; 391 392 virtual void Uniform2fv(GLint location, 393 GLsizei count, 394 const GLfloat* v) OVERRIDE; 395 396 virtual void Uniform2i(GLint location, GLint x, GLint y) OVERRIDE; 397 398 virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) OVERRIDE; 399 400 virtual void Uniform3f(GLint location, 401 GLfloat x, 402 GLfloat y, 403 GLfloat z) OVERRIDE; 404 405 virtual void Uniform3fv(GLint location, 406 GLsizei count, 407 const GLfloat* v) OVERRIDE; 408 409 virtual void Uniform3i(GLint location, GLint x, GLint y, GLint z) OVERRIDE; 410 411 virtual void Uniform3iv(GLint location, GLsizei count, const GLint* v) OVERRIDE; 412 413 virtual void Uniform4f(GLint location, 414 GLfloat x, 415 GLfloat y, 416 GLfloat z, 417 GLfloat w) OVERRIDE; 418 419 virtual void Uniform4fv(GLint location, 420 GLsizei count, 421 const GLfloat* v) OVERRIDE; 422 423 virtual void Uniform4i(GLint location, 424 GLint x, 425 GLint y, 426 GLint z, 427 GLint w) OVERRIDE; 428 429 virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) OVERRIDE; 430 431 virtual void UniformMatrix2fv(GLint location, 432 GLsizei count, 433 GLboolean transpose, 434 const GLfloat* value) OVERRIDE; 435 436 virtual void UniformMatrix3fv(GLint location, 437 GLsizei count, 438 GLboolean transpose, 439 const GLfloat* value) OVERRIDE; 440 441 virtual void UniformMatrix4fv(GLint location, 442 GLsizei count, 443 GLboolean transpose, 444 const GLfloat* value) OVERRIDE; 445 446 virtual void UseProgram(GLuint program) OVERRIDE; 447 448 virtual void ValidateProgram(GLuint program) OVERRIDE; 449 450 virtual void VertexAttrib1f(GLuint indx, GLfloat x) OVERRIDE; 451 452 virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) OVERRIDE; 453 454 virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) OVERRIDE; 455 456 virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) OVERRIDE; 457 458 virtual void VertexAttrib3f(GLuint indx, 459 GLfloat x, 460 GLfloat y, 461 GLfloat z) OVERRIDE; 462 463 virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) OVERRIDE; 464 465 virtual void VertexAttrib4f(GLuint indx, 466 GLfloat x, 467 GLfloat y, 468 GLfloat z, 469 GLfloat w) OVERRIDE; 470 471 virtual void VertexAttrib4fv(GLuint indx, const GLfloat* values) OVERRIDE; 472 473 virtual void VertexAttribPointer(GLuint indx, 474 GLint size, 475 GLenum type, 476 GLboolean normalized, 477 GLsizei stride, 478 const void* ptr) OVERRIDE; 479 480 virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; 481 482 virtual void BlitFramebufferCHROMIUM(GLint srcX0, 483 GLint srcY0, 484 GLint srcX1, 485 GLint srcY1, 486 GLint dstX0, 487 GLint dstY0, 488 GLint dstX1, 489 GLint dstY1, 490 GLbitfield mask, 491 GLenum filter) OVERRIDE; 492 493 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target, 494 GLsizei samples, 495 GLenum internalformat, 496 GLsizei width, 497 GLsizei height) OVERRIDE; 498 499 virtual void RenderbufferStorageMultisampleEXT(GLenum target, 500 GLsizei samples, 501 GLenum internalformat, 502 GLsizei width, 503 GLsizei height) OVERRIDE; 504 505 virtual void FramebufferTexture2DMultisampleEXT(GLenum target, 506 GLenum attachment, 507 GLenum textarget, 508 GLuint texture, 509 GLint level, 510 GLsizei samples) OVERRIDE; 511 512 virtual void TexStorage2DEXT(GLenum target, 513 GLsizei levels, 514 GLenum internalFormat, 515 GLsizei width, 516 GLsizei height) OVERRIDE; 517 518 virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE; 519 520 virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE; 521 522 virtual GLboolean IsQueryEXT(GLuint id) OVERRIDE; 523 524 virtual void BeginQueryEXT(GLenum target, GLuint id) OVERRIDE; 525 526 virtual void EndQueryEXT(GLenum target) OVERRIDE; 527 528 virtual void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) OVERRIDE; 529 530 virtual void GetQueryObjectuivEXT(GLuint id, 531 GLenum pname, 532 GLuint* params) OVERRIDE; 533 534 virtual void InsertEventMarkerEXT(GLsizei length, 535 const GLchar* marker) OVERRIDE; 536 537 virtual void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) OVERRIDE; 538 539 virtual void PopGroupMarkerEXT() OVERRIDE; 540 541 virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) OVERRIDE; 542 543 virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) OVERRIDE; 544 545 virtual GLboolean IsVertexArrayOES(GLuint array) OVERRIDE; 546 547 virtual void BindVertexArrayOES(GLuint array) OVERRIDE; 548 549 virtual void SwapBuffers() OVERRIDE; 550 551 virtual GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id, 552 GLsizei count, 553 GLenum type, 554 GLuint offset) OVERRIDE; 555 556 virtual void GenSharedIdsCHROMIUM(GLuint namespace_id, 557 GLuint id_offset, 558 GLsizei n, 559 GLuint* ids) OVERRIDE; 560 561 virtual void DeleteSharedIdsCHROMIUM(GLuint namespace_id, 562 GLsizei n, 563 const GLuint* ids) OVERRIDE; 564 565 virtual void RegisterSharedIdsCHROMIUM(GLuint namespace_id, 566 GLsizei n, 567 const GLuint* ids) OVERRIDE; 568 569 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) OVERRIDE; 570 571 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) OVERRIDE; 572 573 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) OVERRIDE; 574 575 virtual void* MapImageCHROMIUM(GLuint image_id) OVERRIDE; 576 577 virtual void UnmapImageCHROMIUM(GLuint image_id) OVERRIDE; 578 579 virtual void* MapBufferSubDataCHROMIUM(GLuint target, 580 GLintptr offset, 581 GLsizeiptr size, 582 GLenum access) OVERRIDE; 583 584 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) OVERRIDE; 585 586 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, 587 GLint level, 588 GLint xoffset, 589 GLint yoffset, 590 GLsizei width, 591 GLsizei height, 592 GLenum format, 593 GLenum type, 594 GLenum access) OVERRIDE; 595 596 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) OVERRIDE; 597 598 virtual void ResizeCHROMIUM(GLuint width, 599 GLuint height, 600 GLfloat scale_factor) OVERRIDE; 601 602 virtual const GLchar* GetRequestableExtensionsCHROMIUM() OVERRIDE; 603 604 virtual void RequestExtensionCHROMIUM(const char* extension) OVERRIDE; 605 606 virtual void RateLimitOffscreenContextCHROMIUM() OVERRIDE; 607 608 virtual void GetMultipleIntegervCHROMIUM(const GLenum* pnames, 609 GLuint count, 610 GLint* results, 611 GLsizeiptr size) OVERRIDE; 612 613 virtual void GetProgramInfoCHROMIUM(GLuint program, 614 GLsizei bufsize, 615 GLsizei* size, 616 void* info) OVERRIDE; 617 618 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) OVERRIDE; 619 620 virtual GLuint CreateImageCHROMIUM(GLsizei width, 621 GLsizei height, 622 GLenum internalformat, 623 GLenum usage) OVERRIDE; 624 625 virtual void DestroyImageCHROMIUM(GLuint image_id) OVERRIDE; 626 627 virtual void GetImageParameterivCHROMIUM(GLuint image_id, 628 GLenum pname, 629 GLint* params) OVERRIDE; 630 631 virtual void GetTranslatedShaderSourceANGLE(GLuint shader, 632 GLsizei bufsize, 633 GLsizei* length, 634 char* source) OVERRIDE; 635 636 virtual void PostSubBufferCHROMIUM(GLint x, 637 GLint y, 638 GLint width, 639 GLint height) OVERRIDE; 640 641 virtual void TexImageIOSurface2DCHROMIUM(GLenum target, 642 GLsizei width, 643 GLsizei height, 644 GLuint ioSurfaceId, 645 GLuint plane) OVERRIDE; 646 647 virtual void CopyTextureCHROMIUM(GLenum target, 648 GLenum source_id, 649 GLenum dest_id, 650 GLint level, 651 GLint internalformat, 652 GLenum dest_type) OVERRIDE; 653 654 virtual void DrawArraysInstancedANGLE(GLenum mode, 655 GLint first, 656 GLsizei count, 657 GLsizei primcount) OVERRIDE; 658 659 virtual void DrawElementsInstancedANGLE(GLenum mode, 660 GLsizei count, 661 GLenum type, 662 const void* indices, 663 GLsizei primcount) OVERRIDE; 664 665 virtual void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) OVERRIDE; 666 667 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) OVERRIDE; 668 669 virtual void ProduceTextureCHROMIUM(GLenum target, 670 const GLbyte* mailbox) OVERRIDE; 671 672 virtual void ProduceTextureDirectCHROMIUM(GLuint texture, 673 GLenum target, 674 const GLbyte* mailbox) OVERRIDE; 675 676 virtual void ConsumeTextureCHROMIUM(GLenum target, 677 const GLbyte* mailbox) OVERRIDE; 678 679 virtual GLuint CreateAndConsumeTextureCHROMIUM(GLenum target, 680 const GLbyte* mailbox) OVERRIDE; 681 682 virtual void BindUniformLocationCHROMIUM(GLuint program, 683 GLint location, 684 const char* name) OVERRIDE; 685 686 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) OVERRIDE; 687 688 virtual void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) OVERRIDE; 689 690 virtual void TraceBeginCHROMIUM(const char* name) OVERRIDE; 691 692 virtual void TraceEndCHROMIUM() OVERRIDE; 693 694 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target, 695 GLint level, 696 GLint xoffset, 697 GLint yoffset, 698 GLsizei width, 699 GLsizei height, 700 GLenum format, 701 GLenum type, 702 const void* data) OVERRIDE; 703 704 virtual void AsyncTexImage2DCHROMIUM(GLenum target, 705 GLint level, 706 GLenum internalformat, 707 GLsizei width, 708 GLsizei height, 709 GLint border, 710 GLenum format, 711 GLenum type, 712 const void* pixels) OVERRIDE; 713 714 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) OVERRIDE; 715 716 virtual void WaitAllAsyncTexImage2DCHROMIUM() OVERRIDE; 717 718 virtual void DiscardFramebufferEXT(GLenum target, 719 GLsizei count, 720 const GLenum* attachments) OVERRIDE; 721 722 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; 723 724 virtual GLuint InsertSyncPointCHROMIUM() OVERRIDE; 725 726 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) OVERRIDE; 727 728 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) OVERRIDE; 729 730 virtual void DiscardBackbufferCHROMIUM() OVERRIDE; 731 732 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, 733 GLenum plane_transform, 734 GLuint overlay_texture_id, 735 GLint bounds_x, 736 GLint bounds_y, 737 GLint bounds_width, 738 GLint bounds_height, 739 GLfloat uv_x, 740 GLfloat uv_y, 741 GLfloat uv_width, 742 GLfloat uv_height) OVERRIDE; 743 744 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) OVERRIDE; 745 746 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) OVERRIDE; 747 748 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 749