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

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

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 WebLayer* platformLayer(); 146 WebLayer* platformLayer();
147 void paintCompositedResultsToCanvas(ImageBuffer*); 147 void paintCompositedResultsToCanvas(ImageBuffer*);
148 148
149 WebGraphicsContext3D* context(); 149 WebGraphicsContext3D* context();
150 150
151 // Returns the actual context attributes for this drawing buffer which may d iffer from the 151 // Returns the actual context attributes for this drawing buffer which may d iffer from the
152 // requested context attributes due to implementation limits. 152 // requested context attributes due to implementation limits.
153 WebGraphicsContext3D::Attributes getActualAttributes() const { return m_actu alAttributes; } 153 WebGraphicsContext3D::Attributes getActualAttributes() const { return m_actu alAttributes; }
154 154
155 // WebExternalTextureLayerClient implementation. 155 // WebExternalTextureLayerClient implementation.
156 virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) OVERRIDE; 156 virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override;
157 virtual void mailboxReleased(const WebExternalTextureMailbox&, bool lostReso urce = false) OVERRIDE; 157 virtual void mailboxReleased(const WebExternalTextureMailbox&, bool lostReso urce = false) override;
158 158
159 // Destroys the TEXTURE_2D binding for the owned context 159 // Destroys the TEXTURE_2D binding for the owned context
160 bool copyToPlatformTexture(WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat, 160 bool copyToPlatformTexture(WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat,
161 GLenum destType, GLint level, bool premultiplyAlpha, bool flipY, bool fr omFrontBuffer = false); 161 GLenum destType, GLint level, bool premultiplyAlpha, bool flipY, bool fr omFrontBuffer = false);
162 162
163 void setPackAlignment(GLint param); 163 void setPackAlignment(GLint param);
164 164
165 void paintRenderingResultsToCanvas(ImageBuffer*); 165 void paintRenderingResultsToCanvas(ImageBuffer*);
166 PassRefPtr<Uint8ClampedArray> paintRenderingResultsToImageData(int&, int&); 166 PassRefPtr<Uint8ClampedArray> paintRenderingResultsToImageData(int&, int&);
167 167
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 // used to resize the Canvas. 300 // used to resize the Canvas.
301 SkBitmap m_resizingBitmap; 301 SkBitmap m_resizingBitmap;
302 302
303 // Used to flip a bitmap vertically. 303 // Used to flip a bitmap vertically.
304 Vector<uint8_t> m_scanline; 304 Vector<uint8_t> m_scanline;
305 }; 305 };
306 306
307 } // namespace blink 307 } // namespace blink
308 308
309 #endif // DrawingBuffer_h 309 #endif // DrawingBuffer_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h ('k') | Source/platform/graphics/gpu/DrawingBufferTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698