Commit Graph

28 Commits

Author SHA1 Message Date
Phil Ringnalda
71bd285faa Merge m-c to m-i 2014-02-26 21:28:10 -08:00
Ryan VanderMeulen
07d64f7377 Backed out changeset 0569a8a2f83d (bug 958727) for causing performance regressions. 2014-02-26 20:48:41 -05:00
Milan Sreckovic
6d1dbe84a1 Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord 2014-02-26 21:53:27 -05:00
Mason Chang
40b0cfa157 Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow 2014-02-12 10:24:20 -05:00
Nicholas Cameron
f1c44fc909 Bug 959781. Ensure we are using the correct content type in BeginPaint and BorrowDrawTargetForPainting. r=mattwoodrow 2014-01-30 22:39:11 +13:00
David Zbarsky
20476fcd10 Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
8c0287eca2 Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Nick Lebedev
940cdd21fd Bug 958984. Move SurfaceMode enum out of Layer class so we could forward declare it instead of including header. r=nical 2014-01-17 15:00:00 +01:00
Nicholas Cameron
03ad641ce1 Bug 951554. Changes to RotatedBuffer. r=nical
--HG--
extra : rebase_source : b4b0d9eb02e377aff66f9eba582f4cc4ab3a4d77
2014-01-13 08:57:17 +13:00
Nicholas Cameron
ce6e97a312 Bug 951554. Add SurfaceMode::SURFACE_NONE. r=nical
--HG--
extra : rebase_source : 5854c7994dd861f36860756d10ef5b7ea35d863c
2014-01-13 08:54:36 +13:00
Benoit Jacob
06f7a9c4a2 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Nicholas Cameron
9aca7bac0f Bug 951556. Don't do multiple flushes due to DrawBufferWithRotation. r=mattwoodrow 2014-01-09 13:57:52 +13:00
Nicholas Cameron
0c8a244237 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicholas Cameron
2b06b385d4 backed out bug 933549 on a CLOSED TREE 2014-01-08 10:27:14 +13:00
Nicholas Cameron
b88a44ffc8 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Cameron
91014467fd Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Benoit Jacob
a08afe9077 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
Nicholas Cameron
a50ae237a1 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
66d79fc49e Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow 2013-11-28 10:16:33 +13:00
Nicholas Cameron
219e9da952 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
4d7d27aa4c Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
57c33f768f Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow 2013-11-28 10:16:33 +13:00
Nicholas Cameron
e09d3edf71 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00