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

Side by Side Diff: experimental/iOSSampleApp/SkSampleUIView.mm

Issue 1078843002: default to 8888 for ganesh in sampleapp on iOS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
1 #import "SkSampleUIView.h" 8 #import "SkSampleUIView.h"
2 9
3 #define SKGL_CONFIG kEAGLColorFormatRGB565 10 //#define SKGL_CONFIG kEAGLColorFormatRGB565
4 //#define SKGL_CONFIG kEAGLColorFormatRGBA8 11 #define SKGL_CONFIG kEAGLColorFormatRGBA8
5 12
6 #define FORCE_REDRAW 13 #define FORCE_REDRAW
7 14
8 #include "SkCanvas.h" 15 #include "SkCanvas.h"
9 #include "SkCGUtils.h" 16 #include "SkCGUtils.h"
10 #include "SkSurface.h" 17 #include "SkSurface.h"
11 #include "SampleApp.h" 18 #include "SampleApp.h"
12 19
13 #if SK_SUPPORT_GPU 20 #if SK_SUPPORT_GPU
14 //#define USE_GL_1 21 //#define USE_GL_1
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fRenderbuffer); 471 glBindRenderbuffer(GL_RENDERBUFFER, fGL.fRenderbuffer);
465 glGetRenderbufferParameteriv(GL_RENDERBUFFER, 472 glGetRenderbufferParameteriv(GL_RENDERBUFFER,
466 GL_RENDERBUFFER_STENCIL_SIZE, 473 GL_RENDERBUFFER_STENCIL_SIZE,
467 &info->fStencilBits); 474 &info->fStencilBits);
468 glGetRenderbufferParameteriv(GL_RENDERBUFFER, 475 glGetRenderbufferParameteriv(GL_RENDERBUFFER,
469 GL_RENDERBUFFER_SAMPLES_APPLE, 476 GL_RENDERBUFFER_SAMPLES_APPLE,
470 &info->fSampleCount); 477 &info->fSampleCount);
471 } 478 }
472 479
473 @end 480 @end
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698