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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 10440019: Add support for GL_CHROMIUM_pixel_transfer_buffer_object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary change. Created 8 years, 1 month 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 | Annotate | Revision Log
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 CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 virtual void deleteVertexArrayOES(WebGLId array); 596 virtual void deleteVertexArrayOES(WebGLId array);
597 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); 597 virtual WGC3Dboolean isVertexArrayOES(WebGLId array);
598 virtual void bindVertexArrayOES(WebGLId array); 598 virtual void bindVertexArrayOES(WebGLId array);
599 599
600 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint image_id); 600 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint image_id);
601 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint image_id); 601 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint image_id);
602 602
603 virtual WebGLId createStreamTextureCHROMIUM(WebGLId texture); 603 virtual WebGLId createStreamTextureCHROMIUM(WebGLId texture);
604 virtual void destroyStreamTextureCHROMIUM(WebGLId texture); 604 virtual void destroyStreamTextureCHROMIUM(WebGLId texture);
605 605
606 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access);
607 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target);
608
606 protected: 609 protected:
607 virtual GrGLInterface* onCreateGrGLInterface(); 610 virtual GrGLInterface* onCreateGrGLInterface();
608 611
609 private: 612 private:
610 // These are the same error codes as used by EGL. 613 // These are the same error codes as used by EGL.
611 enum Error { 614 enum Error {
612 SUCCESS = 0x3000, 615 SUCCESS = 0x3000,
613 BAD_ATTRIBUTE = 0x3004, 616 BAD_ATTRIBUTE = 0x3004,
614 CONTEXT_LOST = 0x300E 617 CONTEXT_LOST = 0x300E
615 }; 618 };
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 gpu::gles2::GLES2Implementation* gl_; 740 gpu::gles2::GLES2Implementation* gl_;
738 Error last_error_; 741 Error last_error_;
739 int frame_number_; 742 int frame_number_;
740 bool bind_generates_resources_; 743 bool bind_generates_resources_;
741 bool use_echo_for_swap_ack_; 744 bool use_echo_for_swap_ack_;
742 }; 745 };
743 746
744 } // namespace content 747 } // namespace content
745 748
746 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 749 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698