Jeff Muizelaar
9344e3053c
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Woodrow
9c51cbb0f8
Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc
2013-11-01 14:54:15 +13:00
Markus Stange
7ec597ca25
Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow
2013-10-09 10:39:22 -04:00
Ryan VanderMeulen
499ad08449
Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
...
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
6719e38b4f
Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow
...
--HG--
extra : rebase_source : 6cb49ed36b4ca3196b047de3b929abbf0e323e84
2013-10-09 10:39:22 -04:00
Matt Woodrow
445aba4953
Bug 903296 - Copy the entire device pixel size of MacIOSurface when reading back to an image surface. r=BenWa
2013-09-30 12:21:44 +13:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
94f74c705d
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Edwin Flores
6318f92344
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Avi Halachmi
7de7d90131
Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel
2013-08-02 23:29:57 +03:00
Guillaume Abadie
4a627d22da
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Matt Woodrow
15b6cbf471
Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa
2013-07-17 23:24:14 -04:00
Avi Halachmi
33f8c51e08
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Matt Woodrow
6c47d7391d
Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
...
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
139c9584fb
Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes.
2013-07-04 13:25:50 -04:00
Ehsan Akhgari
2906766499
Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
...
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
363a64ab55
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Matt Woodrow
a3bf84f7df
Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc
2013-05-13 16:52:55 +12:00
Matt Woodrow
f6a99ea56f
Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa
2013-05-10 09:02:48 +12:00
Matt Woodrow
f7d12ccdaa
Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa
2013-05-01 17:03:27 +12:00
Matt Woodrow
81b06ba84f
Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert
2013-04-17 14:21:06 +12:00
Matt Woodrow
631e98fb1c
Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert
2013-04-17 14:21:06 +12:00
Benoit Girard
6ed333dbb5
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
4a0f5f39ca
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Markus Stange
09292dc7dc
Bug 676248 - Make the window GL context transparent on OSX. r=bgirard
2013-03-11 12:29:00 -04:00
Jeff Gilbert
a74b6b9a5e
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
Jeff Gilbert
78f00c0f31
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
23a70898de
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
b891b80fa0
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
2187525c49
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Benoit Girard
ba8ad496f4
Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow
...
--HG--
extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
2013-01-28 16:57:33 -05:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
cb06cece67
Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob
2012-08-21 20:30:20 -07:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Gilbert
f805a777d9
Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob
2012-07-27 14:30:38 -07:00
Andrew Quartey
ea5a6de0a9
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Jeff Muizelaar
7a3cb894d9
Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
...
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.
--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
b6f87893a9
Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
...
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Paul O’Shannessy
ed1ab90119
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Benoit Jacob
ec408295df
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Benoit Jacob
ee3e78905d
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Matt Woodrow
d0debbb188
Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc
2012-04-27 12:24:53 +12:00
Jeff Gilbert
5eb8da111b
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00