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

52 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey 4961f4a9b0 Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob 82c454029a Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Matt Woodrow cdc34a6479 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Matt Woodrow 69da9e5f97 Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN 2011-01-18 08:21:12 +01:00
Matt Woodrow 346ad3bd3d Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Jeff Muizelaar 0bb169be91 Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Markus Stange 9c24a2c7b0 Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+ 2011-01-07 15:32:42 -05:00
Vladimir Vukicevic 4714cf38c2 b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Jeff Muizelaar 210bd901fc Bug 623228. Avoid calling glDeleteFramebuffers(1, &0). r=vlad
The Droid phones have a bug where calling glDeleteFramebuffers(1, &0) hangs
instead of being ignored.

--HG--
extra : rebase_source : dcfc98792404c5526845c587a378fb200e4faa95
2011-01-05 23:54:29 -05:00
Jeff Muizelaar 300c7811ab Bug 623228. Unify debug/release build gl wrappers. r=vlad
This will allow us to work around the Droid hangs
in a single place.

--HG--
extra : rebase_source : f7d51f5584d04a53cd192a46d1d265a74f4ac481
2011-01-05 23:54:27 -05:00
Matt Woodrow 58df2272af Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow cec660300e Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0 2010-12-16 23:49:42 -08:00
Matt Woodrow d4d7a6cb22 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow 5a88325c98 Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow afce20bb05 Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Jeff Muizelaar a7aeefa060 Bug 614832. Refactor EGL surface creation. r=vlad,a=blocking
This factors CreateSurfaceForWindow() out of CreateForWindow() so that we can
reuse it in RenewSurface(). For this to work we also need to factor out
CreateConfig(). The QT implementation is also pulled out because it didn't
share any code.
2010-12-13 14:36:35 -08:00
Vladimir Vukicevic 8e946614d3 b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic 7e74c9ba6a b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Vladimir Vukicevic 13266c4162 b=605063; fix android GL startup; r=jrmuizel 2010-11-12 12:02:11 -08:00
Joe Drew 9b8e840e64 Bug 575521 - Draw to a clipped context backed by the surface uploaded to OpenGL using APPLE_client_storage to avoid slowdowns in glTexSubImage2D. r=jrmuizel a=b 2010-11-11 15:31:23 -05:00
Joe Drew dc6ad712d5 Bug 575521 - Use the APPLE_client_storage extension to reduce the number of copies of data we make when uploading textures. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew ff5e4be04c Bug 575521 - Support the APPLE_client_storage GL extension. r=vlad 2010-11-11 15:31:23 -05:00
L. David Baron 2f1e8c7bdb Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
Oleg Romashin 9c84661038 Bug 608497 - mSize not updated in XXXTextureImage::Resize() function. r=roc a=approval2.0 2010-11-05 21:49:20 +02:00
Julian Seward 405d1d3900 Bug 604395 - OpenGL contexts use uninitialized format, often resulting in failure to create - r+sr=vladimir, a=bjacob:trust me, we want this in beta7.
Note: pushed by bjacob -- so complain to me if you're not happy about that.
2010-10-31 10:32:46 -04:00
Ben Turner 044df9dd3a Bug 602733, r=vlad, a=sicking. 2010-10-15 12:32:51 -07:00
Ehsan Akhgari 6dce7050f0 Bug 603821 - debug non-libxul builds fail in WebGLContext.cpp, with "Undefined reference to `mozilla::gl::GLContext::sCurrentGLContext'" - r=khuey, a=bustage 2010-10-13 07:45:13 -04:00
Benoit Jacob 6bba74403b Bug 597881 - OpenGL debug mode - r=vladimir 2010-10-12 17:01:59 -04:00
Mats Palmgren 1d68d54b40 Bug 603167 - Link layout fails with Undefined symbols mozilla::gl::GLContext::ReadPixelsIntoImageSurface; r=vladimir a=bustage 2010-10-11 14:06:08 -04:00
Mats Palmgren 90827c5312 Fix bustage. a=backout 2010-10-11 00:48:33 +02:00
Mats Palmgren bf5c9ac42a Export GLContext symbols to unbreak --disable-libxul builds. b=603167 r=vlad a=bustage 2010-10-11 00:07:00 +02:00
Daniel Holbert dc4324487f Bug 596784 followup: Remove unused variable 'dummy' in GLContext.h. r=vlad a=NPOTB 2010-10-07 12:19:33 -07:00
Benoit Jacob a05f01b037 Bug 602289 - Add Vendor() function to GLContext - r=joe, a=blocking2.0-b7 2010-10-06 16:43:14 -04:00
Benoit Jacob f60e19b6d5 Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7 2010-09-27 16:20:07 -04:00
Vladimir Vukicevic 792dcc22f0 Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
Joe Drew 03a10edb97 Bug 595055 - Use the correct context when deleting textures, so we don't accidentally unset some state like the viewport. r=vlad a=b 2010-09-09 23:09:39 -04:00
Vladimir Vukicevic b3bdfaf398 b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Oleg Romashin 5d9ae71f83 Bug 578649 - ThebesLayerOGL using wrong shader program on QT GL build. r=vlad,a=blocking-fennec 2010-09-07 17:37:34 -07:00
timeless@mozdev.org ae7c0997d2 Bug 585413 warning: comparison between signed and unsigned integer expressions in GLContext::ExtensionBitset<setlen>. r=vlad a=joe 2010-08-13 21:09:53 -07:00
Mark Banner 4c8bf7a24e Mark GLContext::MarkDestroyed as THEBES_API to resolve link bustage in shared builds. r=Bustage fix. 2010-08-07 08:49:01 +01:00
Vladimir Vukicevic 0fcc469928 b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic 524b4f23fb b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic a40a10ee70 b=574481; fix layers lifetime issues; part 2 - add some utils to GLContext; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic 52e319b273 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Chris Jones 64e536168e Bug 573829, part 2: Add TextureImage API for getting backing ASurface (if exists) and determining whether it's in an update. sr=vlad 2010-07-22 15:29:37 -05:00
Neil Rashbrook c4ae876193 Bug 579931 - libgklayout.so link failure because of undefined GLContext methods; r=vladimir 2010-07-19 18:19:15 -04:00
Vladimir Vukicevic 2f984cc829 b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic 3bb6b284dd b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas 2010-07-18 22:01:14 -07:00
Chris Jones 0082cb6856 Bug 573889, part 2: Add a BasicTextureImage implementation that synchronizes new pixels to its texture with a scratch gfxASurface and glTexSubImage2D(). r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones 26e8ac2f3a Bug 573889, part 1: Add a TextureImage interface to manage synchronizing thebes-drawn content with a GL texture. sr=vlad 2010-07-01 11:30:38 -05:00