Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #include "gl/GrGLInterface.h" | 9 #include "gl/GrGLInterface.h" |
| 10 #include "GrGLTestInterface.h" | 10 #include "GrGLTestInterface.h" |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 251 case GR_GL_CONTEXT_PROFILE_MASK: | 251 case GR_GL_CONTEXT_PROFILE_MASK: |
| 252 *params = GR_GL_CONTEXT_COMPATIBILITY_PROFILE_BIT; | 252 *params = GR_GL_CONTEXT_COMPATIBILITY_PROFILE_BIT; |
| 253 break; | 253 break; |
| 254 case GR_GL_STENCIL_BITS: | 254 case GR_GL_STENCIL_BITS: |
| 255 *params = 8; | 255 *params = 8; |
| 256 break; | 256 break; |
| 257 case GR_GL_SAMPLES: | 257 case GR_GL_SAMPLES: |
| 258 *params = 1; | 258 *params = 1; |
| 259 break; | 259 break; |
| 260 case GR_GL_FRAMEBUFFER_BINDING: | 260 case GR_GL_FRAMEBUFFER_BINDING: |
| 261 case GR_GL_READ_FRAMEBUFFER_BINDING: | |
|
Brian Osman
2016/05/27 20:37:11
Leftover from the blit implementation, I'll remove
| |
| 261 *params = 0; | 262 *params = 0; |
| 262 break; | 263 break; |
| 263 case GR_GL_VIEWPORT: | 264 case GR_GL_VIEWPORT: |
| 264 params[0] = 0; | 265 params[0] = 0; |
| 265 params[1] = 0; | 266 params[1] = 0; |
| 266 params[2] = 800; | 267 params[2] = 800; |
| 267 params[3] = 600; | 268 params[3] = 600; |
| 268 break; | 269 break; |
| 269 case GR_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: | 270 case GR_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: |
| 270 case GR_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS: | 271 case GR_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS: |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 615 break; | 616 break; |
| 616 } | 617 } |
| 617 } | 618 } |
| 618 | 619 |
| 619 typedef GrGLTestInterface INHERITED; | 620 typedef GrGLTestInterface INHERITED; |
| 620 }; | 621 }; |
| 621 | 622 |
| 622 } // anonymous namespace | 623 } // anonymous namespace |
| 623 | 624 |
| 624 const GrGLInterface* GrGLCreateNullInterface(bool enableNVPR) { return new NullI nterface(enableNVPR); } | 625 const GrGLInterface* GrGLCreateNullInterface(bool enableNVPR) { return new NullI nterface(enableNVPR); } |
| OLD | NEW |