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

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 134343003: Stop using WGC3D entry point for rateLimitOffscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | 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_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 virtual void setVisibilityCHROMIUM(bool visible); 442 virtual void setVisibilityCHROMIUM(bool visible);
443 443
444 virtual void discardFramebufferEXT(WGC3Denum target, 444 virtual void discardFramebufferEXT(WGC3Denum target,
445 WGC3Dsizei numAttachments, 445 WGC3Dsizei numAttachments,
446 const WGC3Denum* attachments); 446 const WGC3Denum* attachments);
447 447
448 virtual void copyTextureToParentTextureCHROMIUM( 448 virtual void copyTextureToParentTextureCHROMIUM(
449 WebGLId texture, WebGLId parentTexture); 449 WebGLId texture, WebGLId parentTexture);
450 450
451 virtual void rateLimitOffscreenContextCHROMIUM();
452
453 virtual blink::WebString getRequestableExtensionsCHROMIUM(); 451 virtual blink::WebString getRequestableExtensionsCHROMIUM();
454 virtual void requestExtensionCHROMIUM(const char*); 452 virtual void requestExtensionCHROMIUM(const char*);
455 453
456 virtual void blitFramebufferCHROMIUM( 454 virtual void blitFramebufferCHROMIUM(
457 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, 455 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1,
458 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1, 456 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1,
459 WGC3Dbitfield mask, WGC3Denum filter); 457 WGC3Dbitfield mask, WGC3Denum filter);
460 virtual void renderbufferStorageMultisampleCHROMIUM( 458 virtual void renderbufferStorageMultisampleCHROMIUM(
461 WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, 459 WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat,
462 WGC3Dsizei width, WGC3Dsizei height); 460 WGC3Dsizei width, WGC3Dsizei height);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 // Errors raised by synthesizeGLError(). 605 // Errors raised by synthesizeGLError().
608 std::vector<WGC3Denum> synthetic_errors_; 606 std::vector<WGC3Denum> synthetic_errors_;
609 607
610 uint32_t flush_id_; 608 uint32_t flush_id_;
611 }; 609 };
612 610
613 } // namespace gpu 611 } // namespace gpu
614 } // namespace webkit 612 } // namespace webkit
615 613
616 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL _H_ 614 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698