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

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

Issue 8680002: Added minimal support to command buffer for GL_ARB_texture_rectangle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 virtual void deleteTexture(WebGLId); 435 virtual void deleteTexture(WebGLId);
436 436
437 virtual void setContextLostCallback( 437 virtual void setContextLostCallback(
438 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback) {} 438 WebGraphicsContext3D::WebGraphicsContextLostCallback* callback) {}
439 virtual WGC3Denum getGraphicsResetStatusARB(); 439 virtual WGC3Denum getGraphicsResetStatusARB();
440 440
441 virtual void setSwapBuffersCompleteCallbackCHROMIUM( 441 virtual void setSwapBuffersCompleteCallbackCHROMIUM(
442 WebGraphicsContext3D:: 442 WebGraphicsContext3D::
443 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {} 443 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback) {}
444 444
445 virtual void texImageIOSurface2DCHROMIUM(
446 WGC3Denum target, WGC3Dint width, WGC3Dint height,
447 WGC3Duint ioSurfaceId, WGC3Duint plane);
448
445 protected: 449 protected:
446 #if WEBKIT_USING_SKIA 450 #if WEBKIT_USING_SKIA
447 virtual GrGLInterface* onCreateGrGLInterface(); 451 virtual GrGLInterface* onCreateGrGLInterface();
448 #endif 452 #endif
449 453
450 private: 454 private:
451 // ANGLE related. 455 // ANGLE related.
452 struct ShaderSourceEntry; 456 struct ShaderSourceEntry;
453 457
454 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; 458 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 ShHandle fragment_compiler_; 519 ShHandle fragment_compiler_;
516 ShHandle vertex_compiler_; 520 ShHandle vertex_compiler_;
517 gfx::PluginWindowHandle window_; 521 gfx::PluginWindowHandle window_;
518 scoped_refptr<gfx::GLShareGroup> share_group_; 522 scoped_refptr<gfx::GLShareGroup> share_group_;
519 }; 523 };
520 524
521 } // namespace gpu 525 } // namespace gpu
522 } // namespace webkit 526 } // namespace webkit
523 527
524 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 528 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698