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

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

Issue 7488069: Expose mapExternalTexture extension to WebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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) 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 WGC3Dint xoffset, 84 WGC3Dint xoffset,
85 WGC3Dint yoffset, 85 WGC3Dint yoffset,
86 WGC3Dsizei width, 86 WGC3Dsizei width,
87 WGC3Dsizei height, 87 WGC3Dsizei height,
88 WGC3Denum format, 88 WGC3Denum format,
89 WGC3Denum type, 89 WGC3Denum type,
90 WGC3Denum access); 90 WGC3Denum access);
91 virtual void unmapTexSubImage2DCHROMIUM(const void*); 91 virtual void unmapTexSubImage2DCHROMIUM(const void*);
92 virtual void copyTextureToParentTextureCHROMIUM( 92 virtual void copyTextureToParentTextureCHROMIUM(
93 WebGLId texture, WebGLId parentTexture); 93 WebGLId texture, WebGLId parentTexture);
94 virtual void mapExternalTextureCHROMIUM(
95 WebGLId source_texture, WebGraphicsContext3D* source_context,
96 WebGLId destination_texture);
94 97
95 virtual void rateLimitOffscreenContextCHROMIUM() { } 98 virtual void rateLimitOffscreenContextCHROMIUM() { }
96 99
97 virtual WebString getRequestableExtensionsCHROMIUM(); 100 virtual WebString getRequestableExtensionsCHROMIUM();
98 virtual void requestExtensionCHROMIUM(const char*); 101 virtual void requestExtensionCHROMIUM(const char*);
99 102
100 virtual void blitFramebufferCHROMIUM( 103 virtual void blitFramebufferCHROMIUM(
101 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, 104 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1,
102 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1, 105 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1,
103 WGC3Dbitfield mask, WGC3Denum filter); 106 WGC3Dbitfield mask, WGC3Denum filter);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 ShaderSourceMap shader_source_map_; 475 ShaderSourceMap shader_source_map_;
473 476
474 ShHandle fragment_compiler_; 477 ShHandle fragment_compiler_;
475 ShHandle vertex_compiler_; 478 ShHandle vertex_compiler_;
476 }; 479 };
477 480
478 } // namespace gpu 481 } // namespace gpu
479 } // namespace webkit 482 } // namespace webkit
480 483
481 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 484 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698