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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_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
« no previous file with comments | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 virtual void unmapTexSubImage2DCHROMIUM(const void*); 493 virtual void unmapTexSubImage2DCHROMIUM(const void*);
494 494
495 virtual void setVisibilityCHROMIUM(bool visible); 495 virtual void setVisibilityCHROMIUM(bool visible);
496 496
497 virtual void discardFramebufferEXT(WGC3Denum target, 497 virtual void discardFramebufferEXT(WGC3Denum target,
498 WGC3Dsizei numAttachments, 498 WGC3Dsizei numAttachments,
499 const WGC3Denum* attachments); 499 const WGC3Denum* attachments);
500 virtual void copyTextureToParentTextureCHROMIUM( 500 virtual void copyTextureToParentTextureCHROMIUM(
501 WebGLId texture, WebGLId parentTexture); 501 WebGLId texture, WebGLId parentTexture);
502 502
503 virtual void rateLimitOffscreenContextCHROMIUM();
504
505 virtual blink::WebString getRequestableExtensionsCHROMIUM(); 503 virtual blink::WebString getRequestableExtensionsCHROMIUM();
506 virtual void requestExtensionCHROMIUM(const char*); 504 virtual void requestExtensionCHROMIUM(const char*);
507 505
508 virtual void blitFramebufferCHROMIUM( 506 virtual void blitFramebufferCHROMIUM(
509 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, 507 WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1,
510 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1, 508 WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1,
511 WGC3Dbitfield mask, WGC3Denum filter); 509 WGC3Dbitfield mask, WGC3Denum filter);
512 virtual void renderbufferStorageMultisampleCHROMIUM( 510 virtual void renderbufferStorageMultisampleCHROMIUM(
513 WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, 511 WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat,
514 WGC3Dsizei width, WGC3Dsizei height); 512 WGC3Dsizei width, WGC3Dsizei height);
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 Error last_error_; 727 Error last_error_;
730 bool bind_generates_resources_; 728 bool bind_generates_resources_;
731 SharedMemoryLimits mem_limits_; 729 SharedMemoryLimits mem_limits_;
732 730
733 uint32_t flush_id_; 731 uint32_t flush_id_;
734 }; 732 };
735 733
736 } // namespace content 734 } // namespace content
737 735
738 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 736 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698