| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include <GL/osmesa.h> | 8 #include <GL/osmesa.h> |
| 10 | 9 |
| 11 #include "gl/mesa/SkMesaGLContext.h" | 10 #include "gl/mesa/SkMesaGLContext.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 SkDebugf("Could not make MESA context current."); | 91 SkDebugf("Could not make MESA context current."); |
| 93 } | 92 } |
| 94 } | 93 } |
| 95 } | 94 } |
| 96 | 95 |
| 97 void SkMesaGLContext::onPlatformSwapBuffers() const { } | 96 void SkMesaGLContext::onPlatformSwapBuffers() const { } |
| 98 | 97 |
| 99 GrGLFuncPtr SkMesaGLContext::onPlatformGetProcAddress(const char* procName) cons
t { | 98 GrGLFuncPtr SkMesaGLContext::onPlatformGetProcAddress(const char* procName) cons
t { |
| 100 return OSMesaGetProcAddress(procName); | 99 return OSMesaGetProcAddress(procName); |
| 101 } | 100 } |
| OLD | NEW |