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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.h

Issue 9693045: WebKit support for EXT_occlusion_query. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initialize GL object Created 8 years, 9 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {} 451 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {}
452 452
453 virtual void texImageIOSurface2DCHROMIUM( 453 virtual void texImageIOSurface2DCHROMIUM(
454 WGC3Denum target, WGC3Dint width, WGC3Dint height, 454 WGC3Denum target, WGC3Dint width, WGC3Dint height,
455 WGC3Duint ioSurfaceId, WGC3Duint plane); 455 WGC3Duint ioSurfaceId, WGC3Duint plane);
456 456
457 virtual void texStorage2DEXT( 457 virtual void texStorage2DEXT(
458 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, 458 WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
459 WGC3Dint width, WGC3Dint height); 459 WGC3Dint width, WGC3Dint height);
460 460
461 virtual WebGLId createQueryEXT();
462 virtual void deleteQueryEXT(WebGLId query);
463 virtual WGC3Dboolean isQueryEXT(WebGLId query);
464 virtual void beginQueryEXT(WGC3Denum target, WebGLId query);
465 virtual void endQueryEXT(WGC3Denum target);
466 virtual void getQueryivEXT(
467 WGC3Denum target, WGC3Denum pname, WGC3Dint* params);
468 virtual void getQueryObjectuivEXT(
469 WebGLId query, WGC3Denum pname, WGC3Duint* params);
470
461 protected: 471 protected:
462 #if WEBKIT_USING_SKIA 472 #if WEBKIT_USING_SKIA
463 virtual GrGLInterface* onCreateGrGLInterface(); 473 virtual GrGLInterface* onCreateGrGLInterface();
464 #endif 474 #endif
465 475
466 private: 476 private:
467 bool Initialize(Attributes attributes); 477 bool Initialize(Attributes attributes);
468 478
469 // ANGLE related. 479 // ANGLE related.
470 struct ShaderSourceEntry; 480 struct ShaderSourceEntry;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 ShaderSourceMap shader_source_map_; 541 ShaderSourceMap shader_source_map_;
532 542
533 ShHandle fragment_compiler_; 543 ShHandle fragment_compiler_;
534 ShHandle vertex_compiler_; 544 ShHandle vertex_compiler_;
535 }; 545 };
536 546
537 } // namespace gpu 547 } // namespace gpu
538 } // namespace webkit 548 } // namespace webkit
539 549
540 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 550 #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