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

Side by Side Diff: dm/DM.cpp

Issue 1744963002: Revert of Implement support for using GL ES 3.0 with command buffer (Closed) Base URL: https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Patch Set: rebaes Created 4 years, 9 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 | dm/DMGpuSupport.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 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 #include "CrashHandler.h" 8 #include "CrashHandler.h"
9 #include "DMJsonWriter.h" 9 #include "DMJsonWriter.h"
10 #include "DMSrcSink.h" 10 #include "DMSrcSink.h"
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 // http://skbug.com/2809 1337 // http://skbug.com/2809
1338 GrContextFactory::GLContextType contextTypes[] = { 1338 GrContextFactory::GLContextType contextTypes[] = {
1339 GrContextFactory::kNative_GLContextType, 1339 GrContextFactory::kNative_GLContextType,
1340 #if SK_ANGLE 1340 #if SK_ANGLE
1341 #ifdef SK_BUILD_FOR_WIN 1341 #ifdef SK_BUILD_FOR_WIN
1342 GrContextFactory::kANGLE_GLContextType, 1342 GrContextFactory::kANGLE_GLContextType,
1343 #endif 1343 #endif
1344 GrContextFactory::kANGLE_GL_GLContextType, 1344 GrContextFactory::kANGLE_GL_GLContextType,
1345 #endif 1345 #endif
1346 #if SK_COMMAND_BUFFER 1346 #if SK_COMMAND_BUFFER
1347 GrContextFactory::kCommandBufferES2_GLContextType, 1347 GrContextFactory::kCommandBuffer_GLContextType,
1348 GrContextFactory::kCommandBufferES3_GLContextType,
1349 #endif 1348 #endif
1350 #if SK_MESA 1349 #if SK_MESA
1351 GrContextFactory::kMESA_GLContextType, 1350 GrContextFactory::kMESA_GLContextType,
1352 #endif 1351 #endif
1353 GrContextFactory::kNull_GLContextType, 1352 GrContextFactory::kNull_GLContextType,
1354 GrContextFactory::kDebug_GLContextType, 1353 GrContextFactory::kDebug_GLContextType,
1355 }; 1354 };
1356 static_assert(SK_ARRAY_COUNT(contextTypes) == GrContextFactory::kGLContextTy peCnt - 2, 1355 static_assert(SK_ARRAY_COUNT(contextTypes) == GrContextFactory::kGLContextTy peCnt - 2,
1357 "Skipping unexpected GLContextType for GPU tests"); 1356 "Skipping unexpected GLContextType for GPU tests");
1358 1357
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 Reporter* reporter, 1393 Reporter* reporter,
1395 GrContextFactory* fac tory); 1394 GrContextFactory* fac tory);
1396 } // namespace skiatest 1395 } // namespace skiatest
1397 1396
1398 #if !defined(SK_BUILD_FOR_IOS) 1397 #if !defined(SK_BUILD_FOR_IOS)
1399 int main(int argc, char** argv) { 1398 int main(int argc, char** argv) {
1400 SkCommandLineFlags::Parse(argc, argv); 1399 SkCommandLineFlags::Parse(argc, argv);
1401 return dm_main(); 1400 return dm_main();
1402 } 1401 }
1403 #endif 1402 #endif
OLDNEW
« no previous file with comments | « no previous file | dm/DMGpuSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698