| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // A semi-generic header file that can be used to isolate platform differences | 5 // A semi-generic header file that can be used to isolate platform differences |
| 6 // for OpenGL headers. | 6 // for OpenGL headers. |
| 7 #ifndef EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ | 7 #ifndef EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ |
| 8 #define EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ | 8 #define EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ |
| 9 | 9 |
| 10 #if defined(__APPLE__) | 10 #if defined(__APPLE__) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 # define GL_GLEXT_PROTOTYPES 1 | 35 # define GL_GLEXT_PROTOTYPES 1 |
| 36 # include <GL/gl.h> | 36 # include <GL/gl.h> |
| 37 # include <GL/glext.h> | 37 # include <GL/glext.h> |
| 38 # include <GL/glut.h> | 38 # include <GL/glut.h> |
| 39 # define GLSwapBuffers() glutSwapBuffers() | 39 # define GLSwapBuffers() glutSwapBuffers() |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #include "core/SkCanvas.h" | 42 #include "core/SkCanvas.h" |
| 43 #include "core/SkGraphics.h" | 43 #include "core/SkGraphics.h" |
| 44 #include "core/SkPaint.h" | 44 #include "core/SkPaint.h" |
| 45 #include "core/SkTypeface.h" |
| 45 #include "effects/SkBlurDrawLooper.h" | 46 #include "effects/SkBlurDrawLooper.h" |
| 46 #include "effects/SkDashPathEffect.h" | 47 #include "effects/SkDashPathEffect.h" |
| 47 #include "gpu/SkGpuDevice.h" | 48 #include "gpu/SkGpuDevice.h" |
| 48 #include "gpu/GrContext.h" | 49 #include "gpu/GrContext.h" |
| 49 #include "gpu/GrRenderTarget.h" | 50 #include "gpu/GrRenderTarget.h" |
| 50 #include "gpu/gl/GrGLInterface.h" | 51 #include "gpu/gl/GrGLInterface.h" |
| 51 #include "gpu/gl/SkNativeGLContext.h" | 52 #include "gpu/gl/SkNativeGLContext.h" |
| 52 #include "images/SkImageDecoder.h" | 53 #include "images/SkImageDecoder.h" |
| 53 | 54 |
| 54 #endif // EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ | 55 #endif // EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ |
| 55 | 56 |
| OLD | NEW |