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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 11474014: Rename discardFramebufferEXT to discardBackbufferCHROMIUM to avoid collision with real discardFrame… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: back out accidental change to compositor_impl_android.cc Created 8 years 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 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 WGC3Denum format, 509 WGC3Denum format,
510 WGC3Denum type, 510 WGC3Denum type,
511 WGC3Denum access); 511 WGC3Denum access);
512 virtual void unmapTexSubImage2DCHROMIUM(const void*); 512 virtual void unmapTexSubImage2DCHROMIUM(const void*);
513 513
514 virtual void setVisibilityCHROMIUM(bool visible); 514 virtual void setVisibilityCHROMIUM(bool visible);
515 515
516 virtual void discardFramebufferEXT(WGC3Denum target, 516 virtual void discardFramebufferEXT(WGC3Denum target,
517 WGC3Dsizei numAttachments, 517 WGC3Dsizei numAttachments,
518 const WGC3Denum* attachments); 518 const WGC3Denum* attachments);
519 virtual void ensureFramebufferCHROMIUM(); 519 virtual void discardBackbufferCHROMIUM();
520 virtual void ensureBackbufferCHROMIUM();
520 521
521 virtual void setMemoryAllocationChangedCallbackCHROMIUM( 522 virtual void setMemoryAllocationChangedCallbackCHROMIUM(
522 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback); 523 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback);
523 524
524 virtual void sendManagedMemoryStatsCHROMIUM( 525 virtual void sendManagedMemoryStatsCHROMIUM(
525 const WebGraphicsManagedMemoryStats* stats); 526 const WebGraphicsManagedMemoryStats* stats);
526 527
527 virtual void copyTextureToParentTextureCHROMIUM( 528 virtual void copyTextureToParentTextureCHROMIUM(
528 WebGLId texture, WebGLId parentTexture); 529 WebGLId texture, WebGLId parentTexture);
529 530
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 gpu::gles2::GLES2Implementation* gl_; 761 gpu::gles2::GLES2Implementation* gl_;
761 Error last_error_; 762 Error last_error_;
762 int frame_number_; 763 int frame_number_;
763 bool bind_generates_resources_; 764 bool bind_generates_resources_;
764 bool use_echo_for_swap_ack_; 765 bool use_echo_for_swap_ack_;
765 }; 766 };
766 767
767 } // namespace content 768 } // namespace content
768 769
769 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 770 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698