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

Side by Side Diff: samplecode/SampleApp.h

Issue 1697863002: blitters for sRGB and float16 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « include/views/SkWindow.h ('k') | samplecode/SampleApp.cpp » ('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 * Copyright 2011 Skia 2 * Copyright 2011 Skia
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 #ifndef SampleApp_DEFINED 8 #ifndef SampleApp_DEFINED
9 #define SampleApp_DEFINED 9 #define SampleApp_DEFINED
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 if (nullptr == surface) { 112 if (nullptr == surface) {
113 surface = this->INHERITED::createSurface(); 113 surface = this->INHERITED::createSurface();
114 } 114 }
115 return surface; 115 return surface;
116 } 116 }
117 117
118 void draw(SkCanvas*) override; 118 void draw(SkCanvas*) override;
119 119
120 void setDeviceType(DeviceType type); 120 void setDeviceType(DeviceType type);
121 void setDeviceColorType(SkColorType, SkColorProfileType);
121 void toggleRendering(); 122 void toggleRendering();
122 void toggleSlideshow(); 123 void toggleSlideshow();
123 void toggleFPS(); 124 void toggleFPS();
124 void showOverview(); 125 void showOverview();
125 void toggleDistanceFieldFonts(); 126 void toggleDistanceFieldFonts();
126 127
127 GrContext* getGrContext() const { return fDevManager->getGrContext(); } 128 GrContext* getGrContext() const { return fDevManager->getGrContext(); }
128 129
129 void setZoomCenter(float x, float y); 130 void setZoomCenter(float x, float y);
130 void changeZoomLevel(float delta); 131 void changeZoomLevel(float delta);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 void postAnimatingEvent(); 230 void postAnimatingEvent();
230 int findByTitle(const char*); 231 int findByTitle(const char*);
231 void listTitles(); 232 void listTitles();
232 SkSize tileSize() const; 233 SkSize tileSize() const;
233 bool sendAnimatePulse(); 234 bool sendAnimatePulse();
234 235
235 typedef SkOSWindow INHERITED; 236 typedef SkOSWindow INHERITED;
236 }; 237 };
237 238
238 #endif 239 #endif
OLDNEW
« no previous file with comments | « include/views/SkWindow.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698