Commit Graph

1283 Commits

Author SHA1 Message Date
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal
08e124e6a7 Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas) 2014-05-29 10:19:37 -04:00
Wes Kocher
c81d90b9e0 Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Andreas Gal
62fb948444 Bug 1016086 - Part 3: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas) 2014-05-28 16:18:46 -04:00
Andreas Gal
8fd0bfaa17 Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas) 2014-05-28 16:18:36 -04:00
Andreas Gal
ad26c34c3a Fix rebase error for bug 1012407 (r=CLOSED TREE) 2014-05-28 14:24:23 -04:00
Andreas Gal
1bd8b3e051 Bug 1012407 - Part 9: Use CLAMP instead of GL_REPEAT to draw quads (r=Bas) 2014-05-28 14:07:15 -04:00
Andreas Gal
37ea7c31b8 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-28 14:04:07 -04:00
Andreas Gal
ce748707c0 Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-28 10:15:31 -04:00
Markus Stange
57e99bcde7 Bug 1016437 - Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob 2014-05-28 12:52:13 +02:00
Markus Stange
922651b231 Bug 1016437 - Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical 2014-05-28 12:52:12 +02:00
Matt Woodrow
f6d3bf9e86 Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical 2014-05-28 13:21:32 +12:00
Chris Lord
55888fb187 Bug 1006797 - Fix application of OGL compositor screen render offset. r=nical 2014-05-27 13:31:01 +01:00
Andreas Gal
f8c94a55de Bug 1012407 - Part 9: Ensure texture coordinates are within (0,0)(1,1) and nits for Part 6 (r=Bas) 2014-05-24 02:49:41 +02:00
Andreas Gal
7ba338ed32 Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow). 2014-05-22 15:05:03 -04:00
Sotaro Ikeda
dd86b9b312 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
81d4958ece Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Nathan Froyd
b913562053 Backout d6c58a2a6da4 (bug 1012407) for various bustages on a CLOSED TREE 2014-05-23 23:36:28 -04:00
Nathan Froyd
7854730d65 Backout 471244c106e9:634be002dbc9 (bug 1012407) 2014-05-23 23:34:43 -04:00
Andreas Gal
8b1cf6515d Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-24 04:16:27 +02:00
Andreas Gal
6b62051053 Bug 1012407 - Follow-up nits for part 6. 2014-05-24 04:15:45 +02:00
Sotaro Ikeda
7b0e0282c4 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Andreas Gal
63c9bcc4e6 Bug 1012407 - Part 9: Normalize texture coordinates in DecomposeIntoNoRepeatRects (r=BenWa) 2014-05-24 02:49:41 +02:00
Carsten "Tomcat" Book
e2c21aa225 Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures 2014-05-23 10:37:03 +02:00
Andreas Gal
e029044925 Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-23 06:10:51 +02:00
Wes Kocher
d7647deae8 Merge m-c to inbound 2014-05-22 17:55:00 -07:00
Wes Kocher
b1359c893a Merge inbound to m-c 2014-05-22 17:30:30 -07:00
Sotaro Ikeda
7a7cd8d19f Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical 2014-05-22 06:23:12 -07:00
Sotaro Ikeda
745bd669d1 Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical 2014-05-22 06:17:03 -07:00
Wes Kocher
c18978a8b2 Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Andreas Gal
cffb05082e Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal
2886fdd985 Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-22 00:44:40 +02:00
Andreas Gal
5ef859e3ca Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 00:23:21 +02:00
Andreas Gal
eb2d8b72be Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 00:23:18 +02:00
Jeff Gilbert
86a855392e Bug 1014961 - IOSurfs are always RGB not BGR. - r=mattwoodrow 2014-05-22 16:44:15 -07:00
Andreas Gal
8ecca8e6f6 Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 12:29:56 +02:00
Andreas Gal
d49533d36b Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 12:29:54 +02:00
Nicolas Silva
2596280202 Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Andreas Gal
d7f70cee2f Bug 1012407 - Part 4: Always pass the layer rect to BindAndDrawQuad (r=Bas) 2014-05-21 23:36:56 +02:00
Andreas Gal
87faa79590 Bug 1012407 - Part 3: Eliminate DrawQuadInternal since we no longer need it (r=Bas) 2014-05-21 23:26:38 +02:00
Andreas Gal
edd19a646b Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas) 2014-05-21 23:24:16 +02:00
Andreas Gal
c3f35b40a6 Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas 2014-05-21 23:03:49 +02:00
Sotaro Ikeda
4c48f9d381 Bug 1011327 - Add checks around SharedBufferManagerParent 2014-05-20 13:50:25 -07:00
Chris Peterson
1663974cbd Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-16 00:35:13 -07:00
Chris Peterson
80f28ea801 Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/ 2014-05-16 00:33:16 -07:00
Chris Peterson
4dcae4d9bf Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-14 20:15:36 -07:00
Sotaro Ikeda
e584c0cbfd Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical 2014-05-14 09:59:25 -07:00
Sotaro Ikeda
284e896e23 Bug 971946 - Remove TextureClientData r=nical 2014-05-14 06:29:52 -07:00
Matt Woodrow
7f48a0e617 Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng 2014-05-09 22:06:18 +12:00
Benoit Jacob
de99c7b1ef Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert 2014-05-08 21:03:37 -04:00
chiajung hung
aca898b7e3 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Jonathan Watt
83ce05a1ec Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Benoit Jacob
8815295d59 Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
fe6ce1fe7f Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
675de992e0 Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
e51484d0bd Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
79b886764c Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
9a2b04a676 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
2128bb4f6f Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva
e33fb2cd21 Bug 997121 - Mark CompsoitorOGL MOZ_FINAL to prevent future problems with the virtual call in its destructor. r=bjacob 2014-04-28 16:10:35 +02:00
Nicolas Silva
f27de3f20c Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
John Schoenick
edda3ecac7 Bug 977963 - Fix and re-enable linux glX texture_from_pixmap support r=mattwoodrow 2014-04-27 21:52:55 -07:00
Blair McBride
5cba04ad67 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
59d8409515 Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
204c6f0755 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
e75e4f70e1 Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
79b69025d9 Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
43bb102733 Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
b0f17a58c7 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
f090eb7a1c Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical 2014-04-25 22:34:05 -04:00
Ed Morley
2e2eb508f0 Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
c35afafcc1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Nicolas Silva
22217f8362 Bug 993004 - Fix missing #include on a CLOSED TREE 2014-04-25 14:00:52 +02:00
Nicolas Silva
85eed097b5 Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond 2014-04-25 13:38:17 +02:00
Carsten "Tomcat" Book
0dea645453 Backed out changeset 3d116167774f (bug 993004) for bustage on a CLOSED TREE 2014-04-25 12:19:45 +02:00
Nicolas Silva
0bdf3151ed Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond 2014-04-25 11:51:17 +02:00
Jeff Gilbert
99c9587534 Bug 999713 - Kill WS in files we want to touch. - r=kamidphish 2014-04-22 16:23:18 -07:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Kyle Huey
91420b7d1d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
28592e6530 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Jonathan Watt
2ed7ee65dd Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow 2014-04-13 11:07:12 +01:00
Ryan VanderMeulen
34dceacb42 Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
efea44f6cd Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
Nicolas Silva
7c497a9676 Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-11 16:15:01 +02:00
Nicolas Silva
51a3c554b6 Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
bff450d992 Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE 2014-04-10 13:15:47 +02:00
Nicolas Silva
70427a3c8f Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Kyle Huey
41b19ee1f2 Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey
749ec8b15d Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan 2014-04-08 16:37:05 -07:00
Nicolas Silva
23e336246f Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis 2014-04-08 10:04:08 +02:00
Chris Lord
9c5e7e0874 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Chris Lord
d638080650 Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g 2014-04-07 13:09:44 +01:00
Matt Woodrow
abb78fae19 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
d532a9c01b Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Phil Ringnalda
fde12dd0a6 Backed out 4 changesets (bug 991028) for nonunified bustage
CLOSED TREE

Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
fbd13c088f Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
75309237f6 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Ryan VanderMeulen
01e048154a Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
5a2c48da2d Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Daniel Holbert
6a7faff5d3 Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob 2014-04-04 09:27:02 -07:00
Sushil Chauhan
0bb3719f93 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Phil Ringnalda
8d73e0be6f Backed out 5 changesets (bug 991032, bug 990933, bug 990876, bug 990871) for build bustage
CLOSED TREE

Backed out changeset c28e1344a6da (bug 991032)
Backed out changeset c85326be7e94 (bug 990876)
Backed out changeset 7cd1a8c883cb (bug 990876)
Backed out changeset 3052e8a3c505 (bug 990933)
Backed out changeset 6685770cf674 (bug 990871)
2014-04-03 20:28:52 -07:00
Nicolas Silva
e195bff1bb Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-04 11:15:47 +08:00
Nicolas Silva
bb5f55e84a Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-04 11:15:18 +08:00
Nicolas Silva
9e32afc054 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
Botond Ballo
530b8d2872 Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical 2014-04-02 03:27:42 -04:00
Andreas Gal
9188c80be2 Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob 2014-04-02 09:02:07 -04:00
Matt Woodrow
13c45e3751 Bug 990437 - Convert ContentHostIncremental to inherit from ContentHostBase. r=nical 2014-04-02 14:45:02 +08:00
Nicolas Silva
9effdc38ef Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis 2014-04-02 10:37:49 +08:00
Nicolas Silva
2f7b2c6f99 Bug 989904 - Remove some of the deprecated gl textures. r=mattwoodrow 2014-04-01 14:28:18 +08:00
Benoit Jacob
97fce92de5 Bug 990233 - Back out Bug 978479 and Bug 980364 because of a 5% tresize regression on Mac OSX 10.6 - no review, just a backout on a CLOSED TREE 2014-03-31 22:31:24 -04:00
Ryan VanderMeulen
6cd1cf828f Merge b2g-inbound to m-c. 2014-03-31 17:27:57 -04:00
Sotaro Ikeda
37c69117b5 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Benoit Jacob
7fff2c454f Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Andreas Gal
3d7a7a76bb Bug 978479 - remove flipped quad texture from mQuadVBO. r=bjacob 2014-03-29 20:49:00 +01:00
Andreas Gal
9540c1f604 Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob 2014-03-30 17:37:00 +02:00
Matt Woodrow
453ffffa9c Bug 980642 - Clean up Compositor::clearFBRect API. r=roc 2014-03-28 16:38:32 +13:00
Ryan VanderMeulen
8b6cc2528d Merge m-c to b2g-inbound. 2014-03-26 23:09:04 -04:00
Sotaro Ikeda
c945bef808 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Nicolas Silva
6a0f990094 Bug 984618 - Clear the compositor's unused textures when a frame was entirely composited by hwcomposer. r=cwiiis 2014-03-25 17:14:48 +01:00
Nicolas Silva
aff8781ac7 Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis 2014-03-21 13:54:13 +01:00
James Willcox
2822979243 Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow 2014-03-26 13:23:44 -05:00
Nicolas Silva
8f665813d6 Bug 984618 - Clear the CompositorOGL's unused textures when aborting a frame. r=Bas. 2014-03-26 16:56:30 +01:00
Ed Morley
229b5c3df6 Backed out changeset 4c963fa4683b (bug 985487) 2014-03-26 15:14:54 +00:00
James Willcox
0afeb7e71a Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow 2014-03-26 09:11:42 -05:00
Nicolas Silva
df118a224d Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Chris Lord
5a692755f9 Bug 985322 - Return RGBA instead of BGRA for external gralloc textures. r=nical
Before bug 950050, we'd calculate a format of BGRA, then ignore it and return
RGBA in GetFormat. This just calculates RGBA and returns the format directly.
2014-03-19 13:24:06 +00:00
Jonathan Watt
e7ba4e35fb Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Wes Kocher
f9ae02417f Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Nicolas Silva
b39d112d21 Bug 984437 - Backout for build bustage on a CLOSED TREE 2014-03-18 17:18:07 +01:00
Nicolas Silva
65b8385957 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-18 16:29:07 +01:00
Nicolas Silva
3a79563214 Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis 2014-03-12 17:28:47 +01:00
Chris Lord
9d5f2b19f0 Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical 2014-03-18 08:12:40 +00:00
Phil Ringnalda
a05ae08885 Merge m-c to b-i 2014-03-17 22:48:40 -07:00
Sotaro Ikeda
1f8749fe25 Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Bas Schouten
e37c745069 Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout 2014-03-13 18:55:52 +01:00
Matt Woodrow
af3af9a806 Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical 2014-03-13 13:37:17 +13:00
Matt Woodrow
0cf2747abe Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical 2014-03-13 13:37:17 +13:00
Nicolas Silva
cfc793b8f1 Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis 2014-03-12 17:29:36 +01:00
Nicolas Silva
d55999a3d1 Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis 2014-03-12 17:28:47 +01:00
Nicolas Silva
e90cccae80 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Jeff Gilbert
3c7d18baac Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f4b994f55 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Bas Schouten
a0108bc8af Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Ryan VanderMeulen
ce38a1c6d5 Backed out changeset 96f2905b175d (bug 978479) for OSX reftest failures.
CLOSED TREE
2014-03-06 14:14:52 -05:00
Andreas Gal
0fe0fc9984 Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob 2014-03-06 12:50:29 -05:00
James Willcox
39bceadc21 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
9953e94be2 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal
5ce95a9e25 Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
Sushil Chauhan
35ac903785 Bug 978341 - CompositorOGL::clearFBRect api needs to map the rect to OGL coordinates. r=jgilbert 2014-03-04 18:07:32 -08:00
Ryan VanderMeulen
af8c67273f Merge m-c to inbound on a CLOSED TREE. 2014-02-28 16:06:20 -05:00
Milan Sreckovic
e5117a25a9 Bug 971943: 1. Remove unused variable. r=me. 2014-02-28 12:59:35 -05:00
Sushil Chauhan
9058bca2dc Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron 2014-02-27 11:07:34 -08:00
Sotaro Ikeda
d4c5f44335 Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Carsten "Tomcat" Book
ac78ac1ab1 Merge mozilla-central to b2g-inbound 2014-02-27 15:59:39 +01:00
Sotaro Ikeda
1d7fd44c1a Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical 2014-02-27 06:40:48 -08:00
Morris Tseng
ec58a2b65a Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal 2014-02-26 09:04:47 -05:00
Matt Woodrow
20b7e3325b Bug 974709 - Use a separate texture for each X11TextureSource and keep the pixmap bound. r=nical
--HG--
extra : rebase_source : 06012985e185f517d8a807788e35ea1efcaf39d8
2014-02-22 22:22:43 +13:00
Sotaro Ikeda
c0ff94d478 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Morris Tseng
acfcb2590b Bug 975121 - Fix reversed colors with gfx.xrender.enabled = false. r=gal 2014-02-24 10:09:55 -05:00
Wes Kocher
a774349143 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
df0c006a7c Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ryan VanderMeulen
49bf33920f Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
0b9a742df4 Bug 973892 - Fix b2g bustage on a CLOSED TREE. 2014-02-19 20:00:50 +01:00
Milan Sreckovic
aebaca5cae 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
L. David Baron
dfb9ad9186 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Morris Tseng
3680515b7f Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Tom Schuster
ac951e8537 Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical 2014-02-18 01:30:05 +01:00
Tom Schuster
7180283dc9 Bug 973227 - Add GetBackendType to every Compositor class. r=nical 2014-02-18 01:30:05 +01:00
Matt Woodrow
58b1d4f48c Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical 2014-02-18 09:36:57 +13:00
Matt Woodrow
bccfc9bf4a Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical 2014-02-18 09:32:49 +13:00
Ehsan Akhgari
dc28f1ce88 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
7b82ee95c1 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Andreas Pehrson
920f9c11d5 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
7969de45f2 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
87113f5765 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Andreas Pehrson
1eada6baf8 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
919b8e3183 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Wes Kocher
57a27d0812 Merge b2g-inbound to m-c 2014-02-13 17:02:58 -08:00
Sotaro Ikeda
ccd1c78ece Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Benoit Girard
fd8eb83796 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Sotaro Ikeda
95e52e8e66 Bug 962101 - Handle Remove Texture in Compositable level. r=nical 2014-02-10 15:52:35 -05:00
Sotaro Ikeda
c3d6dbc65c Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical 2014-02-06 20:32:29 -05:00
Nicolas Silva
43982b2ac9 Bug 966999 - Remove some deprecated GL textures code. r=vlad 2014-02-04 21:47:20 +01:00
Matt Woodrow
0cca6cae1f Bug 966543 - Ensure that the MacIOSurfaceTextureHost has taken a ref to the surface before letting the client side object be destroyed. r=nical 2014-02-04 12:25:22 +13:00
Jeff Muizelaar
d304a50eff Bug 962721. Handle the flip for CopyTexImage2D. r=bjacob
This fixes a regression from b75d69931d4a. This call to CopyTexImage2D was
forgotten during the move to handling the flip in the compositor.
2014-01-31 10:59:14 -05:00
Vladimir Vukicevic
99fe1819f0 b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
5a9f9c3174 b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
0fec1fd861 b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob 2014-01-29 17:53:37 -05:00
David Zbarsky
92ffaedc75 Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
ac7a35fed2 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
0a543106f3 Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
482b98b33e Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Nicolas Silva
53a4585145 Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-24 15:25:04 +01:00
Sotaro Ikeda
b2a19661db Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical 2014-01-24 08:30:41 -05:00
Benoit Jacob
15ef84b8b5 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
28ff3ad25f 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
Benoit Jacob
981c6431d3 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00