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

Side by Side Diff: src/gpu/gl/GrGLDefines.h

Issue 1249543003: Creating functions for uploading a mipmapped texture. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Refactoring the mipmap level count out. Cleaning includes. Created 4 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 9
10 #ifndef GrGLDefines_DEFINED 10 #ifndef GrGLDefines_DEFINED
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 #define GR_GL_VIEWPORT 0x0BA2 202 #define GR_GL_VIEWPORT 0x0BA2
203 #define GR_GL_SCISSOR_BOX 0x0C10 203 #define GR_GL_SCISSOR_BOX 0x0C10
204 /* GL_SCISSOR_TEST */ 204 /* GL_SCISSOR_TEST */
205 #define GR_GL_COLOR_CLEAR_VALUE 0x0C22 205 #define GR_GL_COLOR_CLEAR_VALUE 0x0C22
206 #define GR_GL_COLOR_WRITEMASK 0x0C23 206 #define GR_GL_COLOR_WRITEMASK 0x0C23
207 #define GR_GL_UNPACK_ALIGNMENT 0x0CF5 207 #define GR_GL_UNPACK_ALIGNMENT 0x0CF5
208 #define GR_GL_UNPACK_FLIP_Y 0x9240 208 #define GR_GL_UNPACK_FLIP_Y 0x9240
209 #define GR_GL_PACK_ALIGNMENT 0x0D05 209 #define GR_GL_PACK_ALIGNMENT 0x0D05
210 #define GR_GL_PACK_REVERSE_ROW_ORDER 0x93A4 210 #define GR_GL_PACK_REVERSE_ROW_ORDER 0x93A4
211 #define GR_GL_MAX_TEXTURE_SIZE 0x0D33 211 #define GR_GL_MAX_TEXTURE_SIZE 0x0D33
212 #define GR_GL_TEXTURE_MIN_LOD 0x813A
213 #define GR_GL_TEXTURE_MAX_LOD 0x813B
214 #define GR_GL_TEXTURE_BASE_LEVEL 0x813C
215 #define GR_GL_TEXTURE_MAX_LEVEL 0x813D
212 #define GR_GL_MAX_VIEWPORT_DIMS 0x0D3A 216 #define GR_GL_MAX_VIEWPORT_DIMS 0x0D3A
213 #define GR_GL_SUBPIXEL_BITS 0x0D50 217 #define GR_GL_SUBPIXEL_BITS 0x0D50
214 #define GR_GL_RED_BITS 0x0D52 218 #define GR_GL_RED_BITS 0x0D52
215 #define GR_GL_GREEN_BITS 0x0D53 219 #define GR_GL_GREEN_BITS 0x0D53
216 #define GR_GL_BLUE_BITS 0x0D54 220 #define GR_GL_BLUE_BITS 0x0D54
217 #define GR_GL_ALPHA_BITS 0x0D55 221 #define GR_GL_ALPHA_BITS 0x0D55
218 #define GR_GL_DEPTH_BITS 0x0D56 222 #define GR_GL_DEPTH_BITS 0x0D56
219 #define GR_GL_STENCIL_BITS 0x0D57 223 #define GR_GL_STENCIL_BITS 0x0D57
220 #define GR_GL_POLYGON_OFFSET_UNITS 0x2A00 224 #define GR_GL_POLYGON_OFFSET_UNITS 0x2A00
221 /* GL_POLYGON_OFFSET_FILL */ 225 /* GL_POLYGON_OFFSET_FILL */
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 #define GR_EGL_EXTENSIONS 0x3055 951 #define GR_EGL_EXTENSIONS 0x3055
948 #define GR_EGL_GL_TEXTURE_2D 0x30B1 952 #define GR_EGL_GL_TEXTURE_2D 0x30B1
949 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 953 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
950 #define GR_EGL_IMAGE_PRESERVED 0x30D2 954 #define GR_EGL_IMAGE_PRESERVED 0x30D2
951 #define GR_EGL_FALSE 0x0 955 #define GR_EGL_FALSE 0x0
952 #define GR_EGL_TRUE 0x1 956 #define GR_EGL_TRUE 0x1
953 #define GR_EGL_NONE 0x3038 957 #define GR_EGL_NONE 0x3038
954 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 958 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
955 959
956 #endif 960 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698