Changeset 86403 in webkit
- Timestamp:
- May 12, 2011 5:19:07 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r86370 r86403 1 2011-05-12 Gregg Tavares <gman@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 Add option to select GraphicsContext3D implementation. 6 https://bugs.webkit.org/show_bug.cgi?id=60297 7 8 * Source/WebKit/chromium/DEPS: 9 * Tools/DumpRenderTree/chromium/DumpRenderTree.cpp: 10 1 11 2011-05-12 Lucas De Marchi <lucas.demarchi@profusion.mobi> 2 12 -
trunk/Source/WebKit/chromium/DEPS
r85866 r86403 33 33 vars = { 34 34 'chromium_svn': 'http://src.chromium.org/svn/trunk/src', 35 'chromium_rev': '84 264'35 'chromium_rev': '84365' 36 36 } 37 37 -
trunk/Tools/DumpRenderTree/chromium/DumpRenderTree.cpp
r85777 r86403 60 60 static const char optionEnableAcceleratedDrawing[] = "--enable-accelerated-drawing"; 61 61 static const char optionEnableCompositeToTexture[] = "--enable-composite-to-texture"; 62 static const char optionUseGraphicsContext3DImplementation[] = "--use-graphics-context-3d-implementation="; 62 63 63 64 static const char optionStressOpt[] = "--stress-opt"; … … 185 186 else if (argument == optionEnableAcceleratedDrawing) 186 187 acceleratedDrawingEnabled = true; 187 else if (argument == optionStressOpt) 188 else if (!argument.find(optionUseGraphicsContext3DImplementation)) { 189 string implementation = argument.substr(strlen(optionUseGraphicsContext3DImplementation)); 190 if (!implementation.compare("IN_PROCESS")) 191 webkit_support::SetGraphicsContext3DImplementation(webkit_support::IN_PROCESS); 192 else if (!implementation.compare("IN_PROCESS_COMMAND_BUFFER")) 193 webkit_support::SetGraphicsContext3DImplementation(webkit_support::IN_PROCESS_COMMAND_BUFFER); 194 else 195 fprintf(stderr, "Unknown GraphicContext3D implementation %s\n", implementation.c_str()); 196 } else if (argument == optionStressOpt) 188 197 stressOpt = true; 189 198 else if (argument == optionStressDeopt)
Note: See TracChangeset
for help on using the changeset viewer.