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

Side by Side Diff: Source/core/frame/Settings.in

Issue 379253002: Initial implementation of display list backed 2D canvases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: applied review comments Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 # Defines properties which are available on the Settings object. 1 # Defines properties which are available on the Settings object.
2 # 2 #
3 # Please think carefully before adding a new Setting. Some questions to 3 # Please think carefully before adding a new Setting. Some questions to
4 # consider are: 4 # consider are:
5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things
6 # which we support either values of at runtime. Features are set at renderer 6 # which we support either values of at runtime. Features are set at renderer
7 # process startup and are never changed. Features also tend to be set to a 7 # process startup and are never changed. Features also tend to be set to a
8 # value based on the platform or the stability of the code in question, where 8 # value based on the platform or the stability of the code in question, where
9 # as settings both codepaths need to be stable. 9 # as settings both codepaths need to be stable.
10 # - How will you ensure test coverage of all relevant values of your setting? 10 # - How will you ensure test coverage of all relevant values of your setting?
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 # Number of pixels below which 2D canvas is rendered in software 43 # Number of pixels below which 2D canvas is rendered in software
44 # even if hardware acceleration is enabled. 44 # even if hardware acceleration is enabled.
45 # Hardware acceleration is useful for large canvases where it can avoid the 45 # Hardware acceleration is useful for large canvases where it can avoid the
46 # pixel bandwidth between the CPU and GPU. But GPU acceleration comes at 46 # pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
47 # a price - extra back-buffer and texture copy. Small canvases are also 47 # a price - extra back-buffer and texture copy. Small canvases are also
48 # widely used for stylized fonts. Anti-aliasing text in hardware at that 48 # widely used for stylized fonts. Anti-aliasing text in hardware at that
49 # scale is generally slower. So below a certain size it is better to 49 # scale is generally slower. So below a certain size it is better to
50 # draw canvas in software. 50 # draw canvas in software.
51 minimumAccelerated2dCanvasSize type=int, initial=257*256 51 minimumAccelerated2dCanvasSize type=int, initial=257*256
52 52
53 displayList2dCanvasEnabled initial=false
54
53 minimumFontSize type=int, initial=0, invalidate=Style 55 minimumFontSize type=int, initial=0, invalidate=Style
54 minimumLogicalFontSize type=int, initial=0, invalidate=Style 56 minimumLogicalFontSize type=int, initial=0, invalidate=Style
55 defaultFontSize type=int, initial=0, invalidate=Style 57 defaultFontSize type=int, initial=0, invalidate=Style
56 defaultFixedFontSize type=int, initial=0, invalidate=Style 58 defaultFixedFontSize type=int, initial=0, invalidate=Style
57 59
58 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlat form() 60 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlat form()
59 61
60 caretBrowsingEnabled initial=false 62 caretBrowsingEnabled initial=false
61 localStorageEnabled initial=false 63 localStorageEnabled initial=false
62 allowUniversalAccessFromFileURLs initial=true 64 allowUniversalAccessFromFileURLs initial=true
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 268
267 # This value indicates the maximum number of bytes a document is allowed 269 # This value indicates the maximum number of bytes a document is allowed
268 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are 270 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are
269 # intended to be smaller payloads transmitted as a page is unloading, not 271 # intended to be smaller payloads transmitted as a page is unloading, not
270 # a general (one-way) network transmission API. 272 # a general (one-way) network transmission API.
271 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h tml ) 273 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h tml )
272 # does not proscribe an upper limit, but allows for it -- the underlying 274 # does not proscribe an upper limit, but allows for it -- the underlying
273 # API will return 'false' in that case. 275 # API will return 'false' in that case.
274 maxBeaconTransmission type=int, initial=16384 276 maxBeaconTransmission type=int, initial=16384
275 277
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLCanvasElement.cpp » ('j') | Source/platform/graphics/GraphicsContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698