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

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

Issue 9192014: Replace WGC3D visibility extension with resource_usage extension. [Part 2 of 3] (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clarifying a comment Created 8 years, 11 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 WGC3Dint level, 93 WGC3Dint level,
94 WGC3Dint xoffset, 94 WGC3Dint xoffset,
95 WGC3Dint yoffset, 95 WGC3Dint yoffset,
96 WGC3Dsizei width, 96 WGC3Dsizei width,
97 WGC3Dsizei height, 97 WGC3Dsizei height,
98 WGC3Denum format, 98 WGC3Denum format,
99 WGC3Denum type, 99 WGC3Denum type,
100 WGC3Denum access); 100 WGC3Denum access);
101 virtual void unmapTexSubImage2DCHROMIUM(const void*); 101 virtual void unmapTexSubImage2DCHROMIUM(const void*);
102 102
103 virtual void setVisibilityCHROMIUM(bool visible); 103 virtual void setResourceUsageCHROMIUM(ResourceUsage resourceUsage);
104 104
105 virtual void copyTextureToParentTextureCHROMIUM( 105 virtual void copyTextureToParentTextureCHROMIUM(
106 WebGLId texture, WebGLId parentTexture); 106 WebGLId texture, WebGLId parentTexture);
107 107
108 virtual void rateLimitOffscreenContextCHROMIUM() { } 108 virtual void rateLimitOffscreenContextCHROMIUM() { }
109 109
110 virtual WebString getRequestableExtensionsCHROMIUM(); 110 virtual WebString getRequestableExtensionsCHROMIUM();
111 virtual void requestExtensionCHROMIUM(const char*); 111 virtual void requestExtensionCHROMIUM(const char*);
112 112
113 virtual void blitFramebufferCHROMIUM( 113 virtual void blitFramebufferCHROMIUM(
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 ShHandle fragment_compiler_; 523 ShHandle fragment_compiler_;
524 ShHandle vertex_compiler_; 524 ShHandle vertex_compiler_;
525 gfx::PluginWindowHandle window_; 525 gfx::PluginWindowHandle window_;
526 scoped_refptr<gfx::GLShareGroup> share_group_; 526 scoped_refptr<gfx::GLShareGroup> share_group_;
527 }; 527 };
528 528
529 } // namespace gpu 529 } // namespace gpu
530 } // namespace webkit 530 } // namespace webkit
531 531
532 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 532 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698