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

Side by Side Diff: include/utils/SkWGL.h

Issue 23882009: Rip out CSAA support (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLCaps.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "SkRefCnt.h" 9 #include "SkRefCnt.h"
10 10
(...skipping 25 matching lines...) Expand all
36 #define SK_WGL_DRAW_TO_WINDOW 0x2001 36 #define SK_WGL_DRAW_TO_WINDOW 0x2001
37 #define SK_WGL_ACCELERATION 0x2003 37 #define SK_WGL_ACCELERATION 0x2003
38 #define SK_WGL_SUPPORT_OPENGL 0x2010 38 #define SK_WGL_SUPPORT_OPENGL 0x2010
39 #define SK_WGL_DOUBLE_BUFFER 0x2011 39 #define SK_WGL_DOUBLE_BUFFER 0x2011
40 #define SK_WGL_COLOR_BITS 0x2014 40 #define SK_WGL_COLOR_BITS 0x2014
41 #define SK_WGL_ALPHA_BITS 0x201B 41 #define SK_WGL_ALPHA_BITS 0x201B
42 #define SK_WGL_STENCIL_BITS 0x2023 42 #define SK_WGL_STENCIL_BITS 0x2023
43 #define SK_WGL_FULL_ACCELERATION 0x2027 43 #define SK_WGL_FULL_ACCELERATION 0x2027
44 #define SK_WGL_SAMPLE_BUFFERS 0x2041 44 #define SK_WGL_SAMPLE_BUFFERS 0x2041
45 #define SK_WGL_SAMPLES 0x2042 45 #define SK_WGL_SAMPLES 0x2042
46 #define SK_WGL_COVERAGE_SAMPLES 0x2042 /* same as SAMPLES */
47 #define SK_WGL_COLOR_SAMPLES 0x20B9
48 #define SK_WGL_CONTEXT_MAJOR_VERSION 0x2091 46 #define SK_WGL_CONTEXT_MAJOR_VERSION 0x2091
49 #define SK_WGL_CONTEXT_MINOR_VERSION 0x2092 47 #define SK_WGL_CONTEXT_MINOR_VERSION 0x2092
50 #define SK_WGL_CONTEXT_LAYER_PLANE 0x2093 48 #define SK_WGL_CONTEXT_LAYER_PLANE 0x2093
51 #define SK_WGL_CONTEXT_FLAGS 0x2094 49 #define SK_WGL_CONTEXT_FLAGS 0x2094
52 #define SK_WGL_CONTEXT_PROFILE_MASK 0x9126 50 #define SK_WGL_CONTEXT_PROFILE_MASK 0x9126
53 #define SK_WGL_CONTEXT_DEBUG_BIT 0x0001 51 #define SK_WGL_CONTEXT_DEBUG_BIT 0x0001
54 #define SK_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT 0x0002 52 #define SK_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT 0x0002
55 #define SK_WGL_CONTEXT_CORE_PROFILE_BIT 0x00000001 53 #define SK_WGL_CONTEXT_CORE_PROFILE_BIT 0x00000001
56 #define SK_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 54 #define SK_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
57 #define SK_WGL_CONTEXT_ES2_PROFILE_BIT 0x00000004 55 #define SK_WGL_CONTEXT_ES2_PROFILE_BIT 0x00000004
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 106
109 /** 107 /**
110 * Helper to create an OpenGL context for a DC using WGL. Configs with a sample count >= to 108 * Helper to create an OpenGL context for a DC using WGL. Configs with a sample count >= to
111 * msaaSampleCount are preferred but if none is available then a context with a lower sample count 109 * msaaSampleCount are preferred but if none is available then a context with a lower sample count
112 * (including non-MSAA) will be created. If preferCoreProfile is true but a core profile cannot be 110 * (including non-MSAA) will be created. If preferCoreProfile is true but a core profile cannot be
113 * created then a compatible profile context will be created. 111 * created then a compatible profile context will be created.
114 */ 112 */
115 HGLRC SkCreateWGLContext(HDC dc, int msaaSampleCount, bool preferCoreProfile); 113 HGLRC SkCreateWGLContext(HDC dc, int msaaSampleCount, bool preferCoreProfile);
116 114
117 #endif 115 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698