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

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

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming extension for now, so its not mistaken for the standard one 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 WGC3Dsizei width, 101 WGC3Dsizei width,
102 WGC3Dsizei height, 102 WGC3Dsizei height,
103 WGC3Denum format, 103 WGC3Denum format,
104 WGC3Denum type, 104 WGC3Denum type,
105 WGC3Denum access); 105 WGC3Denum access);
106 virtual void unmapTexSubImage2DCHROMIUM(const void*); 106 virtual void unmapTexSubImage2DCHROMIUM(const void*);
107 107
108 virtual void setVisibilityCHROMIUM(bool visible); 108 virtual void setVisibilityCHROMIUM(bool visible);
109 109
110 virtual void setMemoryAllocationChangedCallbackCHROMIUM( 110 virtual void setMemoryAllocationChangedCallbackCHROMIUM(
111 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { } 111 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback);
112
113 virtual void discardFramebufferEXT(WGC3Denum target,
114 WGC3Dsizei numAttachments,
115 const WGC3Denum* attachments);
116 virtual void ensureFramebufferCHROMIUM();
112 117
113 virtual void copyTextureToParentTextureCHROMIUM( 118 virtual void copyTextureToParentTextureCHROMIUM(
114 WebGLId texture, WebGLId parentTexture); 119 WebGLId texture, WebGLId parentTexture);
115 120
116 virtual void rateLimitOffscreenContextCHROMIUM() { } 121 virtual void rateLimitOffscreenContextCHROMIUM() { }
117 122
118 virtual WebString getRequestableExtensionsCHROMIUM(); 123 virtual WebString getRequestableExtensionsCHROMIUM();
119 virtual void requestExtensionCHROMIUM(const char*); 124 virtual void requestExtensionCHROMIUM(const char*);
120 125
121 virtual void blitFramebufferCHROMIUM( 126 virtual void blitFramebufferCHROMIUM(
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 ShaderSourceMap shader_source_map_; 546 ShaderSourceMap shader_source_map_;
542 547
543 ShHandle fragment_compiler_; 548 ShHandle fragment_compiler_;
544 ShHandle vertex_compiler_; 549 ShHandle vertex_compiler_;
545 }; 550 };
546 551
547 } // namespace gpu 552 } // namespace gpu
548 } // namespace webkit 553 } // namespace webkit
549 554
550 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 555 #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