Граф коммитов

971 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 674e129845 Backed out changeset 91a4c3026e8a (bug 986811) for bustage 2014-03-26 12:27:52 +01:00
Masatoshi Kimura b49d9b0ca6 Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 20:14:45 +09:00
Jukka Jylanki 85788aa2c5 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 e74ceb3aeb Bug 985685 - DrawRangeElements should call Before/AfterGLDrawCall(). - r=kamidphish 2014-03-20 21:20:02 -07:00
George Wright c447e9eb94 [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 6d1d477844 [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 2592474737 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Jeff Gilbert c0d67d37f5 Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish 2014-03-17 10:52:56 -04:00
Jeff Gilbert 18eef3b4d4 Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish 2014-03-17 10:50:15 -04:00
Jeff Muizelaar 9e503fd30d 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 b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Wes Kocher 6c8846b330 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 8cbfbdc3ad 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 f1b87eccd8 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 d8764d7f99 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 6027388cd9 Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert 8f53ae3993 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Jeff Gilbert 7e236f76f8 Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Ehsan Akhgari 276e2d1e15 Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Jeff Gilbert 77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Jonathan Watt aa2222cae6 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 aa0b93b644 Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert 2014-03-06 14:50:42 -06:00
Jeff Gilbert 6ca9eaaa7d Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish 2014-03-05 17:35:40 -08:00
James Willcox 38c98ab8dc Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert 2014-03-05 15:49:55 -06:00
James Willcox dfee0058ef 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 1fd761ef37 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal 044a8b635b 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 105377fc80 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 3a7ff29a22 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 ecac7faae3 Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Milan Sreckovic 644e4b482a 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 a10bc216e9 No bug: dos2unix GLTextureImage.cpp. r=me
DONTBUILD
2014-02-28 17:32:07 -08:00
Milan Sreckovic 3236414e71 Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright 2014-02-28 12:59:38 -05:00
Phil Ringnalda 71d2221ff0 Back out d0b4c5c28fb0 (bug 956993) for Android test failures
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox 6dc4d165a4 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-02-27 20:48:38 -06:00
Milan Sreckovic 95619c8d0d 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 9662b1ad04 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 fb3ec81132 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 825c103203 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 630ac326a5 Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Wes Kocher 8d647a6ec0 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 91032a3dca 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 b131d17ba8 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 0ee7d39f66 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 c4ef6434fc Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert 2014-02-20 08:05:34 -05:00
George Wright 2e2e65e7e1 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 309648f662 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright ee3c883bbb 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 8a4698657b Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Sotaro Ikeda de99fe10c0 Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical 2014-02-18 06:46:13 -08:00
Jeff Muizelaar bf37765934 Bug 973257. GL: Fix broken printf string. r=vlad
--HG--
extra : rebase_source : 4e2381555b7b1a49cb05cb438f63b4fe8f2fe0ed
2014-02-15 23:44:05 -05:00
Ehsan Akhgari 5643b79842 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 933b5c003c Bug 939276 - build bustage 2014-02-14 16:12:10 -06:00
James Willcox ee9a1556e5 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 6ece642af0 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson a5391f0284 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson 84d0270067 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson 87680313c8 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson 7441ec625d Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson 5a8c7a12da Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson c03e76eba6 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson ffdb89ceec Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Ryan VanderMeulen f373429333 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 4918472db8 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson cb77688579 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson 131fa96287 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson ec5790e30d Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson 1aa4d83915 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson 1aea6981d1 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson 971c164cf4 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson 2252cffa0a Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Morris Tseng d4cdf301e3 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
Jeff Gilbert d85030b570 Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob 2014-02-13 15:38:53 -08:00
Jeff Gilbert ee6f816ed1 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Jeff Gilbert 6c7fc28cfd Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Jeff Gilbert 337c3608dc Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Benoit Girard 15b0d7e7f7 Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund cdfd45fed5 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Jeff Gilbert 24c4ab9d4d Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish 2014-02-10 18:03:12 -05:00
Ms2ger 2e89bf81de Merge m-i to m-c. 2014-02-09 10:31:55 +01:00
Ms2ger 42aa546e2f Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Jeff Gilbert 823f3fef45 Bug 969632 - Make GLContext::fDeleteFoo funcs const-correct. r=bjacob 2014-02-08 21:06:08 -05:00
Ryan VanderMeulen 2b2cf89a68 Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert 0db3af46b0 Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Jeff Gilbert a4ce3a842e Bug 968617 - Refresh GLConsts.h as of Feb 5, 2014. r=bjacob 2014-02-06 20:33:20 -05:00
Jeff Gilbert 68a5745355 Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob 2014-02-06 20:33:05 -05:00
Dan Glastonbury 76a85b614c Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa 2014-01-31 09:18:15 +10:00
Vladimir Vukicevic 69d8bb943a b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Vladimir Vukicevic 9d5d5dab4a b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert 2014-01-23 12:47:56 -05:00
Dan Glastonbury cdecdd0a93 Bug 953221 - GLenum to C string helper. r=bjacob 2014-01-22 19:21:19 +10:00
Milan Sreckovic c0ca2a00d1 Bug 946860 - Move the preference evaluation to main thread. r=gwright 2014-01-24 17:19:34 -05:00
David Zbarsky 7cb634da66 Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Benoit Jacob aebf0bb92a 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 ed427f9600 Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob e5ed95579b 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
Benoit Girard 400396fb82 Bug 900033 - Don't rely on the driver to detect a bad MakeCurrent. r=jrmuizel 2014-01-17 18:10:54 -05:00
Bas Schouten fdb4be9e33 Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel 2014-01-16 13:17:23 +01:00
Bas Schouten 6a885186bb Backed out 5 changesets (bug 960254, bug 960354)
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten faa7d6f7e2 Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel 2014-01-16 13:17:23 +01:00
Markus Stange 83a5bad4dc Bug 958550 - Use ScopedGLState for scissor test + blend state in two more places. r=bjacob 2014-01-13 15:29:10 +01:00
Benoit Jacob 7bdb8095bb Bug 943925 - Fix the loading of the glDrawBuffers symbol - r=jgilbert 2014-01-10 22:14:17 -05:00
Benoit Jacob af24b2af27 Bug 958256 - Mark standard_derivatives as unsupported on Vivante drivers - r=jgilbert,snorp 2014-01-10 14:50:25 -05:00
Benoit Jacob ccaa35314d 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 a1e7c32630 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
Benoit Jacob 4374a80063 Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert 2014-01-10 13:55:24 -05:00
Benoit Jacob f2062e25d7 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob e89c4521fc Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob f02a9b87ea Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob b05e26dc69 Bug 958369 - 1/5 - Make GLFeature a typed enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob bba51d87ca Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert 2014-01-10 13:55:23 -05:00
Morris Tseng f5d29ea6c7 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-10 08:06:06 -05:00
Andreas Pehrson 0955c3684b Bug 877115 - Remove GetTexImage from GLContext helper. r=nical 2014-01-08 09:37:58 +01:00
Markus Stange 160a80b3d7 Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc 2014-01-08 13:00:04 +01:00
Markus Stange 4379a54037 Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android. 2014-01-08 11:36:13 +01:00
Markus Stange 95f05c9276 Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc 2014-01-08 10:31:07 +01:00
Benoit Jacob 7bf05f5074 Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv 2014-01-07 15:02:19 -05:00
Benoit Jacob 6d0a696864 Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert 2014-01-07 15:02:19 -05:00
Benoit Jacob 89a33dce75 Bug 956401 - 4/9 - Add ScopedGLState ctor without value parameter, leaving state unchanged - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 72a2bbe248 Bug 956401 - 2/9 - Add ScopedScissorRect helper - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 36c0991352 Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv 2014-01-07 15:02:18 -05:00
Benoit Jacob 4d8fcc24c1 Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob bb2984e1eb Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob 3b48c14b33 Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob ba93ad0ec2 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob df17e73e7c Bug 950903 - 5/8 - Add static Cast methods to allow getting the backend-specific object from a GLContext - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 98ca33fe7f Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 46c30d835d Bug 950903 - 3/8 - Expose GLContextCGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 10f7effe52 Bug 950903 - 2/8 - Expose GLContextGLX publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob dc6702ddaf Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Ryan VanderMeulen 50da738663 Backed out changeset 403ab3213879 (bug 893304) for bustage. 2014-01-07 10:07:32 -05:00
Morris Tseng a62da0d2f4 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-07 09:58:03 -05:00
Nicholas Nethercote 91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob 1c4c105204 Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert 2014-01-02 10:17:29 -05:00
Benoit Jacob 277b7c507a Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert 2014-01-02 10:17:28 -05:00
Benoit Jacob 62c75299c9 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob 07db30e0d3 Bug 945586 - Fix a few things in GLReadTexImageHelper - r=jgilbert 2014-01-02 10:17:24 -05:00
Benoit Jacob 3526b0f910 Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert 2014-01-02 10:17:22 -05:00
Benoit Jacob 4d5ddfd5df Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert 2014-01-02 10:17:20 -05:00
Benoit Jacob bd21578d7f Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson 5cfa83a3e4 Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson 8884428616 Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson ffaa83ae75 Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson bbf9fe777c Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson 2439a8eef5 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson aef8f7cc05 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Ms2ger fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Isura Edirisinghe ffae418d41 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Vladimir Vukicevic 56b333d0d2 b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic 88d100acfb b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic bff1f38394 b=929511; fix WGL context sharing; r=bjacob 2013-12-18 13:09:10 -05:00
Wes Kocher df8b1437b6 Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson 2d0ad0d42d Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson 96f82c49cb Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson 4372b58d1c Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson 2fdd39a52c Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson 99e812a782 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson a5a5fddae5 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Benoit Jacob fad917b723 Bug 948406 - Append some zeros to EGL attrib lists to work around a bug in Android/B2G emulator - r=vladv 2013-12-13 15:15:07 -05:00
Tor Arvid Lund feefccfd0c Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Dan Glastonbury 01884a573b Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury eb13a35408 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 506b3d56e6 Bug 942502 - Remove dead GLContext code - r=bjacob 2013-12-06 14:19:15 +10:00
Martin Stransky 8832b57f9d Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Birunthan Mohanathas 3440613a39 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
Birunthan Mohanathas 68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
David Keeler 6420b4588d bug 946791 - remove unused GLContextGLX::mLibType (leaving GLXLibrary::mLibType alone) r=bjacob 2013-12-06 11:59:26 -08:00
Dan Glastonbury aef4e1d147 Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob 2013-12-06 10:36:13 -05:00
Dan Glastonbury 1a74976806 Bug 942507 - GLContext doesn't need to have userdata. r=bjacob 2013-12-06 10:23:16 -05:00
Mike Hommey 47bcdc4d05 Bug 946579 - Fix non-unified build in gfx/gl after bug 942505. r=bjacob 2013-12-06 08:45:29 +09:00
Kyle Huey a4bc193dab Bug 910878 - Remove gl.blit-draw-not-copy preference. r=gal 2013-12-05 09:37:37 -05:00
Ryan VanderMeulen 8648eb6908 Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage. 2013-12-04 20:42:55 -05:00
Dan Glastonbury 6377363d81 Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob 2013-12-04 15:41:22 +10:00
Benoit Jacob 6ffd3ab0a6 Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob 6896c52e8a 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 30d72ed7e8 Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob b56cec3f0a Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob 884f878ce5 Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob 988099a6e9 Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob 6e3c0e9b4b Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob 4513257f15 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob 04c02eb28e Bug 944703 - Part 1: make SurfaceCaps hold a strong reference to its ISurfaceAllocator - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob 41b5c423b1 Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Dan Glastonbury a7f3af433e Bug 921215 - Handle being passed NULL ptr for either surface or gl to SharedSurface_IOSurface::Create by returning NULL. r=mattwoodrow 2013-12-03 13:11:27 +10:00
Nicolas Silva 3b387245d0 Bug 929506 - fix context bug in BasicTextureImage. r=bjacob 2013-12-03 11:44:49 +01:00
Nicolas Silva da4c52ba6c Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob 2013-12-03 11:44:37 +01:00
Dan Glastonbury 7f73b68e55 Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
Dan Glastonbury a940e05e20 Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad 2013-11-29 14:16:40 +10:00
Mike Hommey 8f35911c9c Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob 2013-12-01 07:20:57 +09:00
Benoit Jacob d28efc79a6 Bug 942492 - Add a missing #include to a header that really needs it - no review, trivial compilation fix 2013-11-29 11:31:46 -05:00
Ms2ger 9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger 4c502efb62 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Dan Glastonbury 47033c5692 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Benoit Jacob 1095b2aa48 Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob cbc3e900a8 Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob 3b791ff17d Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa 2013-11-28 15:57:19 -05:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson 301516aa6b Bug 943293 - Add ReadBackSurface helper in GLContextUtils 2013-11-27 15:04:33 +01:00
Nicholas Nethercote 39004db706 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey 682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00