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

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

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove .gitmodules change. Created 8 years, 5 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 | 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 virtual void getQueryObjectuivEXT( 566 virtual void getQueryObjectuivEXT(
567 WebGLId query, WGC3Denum pname, WGC3Duint* params); 567 WebGLId query, WGC3Denum pname, WGC3Duint* params);
568 568
569 virtual void copyTextureCHROMIUM(WGC3Denum target, WebGLId source_id, 569 virtual void copyTextureCHROMIUM(WGC3Denum target, WebGLId source_id,
570 WebGLId dest_id, WGC3Dint level, 570 WebGLId dest_id, WGC3Dint level,
571 WGC3Denum internal_format); 571 WGC3Denum internal_format);
572 572
573 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 573 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
574 const WGC3Dchar* uniform); 574 const WGC3Dchar* uniform);
575 575
576 virtual void texImagePixmap2DCHROMIUM(WGC3Denum target, WGC3Duint pixmapId);
apatrick_chromium 2012/10/11 23:09:57 Nit: this file is Chrome style so pixmapId -> pixm
reveman 2012/10/12 03:29:11 Fixed.
577
576 protected: 578 protected:
577 virtual GrGLInterface* onCreateGrGLInterface(); 579 virtual GrGLInterface* onCreateGrGLInterface();
578 580
579 private: 581 private:
580 // These are the same error codes as used by EGL. 582 // These are the same error codes as used by EGL.
581 enum Error { 583 enum Error {
582 SUCCESS = 0x3000, 584 SUCCESS = 0x3000,
583 BAD_ATTRIBUTE = 0x3004, 585 BAD_ATTRIBUTE = 0x3004,
584 CONTEXT_LOST = 0x300E 586 CONTEXT_LOST = 0x300E
585 }; 587 };
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 CommandBufferProxy* command_buffer_; 702 CommandBufferProxy* command_buffer_;
701 gpu::gles2::GLES2CmdHelper* gles2_helper_; 703 gpu::gles2::GLES2CmdHelper* gles2_helper_;
702 gpu::TransferBuffer* transfer_buffer_; 704 gpu::TransferBuffer* transfer_buffer_;
703 gpu::gles2::GLES2Implementation* gl_; 705 gpu::gles2::GLES2Implementation* gl_;
704 Error last_error_; 706 Error last_error_;
705 int frame_number_; 707 int frame_number_;
706 bool bind_generates_resources_; 708 bool bind_generates_resources_;
707 }; 709 };
708 710
709 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 711 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698