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

Side by Side Diff: sky/engine/platform/graphics/gpu/WebGLImageConversion.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebGLImageConversion_h 5 #ifndef SKY_ENGINE_PLATFORM_GRAPHICS_GPU_WEBGLIMAGECONVERSION_H_
6 #define WebGLImageConversion_h 6 #define SKY_ENGINE_PLATFORM_GRAPHICS_GPU_WEBGLIMAGECONVERSION_H_
7 7
8 #include "sky/engine/platform/PlatformExport.h" 8 #include "sky/engine/platform/PlatformExport.h"
9 #include "sky/engine/platform/graphics/Image.h" 9 #include "sky/engine/platform/graphics/Image.h"
10 #include "sky/engine/wtf/RefPtr.h" 10 #include "sky/engine/wtf/RefPtr.h"
11 #include "third_party/khronos/GLES2/gl2.h" 11 #include "third_party/khronos/GLES2/gl2.h"
12 #include "third_party/khronos/GLES2/gl2ext.h" 12 #include "third_party/khronos/GLES2/gl2ext.h"
13 13
14 namespace blink { 14 namespace blink {
15 class Image; 15 class Image;
16 class IntSize; 16 class IntSize;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // data into the specified OpenGL destination format and type. 158 // data into the specified OpenGL destination format and type.
159 // A sourceUnpackAlignment of zero indicates that the source 159 // A sourceUnpackAlignment of zero indicates that the source
160 // data is tightly packed. Non-zero values may take a slow path. 160 // data is tightly packed. Non-zero values may take a slow path.
161 // Destination data will have no gaps between rows. 161 // Destination data will have no gaps between rows.
162 // Implemented in GraphicsContext3DImagePacking.cpp 162 // Implemented in GraphicsContext3DImagePacking.cpp
163 static bool packPixels(const uint8_t* sourceData, DataFormat sourceDataForma t, unsigned width, unsigned height, unsigned sourceUnpackAlignment, unsigned des tinationFormat, unsigned destinationType, AlphaOp, void* destinationData, bool f lipY); 163 static bool packPixels(const uint8_t* sourceData, DataFormat sourceDataForma t, unsigned width, unsigned height, unsigned sourceUnpackAlignment, unsigned des tinationFormat, unsigned destinationType, AlphaOp, void* destinationData, bool f lipY);
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif // WebGLImageConversion_h 168 #endif // SKY_ENGINE_PLATFORM_GRAPHICS_GPU_WEBGLIMAGECONVERSION_H_
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/gpu/WebGLImageBufferSurface.h ('k') | sky/engine/platform/graphics/skia/GaneshUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698