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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 1809553002: blink: Remove unused or rarely used methods from WebGraphicsContext3D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wgc3d
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 void markContentsChanged(); 144 void markContentsChanged();
145 void setBufferClearNeeded(bool); 145 void setBufferClearNeeded(bool);
146 bool bufferClearNeeded() const; 146 bool bufferClearNeeded() const;
147 void setIsHidden(bool); 147 void setIsHidden(bool);
148 void setFilterQuality(SkFilterQuality); 148 void setFilterQuality(SkFilterQuality);
149 149
150 WebLayer* platformLayer(); 150 WebLayer* platformLayer();
151 151
152 WebGraphicsContext3D* context(); 152 WebGraphicsContext3D* context();
153 gpu::gles2::GLES2Interface* contextGL();
153 154
154 // Returns the actual context attributes for this drawing buffer which may d iffer from the 155 // Returns the actual context attributes for this drawing buffer which may d iffer from the
155 // requested context attributes due to implementation limits. 156 // requested context attributes due to implementation limits.
156 WebGraphicsContext3D::Attributes getActualAttributes() const { return m_actu alAttributes; } 157 WebGraphicsContext3D::Attributes getActualAttributes() const { return m_actu alAttributes; }
157 158
158 // WebExternalTextureLayerClient implementation. 159 // WebExternalTextureLayerClient implementation.
159 bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override ; 160 bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override ;
160 void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = f alse) override; 161 void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = f alse) override;
161 162
162 // Destroys the TEXTURE_2D binding for the owned context 163 // Destroys the TEXTURE_2D binding for the owned context
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // used to resize the Canvas. 367 // used to resize the Canvas.
367 SkBitmap m_resizingBitmap; 368 SkBitmap m_resizingBitmap;
368 369
369 // Used to flip a bitmap vertically. 370 // Used to flip a bitmap vertically.
370 Vector<uint8_t> m_scanline; 371 Vector<uint8_t> m_scanline;
371 }; 372 };
372 373
373 } // namespace blink 374 } // namespace blink
374 375
375 #endif // DrawingBuffer_h 376 #endif // DrawingBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698