Dan Glastonbury
0380da9a54
Bug 982475 - Prevent SwapRAndBComponents derefencing NULL pointer. r=jgilbert
2014-03-11 11:01:00 +10:00
Andreas Gal
9540c1f604
Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob
2014-03-30 17:37:00 +02:00
Masatoshi Kimura
d3addb73e9
Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert
2014-03-26 22:41:57 +09:00
Carsten "Tomcat" Book
71eecb871e
Backed out changeset 91a4c3026e8a (bug 986811) for bustage
2014-03-26 12:27:52 +01:00
Masatoshi Kimura
782e9ea745
Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert
2014-03-26 20:14:45 +09:00
Jukka Jylanki
383cfa2fde
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
90550c6321
Bug 985685 - DrawRangeElements should call Before/AfterGLDrawCall(). - r=kamidphish
2014-03-20 21:20:02 -07:00
George Wright
5b7910f119
[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
7d68568f31
[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
e90cccae80
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Jeff Gilbert
0509bb3f52
Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish
2014-03-17 10:52:56 -04:00
Jeff Gilbert
ed70412b90
Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish
2014-03-17 10:50:15 -04:00
Jeff Muizelaar
d821ceab3d
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
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Wes Kocher
61b41879b0
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
47e6fd8dc7
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
178f47f91d
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
39d993582d
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
3c7d18baac
Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp
2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f4b994f55
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Jeff Gilbert
3815fcbd13
Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish
2014-03-10 15:42:58 -07:00
Ehsan Akhgari
8cf9386f77
Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob
2014-03-09 14:40:49 -04:00
Jeff Gilbert
2f644d1429
Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish
2014-03-07 13:26:17 -08:00
Jonathan Watt
f5b9b89e8c
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
56acb553f2
Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert
2014-03-06 14:50:42 -06:00
Jeff Gilbert
adaacb6dad
Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish
2014-03-05 17:35:40 -08:00
James Willcox
1fb2df1aed
Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert
2014-03-05 15:49:55 -06:00
James Willcox
39bceadc21
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
9953e94be2
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-03-05 15:48:58 -06:00
Andreas Gal
5ce95a9e25
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
1b7800558e
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
455a10d14e
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
e490d9e4e0
Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob
2014-03-03 18:47:43 -08:00
Milan Sreckovic
8abbaf6943
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
5ee8d26b21
No bug: dos2unix GLTextureImage.cpp. r=me
...
DONTBUILD
2014-02-28 17:32:07 -08:00
Milan Sreckovic
0b746a394e
Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright
2014-02-28 12:59:38 -05:00
Phil Ringnalda
e2d9d3bd7e
Back out d0b4c5c28fb0 (bug 956993) for Android test failures
...
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox
6a8862bec2
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-02-27 20:48:38 -06:00
Milan Sreckovic
03e58f0c76
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
937c007de1
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
dae6a7337b
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
cb708a45b9
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
dd8bbb70eb
Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob
2014-02-20 18:08:50 -08:00
Wes Kocher
a774349143
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
df0c006a7c
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
365afc3765
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
87af70d830
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
04c3513b8a
Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert
2014-02-20 08:05:34 -05:00
George Wright
8c401a23b7
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
2b32dd27bb
Back out changesets from bug 910754 due to build bustage
2014-02-18 17:54:04 -05:00
George Wright
612ed9a7d5
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
bb75ebbe6a
Merge inbound to m-c.
2014-02-18 15:18:19 -05:00
Sotaro Ikeda
b23f7d7072
Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical
2014-02-18 06:46:13 -08:00
Jeff Muizelaar
93bba86964
Bug 973257. GL: Fix broken printf string. r=vlad
...
--HG--
extra : rebase_source : 4e2381555b7b1a49cb05cb438f63b4fe8f2fe0ed
2014-02-15 23:44:05 -05:00
Ehsan Akhgari
dc28f1ce88
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
60e2d46f24
Bug 939276 - build bustage
2014-02-14 16:12:10 -06:00
James Willcox
7b82ee95c1
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
2672903901
Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical
2014-02-13 17:28:48 +01:00
Andreas Pehrson
aa54c7c34f
Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical
2014-02-13 19:00:01 +01:00
Andreas Pehrson
920f9c11d5
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
43e9ea8f99
Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical
2014-02-13 17:25:55 +01:00
Andreas Pehrson
7969de45f2
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Andreas Pehrson
78c073378b
Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical
2014-02-13 17:22:31 +01:00
Andreas Pehrson
562b3efc09
Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical
2014-02-13 17:20:43 +01:00
Andreas Pehrson
7391b4eaeb
Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical
2014-02-14 12:40:26 +01:00
Ryan VanderMeulen
87113f5765
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
84c5043847
Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical
2014-02-13 17:28:48 +01:00
Andreas Pehrson
84b470ecac
Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical
2014-02-13 19:00:01 +01:00
Andreas Pehrson
1eada6baf8
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
0b08d9c134
Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical
2014-02-13 17:25:55 +01:00
Andreas Pehrson
919b8e3183
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Andreas Pehrson
a2c1104c14
Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical
2014-02-13 17:22:31 +01:00
Andreas Pehrson
ecb87ff2ce
Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical
2014-02-13 17:20:43 +01:00
Andreas Pehrson
b220f378d6
Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical
2014-02-14 12:40:26 +01:00
Morris Tseng
3680515b7f
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
f68d00bf9a
Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob
2014-02-13 15:38:53 -08:00
Jeff Gilbert
c296158df3
Bug 969632 - More const cleanup in gfx/gl. - r=bjacob
2014-02-13 15:02:03 -08:00
Jeff Gilbert
fb236555b8
Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish
2014-02-13 15:00:12 -08:00
Jeff Gilbert
f300bc1aab
Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish
2014-02-13 09:53:53 -05:00
Benoit Girard
5630e118c1
Bug 971154 - Implement APPLE_texture_range. r=jrmuizel
2013-12-12 13:27:10 -05:00
Tor Arvid Lund
edf342c191
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
119f9a779d
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
63c5bd405a
Merge m-i to m-c.
2014-02-09 10:31:55 +01:00
Ms2ger
b995cb3325
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Jeff Gilbert
0cac4f7278
Bug 969632 - Make GLContext::fDeleteFoo funcs const-correct. r=bjacob
2014-02-08 21:06:08 -05:00
Ryan VanderMeulen
7712bd0f3e
Backed out changeset 8d885b139d7d (bug 912280) for bustage.
2014-02-07 10:38:27 -05:00
Jeff Gilbert
2969da41bc
Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish
2014-02-07 10:21:49 -05:00
Jeff Gilbert
d8934e2182
Bug 968617 - Refresh GLConsts.h as of Feb 5, 2014. r=bjacob
2014-02-06 20:33:20 -05:00
Jeff Gilbert
63e06894e6
Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob
2014-02-06 20:33:05 -05:00
Dan Glastonbury
8d800b3945
Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa
2014-01-31 09:18:15 +10:00
Vladimir Vukicevic
63cb3e650f
b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert
2014-01-23 16:47:37 -05:00
Vladimir Vukicevic
ed20989167
b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert
2014-01-23 12:47:56 -05:00
Dan Glastonbury
b38b5e6a76
Bug 953221 - GLenum to C string helper. r=bjacob
2014-01-22 19:21:19 +10:00
Milan Sreckovic
aa5444a711
Bug 946860 - Move the preference evaluation to main thread. r=gwright
2014-01-24 17:19:34 -05:00
David Zbarsky
482b98b33e
Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:02 -08:00
Benoit Jacob
28ff3ad25f
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
638dd1b5c9
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
981c6431d3
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
eba6f758d9
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
10785e1800
Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:23 +01:00