Commit Graph

1109 Commits

Author SHA1 Message Date
Jeff Gilbert
2cf705f5f5 Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
16a3efd798 Bug 1049957 - Use RefPtr for SurfaceStream. - r=kamidphish 2014-08-15 17:38:07 -07:00
Jeff Gilbert
163982a614 Bug 1049957 - Use UniquePtr for GLScreenBuffer. - r=kamidphish 2014-08-15 17:38:07 -07:00
Ehsan Akhgari
7ef2679c79 Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Dan Glastonbury
cb6ddd36cd Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
George Wright
a9787ed881 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
bd2dd7bfd9 [PATCH 04/15] Bug 1017113 - Remove GL functions no longer required by Ganesh r=mattwoodrow 2014-07-27 20:52:33 -04:00
Vladimir Vukicevic
4a3c43c587 b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Jeff Gilbert
0627be2bfd Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
3862869a53 Bug 1045955 - Tighten requirements for framebuffer_blit, and use GL_FRAMEBUFFER when unavailable. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
dabc675938 Bug 1045955 - Allow blitting 'internal' fb0. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
262e1bfb58 Bug 1045955 - Make snapshots pick RGBA or RGBX. - r=kamidphish 2014-08-07 19:03:24 -07:00
Jeff Gilbert
45ca81fe4b Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow 2014-08-04 22:10:47 -07:00
Jeff Gilbert
5fc8008878 Bug 1048562 - Add support for NV_fence to GLContext. - r=mattwoodrow 2014-08-04 22:09:20 -07:00
David Zbarsky
42e6fcdddb Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Ryan VanderMeulen
3f0602b523 Backed out changeset aef0101ff775 (bug 1045955) for B2G reftest failures.
CLOSED TREE
2014-07-30 14:43:30 -04:00
Jeff Gilbert
5b7a8b438f Bug 1045957 - Improve code in GLReadTexImageHelper.cpp. - r=mattwoodrow 2014-07-30 10:35:30 -07:00
Jeff Gilbert
d90bab70f8 Bug 1045955 - Fix compositing for screen-based WebGL ShSurfs. - r=kamidphish 2014-07-30 10:03:07 -07:00
Jeff Gilbert
457db03869 Bug 1045955 - Fix style. - r=kamidphish 2014-07-30 10:03:07 -07:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
26605d5924 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
Carsten "Tomcat" Book
3796d48fad Merge mozilla-central to b2g-inbound a=sheriffduty 2014-07-29 11:22:53 +02:00
Michael Wu
e3f2258c10 Bug 1042949 - Remove gScreenBounds hack in GLContextProviderEGL.cpp, r=jgilbert 2014-07-22 17:33:03 -04:00
Benoit Jacob
bc7ef79326 Bug 978966 - Disable framebuffer_multisample on Microsoft Basic Render Driver because it assumes blending with default blendfunc, breaking WebGL - r=kamidphish 2014-07-25 10:35:03 -04:00
Gautam Akiwate
8fddacb296 Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical 2014-07-23 21:13:00 +02:00
Vladimir Vukicevic
057227f686 b=965848; implement EXT_shader_texture_lod for WebGL; r=jgilbert, r=bz 2014-07-24 11:58:43 -04:00
Benoit Girard
46261cf888 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Michael Wu
dd2019bc8b Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert 2014-06-17 17:19:11 -04:00
chiajung hung
98dd3ed73d Bug 814524 - Change YUV=>RGB formula to a more precise version. r=jgilbert 2014-07-14 19:46:00 -04:00
Walter Litwinczyk
4e0ac38e86 Bug 1024196 - Fix leak of |i| variable in CreateGrGLInterfaceFromGLContext. r=gw280 2014-07-09 13:40:40 -07:00
Jeff Gilbert
92e122aeeb Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
3ccc4361db Backed out changeset 53f0f0e43ea5 2014-07-11 21:59:48 -07:00
Jeff Gilbert
b8162652b5 Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 21:58:00 -07:00
Jeff Gilbert
794e13ab01 Bug 843673 - Re-enable WebGL instanced drawing, and fix the max instance calculation. - r=kamidphish 2014-07-11 21:53:57 -07:00
Jeff Walden
5fd487b8e0 Bleh, forgot to qref, still fixing bug 1037100. r=bustage 2014-07-11 21:05:59 -07:00
Jeff Walden
30e19aea13 Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Jeff Walden
a0c2a5a108 Bug 1037100 - Remove all ScopedDeleteArray uses from gfx/gl/. r=jgilbert
--HG--
extra : rebase_source : fff244a14da1605f8c6db552925f5bc4b34fb106
2014-07-10 17:43:01 -07:00
Jeff Gilbert
28df0dd6c9 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jonathan Watt
c885ba1f0b Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis 2014-07-11 08:06:38 +01:00
chiajung hung
478539f783 Bug 814524 - Make WebGLContext::TexImage2D avoid readback for video elements, r=jgilbert 2014-07-08 20:52:00 +02:00
Jeff Walden
86ea8f6ecd Bug 953296 - Convert ScopedDeletePtr to UniquePtr in various bits of canvas/graphics/GL code. r=jgilbert
--HG--
extra : rebase_source : cd1e332837ff49199d62805f554bf1123eea334f
2014-01-06 09:49:03 -06:00
Vladimir Vukicevic
74f7e4abf8 b=1009965, be explicit about whether we're quering for core GL symbols or extension GL symbols; r=bjacob,jrmuizel 2014-05-13 17:18:42 -07:00
Vladimir Vukicevic
446ca343d1 b=1009960, teach ScopedBindFramebuffer about spilt read/draw framebuffers; r=bjacob 2014-05-13 17:14:53 -07:00
Sotaro Ikeda
8e0f02b8a0 Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Sotaro Ikeda
a65c18d397 Bug 1022205 - disable sync fence on AdrenoTM200 r=jgilbert 2014-06-24 08:59:59 -07:00
Benoit Jacob
adffc9db7b Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Jonathan Watt
f0cc7f7531 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jeff Gilbert
bde621b73d Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
2c7936586a Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jonathan Watt
131a0c83b6 Bug 1025489 - Stop using gfxImageSurface in the GL code. r=Bas 2014-06-17 18:35:50 +01:00
Jonathan Watt
90d9a5c55c Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +01:00
Michael Wu
eb62b17d81 Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Dan Glastonbury
5c466a9e3b Bug 1024256 - Blacklist S3TC extension on OSX 10.9 Intel HD 3000 driver because of buggy glCompressedTexSubImage2D with sub-image update; r=jgilbert 2014-06-16 09:30:04 +10:00
Sotaro Ikeda
eb678948e0 Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Ryan VanderMeulen
f3454be2d1 Backed out changeset abdb3afb7208 (bug 1014815) for B2G reftest failures. 2014-06-07 00:02:28 -04:00
Benoit Girard
e9a71f280e Bug 1014815 - Add a delay stage for webgl on b2g to let frame resolve. r=jgilbert
--HG--
extra : rebase_source : ca0d405db3af1e7f8f38456fedbb8b27b9f3b249
2014-06-04 14:25:18 -04:00
Wes Kocher
b4252e39a6 Backed out changeset cb1ea8162165 (bug 1000640) 2014-06-04 18:27:31 -07:00
Wes Kocher
4fe99a4e72 Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Jeff Gilbert
1379df57d8 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
80de765f16 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jonathan Watt
f85bc21d14 Bug 1019727 - Remove TextureImageCGL::GetSurfaceForUpdate(). r=bjacob 2014-06-04 08:08:39 +01:00
Jeff Gilbert
921ea972f0 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-06-02 14:40:15 -07:00
Phil Ringnalda
c60c621e2b Merge m-c to m-i 2014-05-31 20:38:25 -07:00
Jeff Muizelaar
f90b5834cc Bug 1013647. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : 7d64a1337cbe951069648422d4c42600fdab28a1
2014-05-31 00:39:16 -04:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal
4d3c80f105 Bug 1016086 - Part 3: Make sure ReadTexImageHelper doesn't change the attribute state during composition (r=Bas) 2014-05-29 18:28:40 -04:00
Ryan VanderMeulen
73046b8118 Merge m-c to inbound on a CLOSED TREE. 2014-05-29 14:46:47 -04:00
Ryan VanderMeulen
c555d6f2fb Backed out changeset 441137505200 (bug 980178) for causing various TBPL crashes. 2014-05-29 14:33:28 -04:00
Wes Kocher
c667760989 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
c808032b3b Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-28 16:18:43 -04:00
Andreas Gal
f5bb3eeaee Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-28 14:04:07 -04:00
Ed Morley
414cf13040 Backed out changeset 9b01df568861 (bug 8430335) for assertions & incorrect bug number; CLOSED TREE 2014-05-30 17:15:40 +01:00
Ed Morley
801266221a Backed out changeset 8bf85356ef86 (bug 8430335) 2014-05-30 17:15:09 +01:00
Jeff Muizelaar
58a0bf276c Bug 8430335. Fix NS_ABORT_IF_FALSE breakage.
CLOSED TREE
2014-05-30 11:11:35 -04:00
Jeff Muizelaar
e159bb1699 Bug 8430335. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : dc1357cdd45979b741d132b54f2a77cdde95bd00
2014-05-30 10:43:50 -04:00
Andreas Gal
f6e36923e6 Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-29 10:19:48 -04:00
Carsten "Tomcat" Book
9c73951370 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Michael Wu
31cce6a83f Bug 999694 - Followup - Don't assert on 4.2, r=jgilbert 2014-05-27 17:36:52 -04:00
Jeff Gilbert
5a68eb9ec0 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-27 20:01:33 -07:00
Andreas Gal
9491a54f93 Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow). 2014-05-22 15:05:03 -04:00
Sotaro Ikeda
cb17692178 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea 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
Sotaro Ikeda
e66ebd661d Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Jeff Gilbert
4209f16695 Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish
* * *
Bug 980178 - Dither default is true. - r=kamidphish
2014-05-21 19:03:09 -07:00
Andreas Gal
64df6c108f Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 12:29:54 +02:00
Nicolas Silva
2f4369ee5e Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Wes Kocher
ae72230fb0 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
Vladimir Vukicevic
3591fee224 Bug 1009958 - UnlockProd if we fail during attachment. - r=jgilbert 2014-05-13 17:14:33 -07:00
Andreas Gal
e68467ac54 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal
c18a94ef0b Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 00:23:18 +02:00
Michael Wu
7b1b8fab91 Bug 999694 - Use fence objects in SharedSurfaceGralloc, r=jgilbert 2014-04-21 19:59:30 -04:00
Sotaro Ikeda
12f85ecb9a Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Matt Woodrow
f705ad907d Bug 1001853 - Don't loop waiting on the monitor, and acccount for the fact that timeouts are treated as success. r=jgilbert 2014-05-14 16:10:00 +12:00
Matt Woodrow
6f4fe5f50f Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
7c56899084 Bug 1006198 - Use a temporary surface if alignment is wrong during WebGL readback. r=jgilbert 2014-05-13 14:20:27 +12:00
Wes Kocher
8b513c2e26 Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow
ebdc59155b Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
98d17e0b56 Bug 1006198 - Use a temporary surface if alignment is wrong during WebGL readback. r=jgilbert 2014-05-13 14:20:27 +12:00
Wes Kocher
67ccf7dfd6 Backed out changeset 350f36f463d5 (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:08 -07:00
Jeff Gilbert
6d1f98ea2b Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-12 17:56:31 -07:00
Peter Chang
254d3e5865 Bug 1006336 - Change OwningThreadId in GLContext to PlatformThread::CurrentId(). r=bjacob 2014-05-09 00:18:00 -04:00
Benoit Jacob
7d4874a620 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
Jeff Gilbert
55e03c9b4c Bug 1004702 - Use KHR_debug in DebugMode(). - r=bjacob 2014-05-06 13:59:18 -07:00
Benoit Jacob
f26f1201a9 Bug 999445 - Do not fail GLContext initialization if the GL_VERSION is too low. We may get what we need as extensions. - r=jrmuizel 2014-05-05 15:40:51 -04:00
Jeff Gilbert
dbc5d236e7 Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Jeff Gilbert
7569e676d7 Bug 1003027 - Use temp surface for bad strides. - r=mattwoodrow 2014-05-02 13:22:07 -07:00
Jeff Gilbert
5e80fdd74a Bug 978407 - Use glClear to clear deferred-init textures. - r=kamidphish 2014-04-30 14:30:21 -07:00
Jeff Gilbert
8ad125e2ec Bug 997374 - Check FB status in GLScreenBuffer. - r=bjacob 2014-04-28 18:11:14 -07:00
Jonathan Watt
d7d9854e2c Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Jonathan Watt
3f5a57736a Bug 1001682 - Don't reverse the R and B components in the GL CopyDataSourceSurface code for SurfaceFormat::R5G6B5. r=mattwoodrow 2014-04-29 00:26:53 +01:00
Benoit Jacob
01868df539 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Nicolas Silva
1762a07762 Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Blair McBride
3b0373f215 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
f069a1b4e7 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Kartikaya Gupta
967f035766 Bug 997380 - Resolve ambiguous reference to strdup. r=bjacob 2014-04-16 20:56:21 -04:00
Tatiana Meshkova
c3800c0c18 Bug 994856 - Add support for Gecko rendering via GLScreenBuffer into external GL Context. r=bjacob,jgilbert 2014-04-15 07:57:26 -07:00
Ryan VanderMeulen
c71414c58b Merge m-c to inbound. 2014-04-15 23:30:15 -04:00
Jonathan Watt
0a0470e24e 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
Benoit Jacob
5fc593eff6 Bug 986572 - Add missing MakeCurrent call to SharedSurface_GL::ProdCopy - r=jgilbert 2014-04-15 12:01:21 -04:00
Matt Woodrow
5e285c4683 Bug 995065 - Don't block on the Compositor for more than 100ms. r=jgilbert 2014-02-18 10:12:50 +13:00
Matt Woodrow
b14060bda6 Bug 995065 - Backout bug 947227 for causing WebGL performances regressions. r=jgilbert 2014-04-15 10:37:06 +12:00
Benoit Jacob
c5567370d0 Bug 986836 - Don't destroy the native framebuffer's eglSurface on ICS - r=jrmuizel 2014-04-11 08:38:07 -04:00
Nathan Froyd
084e3f4639 Bug 989349 - part 2 - eliminate static constructor in GLContextProviderGLX.cpp; r=bjacob 2014-03-26 09:26:11 -04:00
Nathan Froyd
c6fd0555ee Bug 989349 - part 1 - use StaticRefPtr instead of nsRefPtr in GLContextProviderGLX.cpp; r=bjacob 2014-03-26 09:10:27 -04:00
Chris Lord
4b3c68d60c Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Ryan VanderMeulen
0b24e10f19 Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
20780839a2 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Daniel Holbert
652ce79f6e 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
Benoit Jacob
a1ecb819d5 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
Benoit Jacob
01040239e3 Bug 987828 - 4/4 - Remove IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Benoit Jacob
89317548d7 Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Dan Glastonbury
57304ecd06 Bug 982475 - Prevent SwapRAndBComponents derefencing NULL pointer. r=jgilbert 2014-03-11 11:01:00 +10:00
Andreas Gal
bc0a24c671 Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob 2014-03-30 17:37:00 +02:00
Masatoshi Kimura
4eef367f14 Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 22:41:57 +09:00
Carsten "Tomcat" Book
96f75654ad Backed out changeset 91a4c3026e8a (bug 986811) for bustage 2014-03-26 12:27:52 +01:00
Masatoshi Kimura
4c478b97ef Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 20:14:45 +09:00
Jukka Jylanki
bdf6364823 Bug 987845 - Avoid unconditionally calling eglGetError() after each EGL MakeCurrent operation - r=bjacob,vlad,jgilbert - anyone else? 2014-03-25 20:23:58 -04:00
Jeff Gilbert
e2f4fc84a2 Bug 985685 - DrawRangeElements should call Before/AfterGLDrawCall(). - r=kamidphish 2014-03-20 21:20:02 -07:00
George Wright
e6cff3bbe1 [PATCH 6/6] Bug 985217 - Ensure that our GLContext is current and working at GrGLInterface creation time as Skia now determines extensions at creation time r=snorp 2014-03-18 19:37:56 -04:00
George Wright
0331ef5ada [PATCH 4/6] Bug 985217 - Remove client side array functions as Skia no longer uses/wants them, and set the functions differently following refactoring in GrGLInterface r=snorp 2014-03-20 14:08:19 -04:00
Nicolas Silva
7af3bc6aad Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Jeff Gilbert
c0214eb332 Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish 2014-03-17 10:52:56 -04:00
Jeff Gilbert
97918bfdb0 Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish 2014-03-17 10:50:15 -04:00
Jeff Muizelaar
adc278f3d0 Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Wes Kocher
2fbdf29654 Backed out changeset 46d18be48bc4 (bug 981856) for b2g gl bustages
* * *
Backed out changeset a2ec4ab256e8 (bug 981856)
2014-03-14 17:33:54 -07:00
Jeff Muizelaar
c460072f7e Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.

--HG--
extra : rebase_source : 2a667cc002b5ff4ad279e9483701eaf7952aeda8
2014-03-14 11:24:58 -04:00
Ehsan Akhgari
4e69f36cf8 Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Morris Tseng
eecfb9e542 Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish 2014-03-11 11:14:50 -04:00
Jeff Gilbert
3ba237c70c Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert
7cf50c98a3 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Jeff Gilbert
91352f644c Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Ehsan Akhgari
158ac51adc Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Jeff Gilbert
bdd584a1f9 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Jonathan Watt
518619e344 Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas 2014-03-07 13:21:38 +00:00
James Willcox
77dd9269db Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert 2014-03-06 14:50:42 -06:00
Jeff Gilbert
ee766ae9ab Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish 2014-03-05 17:35:40 -08:00
James Willcox
d7b777bc05 Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert 2014-03-05 15:49:55 -06:00
James Willcox
15d30be7c6 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
af36ac34fa Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal
cd70980d39 Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
Dan Glastonbury
ad45f60627 Bug 975824 - Disable S3TC compressed texture support on VMware Gallium 0.4 with
llvmpipe. r=jgilbert
2014-02-28 16:57:03 +10:00
Jeff Gilbert
3b5df918d9 Bug 978414 - GLContextCGL::IsDoubleBuffered should be const at definition. - r=bustage on a CLOSED TREE 2014-03-03 19:13:34 -08:00
Jeff Gilbert
288e6d233c Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Milan Sreckovic
c1642686f2 Bug 971943: 6. gfx.android.rgb16.force (startup only), gfx.gralloc.fence-with-readpixels (changing during session) moved to gfxPrefs. r=sikeda. 2014-03-03 17:11:06 -05:00
Kyle Huey
9f9541e388 No bug: dos2unix GLTextureImage.cpp. r=me
DONTBUILD
2014-02-28 17:32:07 -08:00
Milan Sreckovic
d62526b056 Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright 2014-02-28 12:59:38 -05:00
Phil Ringnalda
9edb9a4e06 Back out d0b4c5c28fb0 (bug 956993) for Android test failures
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox
949c70daee Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-02-27 20:48:38 -06:00
Milan Sreckovic
6e2f6474ed Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Matt Woodrow
b8b50d2bf0 Bug 680817 - Keep GLXPixmaps bound to textures between updates on NVIDIA drivers to improve performance. r=joe 2014-02-25 12:56:51 +13:00
James Willcox
261134aef1 Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob 2014-02-24 16:17:34 -06:00
Milan Sreckovic
a6a3b6984a Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob 2014-02-22 18:53:04 -05:00
Oleg Romashin
d8e538b51f Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Wes Kocher
09174e398b 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
1715424e2c 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
Matt Woodrow
c524f7b956 Bug 947227 - Remove SurfaceStream_TripleBuffer_Async since it no longer has any users. r=jgilbert 2014-02-21 11:08:36 +13:00
Matt Woodrow
6132710c48 Bug 947227 - Stop using SurfaceStream_TripleBuffer_Async since it can hang if the compositor fails to pull the latest surface. r=jgilbert 2014-02-21 11:08:05 +13:00
Benoit Jacob
9d0deaec82 Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert 2014-02-20 08:05:34 -05:00
George Wright
317b3b869a Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright
a523e57437 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
d92ed9779c Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
Ryan VanderMeulen
6bcf42d1bf Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Sotaro Ikeda
85774eaa54 Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical 2014-02-18 06:46:13 -08:00
Jeff Muizelaar
160276401e Bug 973257. GL: Fix broken printf string. r=vlad
--HG--
extra : rebase_source : 4e2381555b7b1a49cb05cb438f63b4fe8f2fe0ed
2014-02-15 23:44:05 -05:00
Ehsan Akhgari
de8052b706 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
56ec8c20a5 Bug 939276 - build bustage 2014-02-14 16:12:10 -06:00
James Willcox
48175fc2e0 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
87cc055073 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson
c39d6fc9e7 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson
5f6eee106c Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
f5e9e64444 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson
053d840d5b Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson
9b11dcdc31 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson
eb2fa9c75e Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson
a61b8cc094 Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00