Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 // Sets the contents of a bucket as a string. 464 // Sets the contents of a bucket as a string.
465 void SetBucketAsString(uint32_t bucket_id, const std::string& str); 465 void SetBucketAsString(uint32_t bucket_id, const std::string& str);
466 466
467 // Returns true if id is reserved. 467 // Returns true if id is reserved.
468 bool IsBufferReservedId(GLuint id); 468 bool IsBufferReservedId(GLuint id);
469 bool IsFramebufferReservedId(GLuint id) { return false; } 469 bool IsFramebufferReservedId(GLuint id) { return false; }
470 bool IsRenderbufferReservedId(GLuint id) { return false; } 470 bool IsRenderbufferReservedId(GLuint id) { return false; }
471 bool IsTextureReservedId(GLuint id) { return false; } 471 bool IsTextureReservedId(GLuint id) { return false; }
472 bool IsVertexArrayReservedId(GLuint id) { return false; } 472 bool IsVertexArrayReservedId(GLuint id) { return false; }
473 bool IsProgramReservedId(GLuint id) { return false; } 473 bool IsProgramReservedId(GLuint id) { return false; }
474 bool IsValuebufferReservedId(GLuint id) { return false; }
475 bool IsSamplerReservedId(GLuint id) { return false; } 474 bool IsSamplerReservedId(GLuint id) { return false; }
476 bool IsTransformFeedbackReservedId(GLuint id) { return false; } 475 bool IsTransformFeedbackReservedId(GLuint id) { return false; }
477 476
478 void BindBufferHelper(GLenum target, GLuint buffer); 477 void BindBufferHelper(GLenum target, GLuint buffer);
479 void BindBufferBaseHelper(GLenum target, GLuint index, GLuint buffer); 478 void BindBufferBaseHelper(GLenum target, GLuint index, GLuint buffer);
480 void BindBufferRangeHelper(GLenum target, GLuint index, GLuint buffer, 479 void BindBufferRangeHelper(GLenum target, GLuint index, GLuint buffer,
481 GLintptr offset, GLsizeiptr size); 480 GLintptr offset, GLsizeiptr size);
482 void BindFramebufferHelper(GLenum target, GLuint framebuffer); 481 void BindFramebufferHelper(GLenum target, GLuint framebuffer);
483 void BindRenderbufferHelper(GLenum target, GLuint renderbuffer); 482 void BindRenderbufferHelper(GLenum target, GLuint renderbuffer);
484 void BindSamplerHelper(GLuint unit, GLuint sampler); 483 void BindSamplerHelper(GLuint unit, GLuint sampler);
485 void BindTextureHelper(GLenum target, GLuint texture); 484 void BindTextureHelper(GLenum target, GLuint texture);
486 void BindTransformFeedbackHelper(GLenum target, GLuint transformfeedback); 485 void BindTransformFeedbackHelper(GLenum target, GLuint transformfeedback);
487 void BindVertexArrayOESHelper(GLuint array); 486 void BindVertexArrayOESHelper(GLuint array);
488 void BindValuebufferCHROMIUMHelper(GLenum target, GLuint valuebuffer);
489 void UseProgramHelper(GLuint program); 487 void UseProgramHelper(GLuint program);
490 488
491 void BindBufferStub(GLenum target, GLuint buffer); 489 void BindBufferStub(GLenum target, GLuint buffer);
492 void BindBufferBaseStub(GLenum target, GLuint index, GLuint buffer); 490 void BindBufferBaseStub(GLenum target, GLuint index, GLuint buffer);
493 void BindBufferRangeStub(GLenum target, GLuint index, GLuint buffer, 491 void BindBufferRangeStub(GLenum target, GLuint index, GLuint buffer,
494 GLintptr offset, GLsizeiptr size); 492 GLintptr offset, GLsizeiptr size);
495 void BindFramebufferStub(GLenum target, GLuint framebuffer); 493 void BindFramebufferStub(GLenum target, GLuint framebuffer);
496 void BindRenderbufferStub(GLenum target, GLuint renderbuffer); 494 void BindRenderbufferStub(GLenum target, GLuint renderbuffer);
497 void BindTextureStub(GLenum target, GLuint texture); 495 void BindTextureStub(GLenum target, GLuint texture);
498 void BindValuebufferCHROMIUMStub(GLenum target, GLuint valuebuffer);
499 496
500 void GenBuffersHelper(GLsizei n, const GLuint* buffers); 497 void GenBuffersHelper(GLsizei n, const GLuint* buffers);
501 void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers); 498 void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers);
502 void GenRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); 499 void GenRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers);
503 void GenTexturesHelper(GLsizei n, const GLuint* textures); 500 void GenTexturesHelper(GLsizei n, const GLuint* textures);
504 void GenVertexArraysOESHelper(GLsizei n, const GLuint* arrays); 501 void GenVertexArraysOESHelper(GLsizei n, const GLuint* arrays);
505 void GenQueriesEXTHelper(GLsizei n, const GLuint* queries); 502 void GenQueriesEXTHelper(GLsizei n, const GLuint* queries);
506 void GenValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers);
507 void GenSamplersHelper(GLsizei n, const GLuint* samplers); 503 void GenSamplersHelper(GLsizei n, const GLuint* samplers);
508 void GenTransformFeedbacksHelper(GLsizei n, const GLuint* transformfeedbacks); 504 void GenTransformFeedbacksHelper(GLsizei n, const GLuint* transformfeedbacks);
509 505
510 void DeleteBuffersHelper(GLsizei n, const GLuint* buffers); 506 void DeleteBuffersHelper(GLsizei n, const GLuint* buffers);
511 void DeleteFramebuffersHelper(GLsizei n, const GLuint* framebuffers); 507 void DeleteFramebuffersHelper(GLsizei n, const GLuint* framebuffers);
512 void DeleteRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); 508 void DeleteRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers);
513 void DeleteTexturesHelper(GLsizei n, const GLuint* textures); 509 void DeleteTexturesHelper(GLsizei n, const GLuint* textures);
514 bool DeleteProgramHelper(GLuint program); 510 bool DeleteProgramHelper(GLuint program);
515 bool DeleteShaderHelper(GLuint shader); 511 bool DeleteShaderHelper(GLuint shader);
516 void DeleteQueriesEXTHelper(GLsizei n, const GLuint* queries); 512 void DeleteQueriesEXTHelper(GLsizei n, const GLuint* queries);
517 void DeleteVertexArraysOESHelper(GLsizei n, const GLuint* arrays); 513 void DeleteVertexArraysOESHelper(GLsizei n, const GLuint* arrays);
518 void DeleteValuebuffersCHROMIUMHelper(GLsizei n, const GLuint* valuebuffers);
519 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers); 514 void DeleteSamplersHelper(GLsizei n, const GLuint* samplers);
520 void DeleteTransformFeedbacksHelper( 515 void DeleteTransformFeedbacksHelper(
521 GLsizei n, const GLuint* transformfeedbacks); 516 GLsizei n, const GLuint* transformfeedbacks);
522 void DeleteSyncHelper(GLsync sync); 517 void DeleteSyncHelper(GLsync sync);
523 518
524 void DeleteBuffersStub(GLsizei n, const GLuint* buffers); 519 void DeleteBuffersStub(GLsizei n, const GLuint* buffers);
525 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers); 520 void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers);
526 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers); 521 void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers);
527 void DeleteTexturesStub(GLsizei n, const GLuint* textures); 522 void DeleteTexturesStub(GLsizei n, const GLuint* textures);
528 void DeletePathsCHROMIUMStub(GLuint first_client_id, GLsizei range); 523 void DeletePathsCHROMIUMStub(GLuint first_client_id, GLsizei range);
529 void DeleteProgramStub(GLsizei n, const GLuint* programs); 524 void DeleteProgramStub(GLsizei n, const GLuint* programs);
530 void DeleteShaderStub(GLsizei n, const GLuint* shaders); 525 void DeleteShaderStub(GLsizei n, const GLuint* shaders);
531 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays); 526 void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays);
532 void DeleteValuebuffersCHROMIUMStub(GLsizei n, const GLuint* valuebuffers);
533 void DeleteSamplersStub(GLsizei n, const GLuint* samplers); 527 void DeleteSamplersStub(GLsizei n, const GLuint* samplers);
534 void DeleteTransformFeedbacksStub( 528 void DeleteTransformFeedbacksStub(
535 GLsizei n, const GLuint* transformfeedbacks); 529 GLsizei n, const GLuint* transformfeedbacks);
536 void DeleteSyncStub(GLsizei n, const GLuint* syncs); 530 void DeleteSyncStub(GLsizei n, const GLuint* syncs);
537 531
538 void BufferDataHelper( 532 void BufferDataHelper(
539 GLenum target, GLsizeiptr size, const void* data, GLenum usage); 533 GLenum target, GLsizeiptr size, const void* data, GLenum usage);
540 void BufferSubDataHelper( 534 void BufferSubDataHelper(
541 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); 535 GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
542 void BufferSubDataHelperImpl( 536 void BufferSubDataHelperImpl(
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 GLint unpack_skip_images_; 742 GLint unpack_skip_images_;
749 743
750 std::unique_ptr<TextureUnit[]> texture_units_; 744 std::unique_ptr<TextureUnit[]> texture_units_;
751 745
752 // 0 to gl_state_.max_combined_texture_image_units. 746 // 0 to gl_state_.max_combined_texture_image_units.
753 GLuint active_texture_unit_; 747 GLuint active_texture_unit_;
754 748
755 GLuint bound_framebuffer_; 749 GLuint bound_framebuffer_;
756 GLuint bound_read_framebuffer_; 750 GLuint bound_read_framebuffer_;
757 GLuint bound_renderbuffer_; 751 GLuint bound_renderbuffer_;
758 GLuint bound_valuebuffer_;
759 752
760 // The program in use by glUseProgram 753 // The program in use by glUseProgram
761 GLuint current_program_; 754 GLuint current_program_;
762 755
763 GLuint bound_array_buffer_; 756 GLuint bound_array_buffer_;
764 GLuint bound_copy_read_buffer_; 757 GLuint bound_copy_read_buffer_;
765 GLuint bound_copy_write_buffer_; 758 GLuint bound_copy_write_buffer_;
766 GLuint bound_pixel_pack_buffer_; 759 GLuint bound_pixel_pack_buffer_;
767 GLuint bound_pixel_unpack_buffer_; 760 GLuint bound_pixel_unpack_buffer_;
768 GLuint bound_transform_feedback_buffer_; 761 GLuint bound_transform_feedback_buffer_;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 885
893 inline bool GLES2Implementation::GetTexParameterivHelper( 886 inline bool GLES2Implementation::GetTexParameterivHelper(
894 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 887 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
895 return false; 888 return false;
896 } 889 }
897 890
898 } // namespace gles2 891 } // namespace gles2
899 } // namespace gpu 892 } // namespace gpu
900 893
901 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 894 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698