Dan Glastonbury
6c65252846
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
43de65aff6
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Dan Glastonbury
852050b9d5
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +10:00
Dan Glastonbury
c419c71b21
Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob
2013-12-06 10:36:13 -05:00
Dan Glastonbury
9f3e0a0598
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Ryan VanderMeulen
215eab7ec7
Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage.
2013-12-04 20:42:55 -05:00
Dan Glastonbury
771fd863ec
Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob
2013-12-04 15:41:22 +10:00
Benoit Jacob
97a90dfa8b
Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
b384f45f52
Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
16059bd0ed
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
28152cdbf3
Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
557445f231
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
642b73e3ef
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
48f806ba5d
Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
83397cfb49
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
3b2fcb7e51
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Nicolas Silva
7da987c39c
Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob
2013-12-03 11:44:37 +01:00
Dan Glastonbury
0b98ce2b6a
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Dan Glastonbury
2113fcf9db
Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad
2013-11-29 14:16:40 +10:00
Dan Glastonbury
3fd4360014
Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob
2013-11-26 13:25:25 +10:00
Benoit Jacob
b601ddf8b0
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
b09cd02eac
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
d702a7823d
Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa
2013-11-28 15:57:19 -05:00
Nicolas Silva
fd65e156ab
Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc
2013-11-27 11:15:17 +13:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
51ab56ef96
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
fc69db0ffb
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Benoit Jacob
28a414fd93
Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert
2013-11-15 12:33:51 -05:00
Benoit Jacob
d6cbadbfb1
Bug 919987 - Replace mCurSurface, which was redundant state, by a saner mSurfaceOverride that does nothing when it's EGL_NO_SURFACE - r=jgilbert
2013-11-15 11:28:38 -05:00
Jeff Muizelaar
9344e3053c
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Dan Glastonbury
442a70f72a
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Ed Morley
78777d624f
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
560bce12ae
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
2013-10-16 08:27:59 -04:00
Benoit Jacob
4ce8a28e25
Bug 814159 - Part 1: remove X11, Qt, and unused Gonk code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
9b4f7263f1
Bug 922810 - Part 7: extend ScopedBindTexture to support cube maps - r=jgilbert
2013-10-11 09:16:43 -04:00
Jeff Gilbert
5591502d99
Bug 910429 - Add KHR_debug support to GLContext. - r=bjacob
2013-10-08 16:20:24 -07:00
Ehsan Akhgari
18ef76b0d7
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Benoit Jacob
6ecd6b5eaa
Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert
2013-09-30 20:58:57 -04:00
Ryan VanderMeulen
0cfa34ad65
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
9eed6c7f16
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
0d37cfdd60
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Nicholas Cameron
a8a95dc820
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12: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
89bfa53c22
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Jeff Gilbert
cfdbae7842
Bug 917046 - Add feature that allows non-array instanced drawing. r=bjacob
2013-09-19 15:33:11 -07:00
Benoit Jacob
2a47884307
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
781d5526ac
Bug 905227 - On Android Emulator, assume that OES_rgb8_rgba8 is available even though it's not in the GL_EXTENSIONS string - r=nical
2013-09-06 08:03:08 -04:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00