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

Side by Side Diff: runtime/embedders/openglui/common/opengl.h

Issue 12186002: Canvas API. There are still a number of things to do: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
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 21 matching lines...) Expand all
32 eglSwapBuffers(display, surface); \ 32 eglSwapBuffers(display, surface); \
33 } while (0); 33 } while (0);
34 #else // Linux. 34 #else // Linux.
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"
43 #include "core/SkGraphics.h"
44 #include "core/SkPaint.h"
45 #include "effects/SkBlurDrawLooper.h"
46 #include "effects/SkDashPathEffect.h"
47 #include "gpu/SkGpuDevice.h"
48 #include "gpu/GrContext.h"
49 #include "gpu/GrRenderTarget.h"
50 #include "gpu/gl/GrGLInterface.h"
51 #include "gpu/gl/SkNativeGLContext.h"
52 #include "images/SkImageDecoder.h"
53
42 #endif // EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_ 54 #endif // EMBEDDERS_OPENGLUI_COMMON_OPENGL_H_
43 55
OLDNEW
« no previous file with comments | « runtime/embedders/openglui/common/isized.h ('k') | runtime/embedders/openglui/common/sound_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698