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 "SkTypes.h" | 8 #include "SkTypes.h" |
10 #if defined(SK_BUILD_FOR_WIN32) | 9 #if defined(SK_BUILD_FOR_WIN32) |
11 | 10 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 fExtensions.destroyPbuffer(fPbuffer); | 455 fExtensions.destroyPbuffer(fPbuffer); |
457 } | 456 } |
458 | 457 |
459 SkWGLPbufferContext::SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc) | 458 SkWGLPbufferContext::SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc) |
460 : fPbuffer(pbuffer) | 459 : fPbuffer(pbuffer) |
461 , fDC(dc) | 460 , fDC(dc) |
462 , fGLRC(glrc) { | 461 , fGLRC(glrc) { |
463 } | 462 } |
464 | 463 |
465 #endif//defined(SK_BUILD_FOR_WIN32) | 464 #endif//defined(SK_BUILD_FOR_WIN32) |
OLD | NEW |