summaryrefslogtreecommitdiffstats
path: root/ui/gl
Commit message (Collapse)AuthorAgeFilesLines
* During virtual context switches only restore texture unitskaanb@chromium.org2014-01-162-8/+8
| | | | | | | | | | | | | | that have changed from the previous context. The most CPU consuming operations on the GPU thread for Android are virtual context switches. We attempt to reduce the CPU usage by context switches with this patch. BUG=244701 Review URL: https://codereview.chromium.org/118203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245109 0039d316-1c4b-4281-b951-d872f2087c98
* GPU: Add trace for real SwapBuffers.epenner@chromium.org2014-01-165-0/+22
| | | | | | | | | | | | There is too many abstractions in our surface classes to determine 'real' SwapBuffers calls in traces. This adds traces in all the relevant places where we do 'real' swaps. BUG=334063 Review URL: https://codereview.chromium.org/137823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245107 0039d316-1c4b-4281-b951-d872f2087c98
* Add initialization of debug GL bindings on Androidoetuaho@nvidia.com2014-01-151-0/+2
| | | | | | | | | | | | | Initialization calls were missing, which caused the command line switch --enable-gpu-service-logging to not show detailed information on GL calls with their parameters on Android. BUG=333261 TEST=Ran WebGL conformance tests with the switch enabled. Review URL: https://codereview.chromium.org/133933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244871 0039d316-1c4b-4281-b951-d872f2087c98
* Allow tests to stub out GL draw calls.danakj@chromium.org2014-01-129-9/+77
| | | | | | | | | | | | | | | | | | | This allows us to use real GL bindings but without drawing when we don't care about pixel output, allowing for faster execution. In particular this will allow us to use OSMesa instead of a completely fake GL implementation in the compositor for browser tests. We add a new kDisableGLDrawingForTests command line flag that can be set to prevent the GL draw calls from doing any work. We will be able to set this flag in the browser test environment for any tests that don't require real pixel output. R=piman, sievers BUG=270918 Review URL: https://codereview.chromium.org/132473009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244405 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ifndef name and filename mismatches in ui/gl/oetuaho@nvidia.com2014-01-116-18/+18
| | | | | | | | | | | Some of the ifndef's were missing GL_. BUG=none TEST=none Review URL: https://codereview.chromium.org/107543005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244304 0039d316-1c4b-4281-b951-d872f2087c98
* [Ozone] Rename GetVSyncProvider to CreateVSyncProviderdnicoara@chromium.org2014-01-083-11/+11
| | | | | | | | | | | | Ozone is actually creating the VSyncProvider. The caller will also take ownership of the VSyncProvider. Updating the method definition to better reflect the intent. BUG= Review URL: https://codereview.chromium.org/102563005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243688 0039d316-1c4b-4281-b951-d872f2087c98
* SyncControlVSyncProvider: throttle messages when MSC=0djkurtz@chromium.org2014-01-082-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most X DRI2 drivers return TRUE for GetSyncValues with a MSC value of 0 if they cannot deduce on which CRTC the Drawable is being displayed, or that CRTC is currently disabled. This can happen if the associated CRTC is powered off, or if its framebuffer is being rotated, etc. Once the driver is in this situation, all MSC == 0 values will be returned until the CRTC can be found again. Currently, we spam the log every time we receive msc==0, which fills up the disk, makes the GPU log unusable, and causes lots of confusion when devs are trying to debug other issues. Instead, let's just log exactly once every time this situation is detected. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> BUG=231945 TEST=Manual on chromeos: # Enable some slowly updating page on each monitor, for example: http://www.24webclock.com/ tail -F /var/log/chrome/chrome | grep glXGetSyncValuesOML & set_short_timeouts # Let the displays turn off (~35 seconds) => This message should be printed exactly once per attached display: glXGetSyncValuesOML should not return TRUE with a media stream counter of 0. # Turn displays back on (tap a key), and let them idle off again. => The same message should be printed exactly once per attached display. R=marcheu@chromium.org R=piman@chromium.org R=backer@chromium.org Review URL: https://codereview.chromium.org/126823006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243548 0039d316-1c4b-4281-b951-d872f2087c98
* Move geometric types to a separate, more lightweight target.ben@chromium.org2013-12-181-0/+1
| | | | | | | | | R=sky@chromium.org http://crbug.com/327489 Review URL: https://codereview.chromium.org/109433013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241649 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add IOSurface backed GpuMemoryBuffer implementation.reveman@chromium.org2013-12-056-0/+217
| | | | | | | | | | | | This adds a GpuMemoryBuffer implementation on MacOSX that is backed by IOSurfaces. These GpuMemmoryBuffers provide zero-copy texture updates when using impl-side painting on MacOSX. BUG=321785,323338 Review URL: https://codereview.chromium.org/77023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238841 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Explicitly prevent GL_TEXTURE_RECTANGLE_ARB from being used GLImageEGL.reveman@chromium.org2013-11-231-0/+5
| | | | | | | | | | This target is not supported according to OES_EGL_image spec. BUG= Review URL: https://codereview.chromium.org/83783006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236980 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 236475 "Disable partial swap on Windows."jbauman@chromium.org2013-11-231-5/+0
| | | | | | | | | | | | | | | | > Disable partial swap on Windows. > > Partial swap may be causing some performance problems, so disable it. > > BUG=313104 > > Review URL: https://codereview.chromium.org/79643002 TBR=jbauman@chromium.org Review URL: https://codereview.chromium.org/82523008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236881 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Allow TEXTURE_RECTANGLE_ARB and other targets to be used with ↵reveman@chromium.org2013-11-2210-29/+41
| | | | | | | | | | | | CHROMIUM_texture_from_image. This makes it up to the GLImage implementation to decide if target is supported or not instead of enforcing a restriction at the decoder level. BUG=321795 Review URL: https://codereview.chromium.org/81103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236719 0039d316-1c4b-4281-b951-d872f2087c98
* Disable partial swap on Windows.jbauman@chromium.org2013-11-211-0/+5
| | | | | | | | | | Partial swap may be causing some performance problems, so disable it. BUG=313104 Review URL: https://codereview.chromium.org/79643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236475 0039d316-1c4b-4281-b951-d872f2087c98
* Add GL_BGRA8_EXT to supported GpuMemoryBuffer formats.reveman@chromium.org2013-11-211-22/+62
| | | | | | | | BUG=321789 Review URL: https://codereview.chromium.org/76913008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236420 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Support ES3 msaa and depth/stencil formatssievers@chromium.org2013-11-151-0/+9
| | | | | | | | | BUG=314214 R=kbr@chromium.org, piman@chromium.org, skyostil@chromium.org, zmo@chromium.org Review URL: https://codereview.chromium.org/72173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235435 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Android changes.tfarina@chromium.org2013-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | A series of changes related to android code organization under ui, that came after the discussion in https://codereview.chromium.org/62203014/. - Rename ui_jni_registrar.* to ui_base_jni_registrar.* - Create a base/ directory under ui/android/java/src/org/chromium/ui, and move some java files there. - Move Surface java files into ui/android/java/src/org/chromium/ui/gl/ directory. - Rename ui_jni_headers to ui_base_jni_headers. - Create a new ui_android.gyp file under ui/android to contain ui_java target. BUG=299841 R=tedchoc@chromium.org, yfriedman@chromium.org TBR=ben Review URL: https://codereview.chromium.org/70843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235369 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the VSyncProvider interface to ui/gfx from ui/gldnicoara@chromium.org2013-11-147-65/+30
| | | | | | | | | | | | | Custom implementations of the VSyncProvider (such as the Ozone provider) need to inherit from VSyncProvider. However, these implementations leave outside of ui/gl and would break deps. Moving the interface to ui/gfx would allow such implementations to inherit the VSyncProvider interface. BUG= Review URL: https://codereview.chromium.org/68893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235172 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add workaround to unbind gpu memory buffer only on NVIDIAboliu@chromium.org2013-11-134-1/+21
| | | | | | | | | | | | | | | | | | | | | | For gralloc backed gpu memory buffer on Android, it is undefined whether locking for read/write while the buffer is bound to a texture is allowed. On nvidia devices (eg 2012 nexus 7), lock without unbind will lead to deadlocks in the driver (crbug.com/264096). However on other nexus gpu vendors (img, arm, qualcomm), unbind is very expensive since it flushes the gpu pipeline. And vendors have advised that lock while bound is allowed and is the right solution to this slowness, as long as the texture is eventually recycled or deleted. Add a workaround for nvidia to only unbind in GLImage::DidUseTexImage. BUG= Review URL: https://codereview.chromium.org/66033009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234740 0039d316-1c4b-4281-b951-d872f2087c98
* Android: moves ui/ to use long for JNI.bulach@chromium.org2013-11-112-1/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/61733010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234312 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Remove redundant Destroy() call when context creation fails.kaanb@chromium.org2013-11-081-1/+0
| | | | | | | | | | GLContextEGL::Destroy() is a no-op if context_ is NULL, so we shouldn't call it when context creation fails and context_ ends up being NULL in GLContextEGL::Initialize() BUG= Review URL: https://codereview.chromium.org/65963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233883 0039d316-1c4b-4281-b951-d872f2087c98
* Add a basic NativeViewportMac for Mojoabarth@chromium.org2013-11-066-27/+12
| | | | | | | | | | | | This CL adds a basic implementation of NativeViewport for Mac OS X. It puts a window on screen and initializes GL for that window using an in-process command buffer. R=ben@chromium.org, ccameron@chromium.org, kbr@chromium.org Review URL: https://codereview.chromium.org/56833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233227 0039d316-1c4b-4281-b951-d872f2087c98
* Merge gpu_switching_list into gpu_driver_bug_list.zmo@chromium.org2013-11-051-2/+0
| | | | | | | | | | BUG=314901 TEST=gpu_unittests R=bajones@chromium.org, kbr@chromium.org, piman@chromium.org, sievers@chromium.org Review URL: https://codereview.chromium.org/57633007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233143 0039d316-1c4b-4281-b951-d872f2087c98
* Remove apatrick@ from OWNERSpiman@chromium.org2013-11-041-1/+0
| | | | | | | | | BUG=None R=kbr@chromium.org Review URL: https://codereview.chromium.org/58663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232833 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Khr_surfaceless_context.kalyan.kondapally@intel.com2013-11-022-2/+99
| | | | | | | | | | | | | | | | http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_surfaceless_context.txt This patch adds support in GLSurfaceEGL to be able to use surfaceless context when supported by the drivers. This avoids the creation of a dummy offscreen surface. This would also enable support for offscreen rendering on platforms (i.e Ozone-Wayland) which donot support pbuffer surfaces. BUG= Review URL: https://codereview.chromium.org/49533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232615 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary dependencies on "ui" target from some other targets.tfarina@chromium.org2013-11-011-1/+15
| | | | | | | | | | BUG=302505 TEST=None, targets built. R=dalecurtis@chromium.org,thestig@chromium.org,ben@chromium.org Review URL: https://codereview.chromium.org/48213004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232399 0039d316-1c4b-4281-b951-d872f2087c98
* Implement OzonePlatformspang@chromium.org2013-10-313-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | This provides a way to select an ozone implementation to use at build time. It replaces the previous ad-hoc requirement to inject implementations of ozone interfaces somewhere during initialization, such as by overriding ContentMainDelegate::PreSandboxStartup(). That requirement made it difficult for external ozone implementations to build internal targets such as content_shell because those targets do not initialize the external ozone implementation without additional patching. Enabling external ports of chromium is one of the main goals of ozone. The OzonePlatform code is located at ui/ozone and depends on code in ui/gfx and ui/events because it must inject implementations into those components. The ozone platform is initialized from ui/aura or ui/gl, as those components need the interfaces provided by ozone in order to function. There are two in-tree platforms currently: test (image dump) and dri (libdrm-based direct rendering). The platform is selected by the setting ozone_platform gyp variable and defaults to "test". Review URL: https://codereview.chromium.org/44933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232170 0039d316-1c4b-4281-b951-d872f2087c98
* Add callbacks to register EGL bindings from Ozonednicoara@chromium.org2013-10-301-1/+4
| | | | | | | | | | | | | | | | Ozone needs to provide a custom way to load EGL and GLES2 bindings. Since Ozone lives in ui/gfx/ozone it cannot have dependencies to ui/gl to register the libraries. This patch adds to callbacks to Ozone's LoadEGLGLES2Bindings function such that when performing GL bindings initialization ui/gl will provide the callbacks to register the bindings. BUG= Review URL: https://codereview.chromium.org/47213009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231893 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Use HighResNow as timebase if it is fast and reliablebrianderson@chromium.org2013-10-251-2/+11
| | | | | | | | | | | | | | | | | | | If base::TimeTicks::HighResNow is fast and reliable, we use it for frame times, animations, and scheduling. Otherwise, we use base::TimeTicks::Now and use a timebase of zero to avoid an incorrect or jittery timebase. This adds a gfx::FrameTime::Now() function, so the same timebase is used across the ui and cc directories. Additionally, the OutputSurface now uses a HighRes version of the DelayBasedTimesource if gfx::FrameTime::Now() is HighRes. BUG=303356 Review URL: https://codereview.chromium.org/27710005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231089 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: gpu: Add Will/DidUseTexImage to GLImage API.reveman@chromium.org2013-10-2210-27/+90
| | | | | | | | | | | | | | | | | WillUseTexImage/DidUseTexImage is called before/after the image is used for sampling. The result is that the client only has to call bind/releaseTexImage2D when contents have changed, which allows for more efficient GLImage implementations as work required before use can be separated from work required when contents have changed. BUG=261649 TEST=gpu_unittests --gtest_filter=SharedTextureTest.Images && gpu_unittests --gtest_filter=GLES2DecoderWithShaderTest.UseTexImage && cc_unittests --gtest_filter=ResourceProviderTests/ResourceProviderTest.Image_GLTexture* && gl_tests --gtest_filter=MockGpuMemoryBufferTest.Lifecycle Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229532 Review URL: https://codereview.chromium.org/23129010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230093 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 229532 "gpu: Add Will/DidUseTexImage to GLImage API."reveman@chromium.org2013-10-2110-90/+27
| | | | | | | | | | | | | | | | | | | | | | | This is causing webgl_conformance_tests to fail. > gpu: Add Will/DidUseTexImage to GLImage API. > > WillUseTexImage/DidUseTexImage is called before/after the image is > used for sampling. The result is that the client only has to call > bind/releaseTexImage2D when contents have changed, which allows > for more efficient GLImage implementations as work required before > use can be separated from work required when contents have changed. > > BUG=261649 > TEST=gpu_unittests --gtest_filter=SharedTextureTest.Images && gpu_unittests --gtest_filter=GLES2DecoderWithShaderTest.UseTexImage && cc_unittests --gtest_filter=ResourceProviderTests/ResourceProviderTest.Image_GLTexture* && gl_tests --gtest_filter=MockGpuMemoryBufferTest.Lifecycle > > Review URL: https://codereview.chromium.org/23129010 TBR=reveman@chromium.org Review URL: https://codereview.chromium.org/32603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229799 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add Will/DidUseTexImage to GLImage API.reveman@chromium.org2013-10-1910-27/+90
| | | | | | | | | | | | | | | WillUseTexImage/DidUseTexImage is called before/after the image is used for sampling. The result is that the client only has to call bind/releaseTexImage2D when contents have changed, which allows for more efficient GLImage implementations as work required before use can be separated from work required when contents have changed. BUG=261649 TEST=gpu_unittests --gtest_filter=SharedTextureTest.Images && gpu_unittests --gtest_filter=GLES2DecoderWithShaderTest.UseTexImage && cc_unittests --gtest_filter=ResourceProviderTests/ResourceProviderTest.Image_GLTexture* && gl_tests --gtest_filter=MockGpuMemoryBufferTest.Lifecycle Review URL: https://codereview.chromium.org/23129010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229532 0039d316-1c4b-4281-b951-d872f2087c98
* Add renderbuffer BGRA8 format extension and support in cmd buffer for ↵bsalomon@google.com2013-10-181-3/+28
| | | | | | | | | | desktop GL. This enables development of a canvas2d msaa flag on desktop systems that use BGRA for canvas2d. BUG=308277 Review URL: https://codereview.chromium.org/27542003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229359 0039d316-1c4b-4281-b951-d872f2087c98
* Support GL_TEXTURE_EXTERNAL_OES in ScopedTextureBinder.sheu@chromium.org2013-10-081-0/+3
| | | | | | | | | | | | | This CL adds support to ScopedTextureBinder to bind/restore GL_TEXTURE_EXTERNAL_OES targets, which also necessitates adding getter support for GL_TEXTURE_BINDING_EXTERNAL_OES to GLES2Implementation. BUG=None TEST=local build, run of vda_unittest on CrOS snow Review URL: https://codereview.chromium.org/26061002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227420 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for over-riding config attribute values.kalyan.kondapally@intel.com2013-10-041-2/+9
| | | | | | | | | | | | | GLSurfaceEGL chooses a EGL frame buffer configuration that match attributes specified in attrib list. This CL adds support for Ozone implementations to provide values for these attributes as supported by the underlying window system. BUG= Review URL: https://codereview.chromium.org/23850008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226925 0039d316-1c4b-4281-b951-d872f2087c98
* Use DwmGetCompositionTimingInfo to get vsync info on Vista+jbauman@chromium.org2013-10-013-3/+43
| | | | | | | | | | DwmGetCompositionTimingInfo works to find out vsync info on Vista+. Luckily using a NULL HWND (required on Win 8.1+) avoids the issue where the window starts flickering. BUG=291390 Review URL: https://codereview.chromium.org/25102004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226152 0039d316-1c4b-4281-b951-d872f2087c98
* The original bug happens because when libGL.so.1 is loaded, it registerschihchung@chromium.org2013-09-301-4/+3
| | | | | | | | | | | | | | | | | some function pointers to the X library, but there is no way to unregister them when it is unloaded. So if we keep using X after libGL.so.1 is unloaded, the stale function pointers will be called and bad things happen. The unloading happens after the first test is finished, so the second test always crashes. The fix is just don't unload these libraries. BUG=chromium:250813 TEST=run video_decode_accelerator_unittest on parrot and spring Review URL: https://codereview.chromium.org/23456029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225931 0039d316-1c4b-4281-b951-d872f2087c98
* gfx: Create a separate gfx component out of ui.sadrul@chromium.org2013-09-301-0/+1
| | | | | | | | | | | Landed previously in r225857, which was reverted in r225859 because it broke android tests. BUG=103304 R=ben@chromium.org Review URL: https://codereview.chromium.org/25015003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225909 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 225857 "gfx: Create a separate gfx component out of ui."ckocagil@chromium.org2013-09-281-1/+0
| | | | | | | | | | | | | | | > gfx: Create a separate gfx component out of ui. > > BUG=103304 > R=ben@chromium.org > > Review URL: https://codereview.chromium.org/25015003 TBR=sadrul@chromium.org Review URL: https://codereview.chromium.org/25161002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225859 0039d316-1c4b-4281-b951-d872f2087c98
* gfx: Create a separate gfx component out of ui.sadrul@chromium.org2013-09-281-0/+1
| | | | | | | | | BUG=103304 R=ben@chromium.org Review URL: https://codereview.chromium.org/25015003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225857 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up a few more unused globals.thakis@chromium.org2013-09-251-4/+2
| | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, avi@chromium.org, isherman@chromium.org, jamesr@chromium.org, joi@chromium.org, sergeyu@chromium.org, sky@chromium.org, thestig@chromium.org, xhwang@chromium.org Review URL: https://codereview.chromium.org/24649002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225273 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten DEPS rules further.ben@chromium.org2013-09-242-0/+4
| | | | | | | | | BUG=none R=sky@chromium.org Review URL: https://codereview.chromium.org/24429002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225089 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up DEPS rules in src/ui: prevent components from including from each ↵ben@chromium.org2013-09-241-0/+1
| | | | | | | | | | | | | | | other, and drop a bunch of DEPS files in to make checkdeps happy. See https://codereview.chromium.org/24162009/ for try runs. BUG=none R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225020 Review URL: https://codereview.chromium.org/24273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225055 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from x11_util to gfx/x/x11_types.h so they can be used by ui/gl.ben@chromium.org2013-09-246-29/+29
| | | | | | | | | BUG=none R=sadrul@chromium.org Review URL: https://codereview.chromium.org/24395008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225053 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 225020 "Tighten up DEPS rules in src/ui: prevent componen..."ben@chromium.org2013-09-241-3/+0
| | | | | | | | | | | | | | | > Tighten up DEPS rules in src/ui: prevent components from including from each other, and drop a bunch of DEPS files in to make checkdeps happy. > > BUG=none > R=sky@chromium.org > > Review URL: https://codereview.chromium.org/24273005 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/24257013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225032 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up DEPS rules in src/ui: prevent components from including from each ↵ben@chromium.org2013-09-241-0/+3
| | | | | | | | | | | other, and drop a bunch of DEPS files in to make checkdeps happy. BUG=none R=sky@chromium.org Review URL: https://codereview.chromium.org/24273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225020 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable child X window workaround.ccameron@chromium.org2013-09-241-4/+0
| | | | | | | | | | | | | | | Compositing has been made sticky for a RenderWidget in the work for http://crbug.com/295072 Now that compositing is sticky, the issue that caused this to be turned off, http://crbug.com/292655, should be fixed. TBR=piman, kbr BUG=145600 Review URL: https://chromiumcodereview.appspot.com/24224008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224927 0039d316-1c4b-4281-b951-d872f2087c98
* Move SurfaceFactoryOzone to ui/gfx/ozoneben@chromium.org2013-09-232-8/+8
| | | | | | | | | BUG=none R=rjkroege@chromium.org, rjkroege@google.com Review URL: https://codereview.chromium.org/24049004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224782 0039d316-1c4b-4281-b951-d872f2087c98
* ui: [Android] Hard code the GPU limit to 8MB for low-end deviceskaanb@chromium.org2013-09-201-1/+4
| | | | | | | | | | | | Landing with notry, the failure on win_rel cannot be related to this patch as this patch only affects Android. NOTRY=true BUG= Review URL: https://chromiumcodereview.appspot.com/23931007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224523 0039d316-1c4b-4281-b951-d872f2087c98
* ui: [Android] use physical memory / 64 for GPU memory limit for low end deviceskaanb@chromium.org2013-09-191-2/+2
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23687009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224049 0039d316-1c4b-4281-b951-d872f2087c98
* Add an enable D3D11 flag and blacklist specific intel drivers and windows ↵geofflang@chromium.org2013-09-173-1/+7
| | | | | | | | | | vista from using D3D11. BUG=256863 Review URL: https://chromiumcodereview.appspot.com/24120004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223716 0039d316-1c4b-4281-b951-d872f2087c98