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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_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: Add kGLImplementationMockGL case to gl_image_android.cc. Created 8 years, 2 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 WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // CHROMIUM_shallow_flush 482 // CHROMIUM_shallow_flush
483 // Only applies to contexts that use the command buffer. 483 // Only applies to contexts that use the command buffer.
484 virtual void shallowFlushCHROMIUM() { } 484 virtual void shallowFlushCHROMIUM() { }
485 485
486 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 486 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
487 virtual void produceTextureCHROMIUM(WGC3Denum target, 487 virtual void produceTextureCHROMIUM(WGC3Denum target,
488 const WGC3Dbyte* mailbox); 488 const WGC3Dbyte* mailbox);
489 virtual void consumeTextureCHROMIUM(WGC3Denum target, 489 virtual void consumeTextureCHROMIUM(WGC3Denum target,
490 const WGC3Dbyte* mailbox); 490 const WGC3Dbyte* mailbox);
491 491
492 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
493 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
494
492 protected: 495 protected:
493 virtual GrGLInterface* onCreateGrGLInterface(); 496 virtual GrGLInterface* onCreateGrGLInterface();
494 497
495 private: 498 private:
496 bool Initialize(Attributes attributes); 499 bool Initialize(Attributes attributes);
497 500
498 // ANGLE related. 501 // ANGLE related.
499 struct ShaderSourceEntry; 502 struct ShaderSourceEntry;
500 503
501 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; 504 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 ShaderSourceMap shader_source_map_; 563 ShaderSourceMap shader_source_map_;
561 564
562 ShHandle fragment_compiler_; 565 ShHandle fragment_compiler_;
563 ShHandle vertex_compiler_; 566 ShHandle vertex_compiler_;
564 }; 567 };
565 568
566 } // namespace gpu 569 } // namespace gpu
567 } // namespace webkit 570 } // namespace webkit
568 571
569 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 572 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698