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

Side by Side Diff: src/gpu/gl/mesa/SkMesaGLContext.cpp

Issue 26701002: Add swapBuffer call to SkGLContextHelper. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: ios Created 7 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 | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include <GL/osmesa.h> 9 #include <GL/osmesa.h>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 void SkMesaGLContext::makeCurrent() const { 99 void SkMesaGLContext::makeCurrent() const {
100 if (fContext) { 100 if (fContext) {
101 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage, 101 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage,
102 GR_GL_UNSIGNED_BYTE, gBOGUS_SIZE, gBOGUS_SIZE)) { 102 GR_GL_UNSIGNED_BYTE, gBOGUS_SIZE, gBOGUS_SIZE)) {
103 SkDebugf("Could not make MESA context current."); 103 SkDebugf("Could not make MESA context current.");
104 } 104 }
105 } 105 }
106 } 106 }
107
108 void SkMesaGLContext::swapBuffers() const { }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698