summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support
Commit message (Collapse)AuthorAgeFilesLines
* Move in process SignalQuery implementation to service sidejamesr@chromium.org2013-10-091-2/+2
| | | | | | | | R=sievers Review URL: https://codereview.chromium.org/26091002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227693 0039d316-1c4b-4281-b951-d872f2087c98
* Route GenMailboxCHROMIUM through GpuControlpiman@chromium.org2013-10-011-1/+2
| | | | | | | | | | | | This allows the fast path to work in GLES2Implementation rather than needing WGC3DCBI. BUG=181120 R=sievers@chromium.org Review URL: https://codereview.chromium.org/24714002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226145 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
* Make *CommandBufferProxy* implement GpuControlpiman@chromium.org2013-09-272-1/+5
| | | | | | | | | | | | | | | | | GpuControl is where we will pipe out-of-band stuff, that is currently done in each of the WGC3D implementations, but we want to move down into GLES2Implementation. This is essentially just a refactoring, since the current GpuControl only deals with GpuMemoryBuffer that's not available out-of-process, but we can then add things like GenerateMailboxes, Ensure/DiscardBackbuffer or callback stuff on top. BUG=181120 R=dmichael@chromium.org, sievers@chromium.org Review URL: https://codereview.chromium.org/24711002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225627 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: add a dummy file for gles2_conform_test_windowless targetzmo@chromium.org2013-09-111-0/+7
| | | | | | | | | | TEST=gpu bots TBR=thakis@chromium.org BUG= Review URL: https://codereview.chromium.org/23606028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222611 0039d316-1c4b-4281-b951-d872f2087c98
* FeatureInfo: Remove allowed_extensions and init workarounds earlysievers@chromium.org2013-09-051-1/+0
| | | | | | | | | | | This removes passing allowed_extensions all the way through, since it was ignored anyways. It also initializes the workarounds from the commandline during FeatureInfo construction so it can be used to make decisions before the first context is created and initialized. Review URL: https://chromiumcodereview.appspot.com/23660006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221438 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce a memory limit on MappedMemoryManagerkaanb@chromium.org2013-08-211-1/+2
| | | | | | | | BUG=272591 Review URL: https://chromiumcodereview.appspot.com/23130004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218693 0039d316-1c4b-4281-b951-d872f2087c98
* WGC3DCommandBufferImpl: Acquire lock when accessing share group.sievers@chromium.org2013-07-291-2/+0
| | | | | | | | | | | | | | | | | | | | Grab the share group lock when accessing the list and also to assure that ShareGroup creation is not racy. Also do not use an existing ShareGroup is we are not sharing resources. Remove the nowadays unused share_resources flag that was still being passed around. On a related note, remove the non-threadsafe SetGLES2ImplementationForDestruction() which is fortunately unused. (It was used by StrictSharedIdHandler once, but the current handlers don't need to talk to the commandbuffer during destruction.) TBR=brettw@chromium.org NOTRY=True Review URL: https://chromiumcodereview.appspot.com/20826002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214242 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in dbus/, device/, ↵avi@chromium.org2013-07-171-1/+1
| | | | | | | | | | | | extensions/, google_apis/, gpu/, ipc/, jingle/. BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19607005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212157 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stream textures + mailboxespiman@chromium.org2013-07-021-1/+1
| | | | | | | | | | | | | | DestroyStreamTexture was called from DeleteTextures, which is awkward because it doesn't mean the texture is actually deleted. Instead, rationalize StreamTexture ownership, by making it associated with the TextureRef (i.e. client id) that created it. When the TextureRef is destroyed and the stream texture wasn't explicitly destroyed yet, it gets destroyed implicitly at this point. The StreamTextureManager still maps StreamTextures by service id, so that multiple TextureRef in the same ContextGroup (in practice, in the same channel actually) will still allow updates on bind. This also makes explicit the fact that the StreamTextureManager is shared per ContxtGroup, since we rely on that for Update. BUG=254494 Review URL: https://chromiumcodereview.appspot.com/18430002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209605 0039d316-1c4b-4281-b951-d872f2087c98
* Delete usage and support for EGL_ANGLE_software_display extension.apatrick@chromium.org2013-06-171-2/+2
| | | | | | | | | | We aren't using it anymore. It used to be used to switch to SwitchShader but the new version of SwiftShader exposes a EGL / GLES2 interface without ANGLE in between. TBR=kbr@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/17110007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206759 0039d316-1c4b-4281-b951-d872f2087c98
* Make gles2_conform_support compile in Aura.ajwong@chromium.org2013-06-084-63/+123
| | | | | | | | | | Break out the GTK dependent bits from gpu/gles2_conform_support/native/egl_native_x11.cc and provide stub versions for aura. This won't run, but at least it will compile which is an improvement. BUG=247211 Review URL: https://chromiumcodereview.appspot.com/16114016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205034 0039d316-1c4b-4281-b951-d872f2087c98
* Update gpu/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-021-1/+1
| | | | | | | | | | | Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16293004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203623 0039d316-1c4b-4281-b951-d872f2087c98
* Make gles2_conform_support depend on allocator.gyp:allocator when necessaryakalin@chromium.org2013-05-181-0/+6
| | | | | | | | | | This fixes the heapchecker+components release build. BUG=241938 Review URL: https://chromiumcodereview.appspot.com/15378003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200986 0039d316-1c4b-4281-b951-d872f2087c98
* GPU client side changes for GpuMemoryBuffers:kaanb@chromium.org2013-05-161-1/+2
| | | | | | | | | | | - Introduces a new GL extension CHROMIUM_map_image that contains Create/Destroy/Map/Unmap/GetImageParameteriv methods. - A new data structure called GpuMemoryBufferTracker to track these buffers and images on the client side. BUG=175012 Review URL: https://chromiumcodereview.appspot.com/14456004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200505 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize linux vs x11 in uidavemoore@chromium.org2013-04-292-1/+1
| | | | | | | | | | BUG=236170 TEST=None R=ben@chromium.org Review URL: https://codereview.chromium.org/13985039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197087 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Use base::MessageLoop.xhwang@chromium.org2013-04-271-1/+1
| | | | | | | | | BUG=236029 R=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/14273038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196937 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor/Rename a bunch of GPU stuffgman@chromium.org2013-02-271-4/+2
| | | | | | | | | | | | Remove typedef scoped_refptr<Foo> Ref; FooManager::FooInfo -> Foo Create/Get/RemoveFooInfo to Create/Get//RemoveFoo BUG=None Review URL: https://codereview.chromium.org/12326146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185036 0039d316-1c4b-4281-b951-d872f2087c98
* Make all gpu tests build on Win64 jschuh@chromium.org2013-02-161-0/+2
| | | | | | | | | | | | | Just a bunch of c4267 build suppressions. BUG=166496 BUG=167187 TBR=piman@chromium.org R=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/12282017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182979 0039d316-1c4b-4281-b951-d872f2087c98
* Add client side gpu tracinggman@chromium.org2013-02-071-0/+1
| | | | | | | | | | | | Adds a flag --enable-gpu-client-tracing which calls TRACE for every renderer side GL call. BUG=none Review URL: https://chromiumcodereview.appspot.com/12208002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181275 0039d316-1c4b-4281-b951-d872f2087c98
* Disambiguate 'headers' targets in khronos and mesa.bauerb@chromium.org2012-11-281-3/+3
| | | | | | | | | | | | I suspect that the target name collision is causing compile failures on Win (e.g. http://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/4176/steps/compile/logs/stdio) BUG=none TBR=jochen@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/11412217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169895 0039d316-1c4b-4281-b951-d872f2087c98
* Encapsulate khronos include paths in khronos.gyp,phajdan.jr@chromium.org2012-11-211-21/+12
| | | | | | | | | | | | instead of hardcoding it all over the place (literally). This is one of the steps towards use_system_mesa build option. BUG=161389 Review URL: https://chromiumcodereview.appspot.com/11416085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168931 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for eglGetProcAddressgman@chromium.org2012-11-201-1/+2
| | | | | | | | | | | | This is for the GLES2 conformance tests BUG=none R=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/11418030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168705 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add support for GLX_EXT_texture_from_pixmap extension.reveman@google.com2012-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162654 Review URL: https://codereview.chromium.org/10543125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162784 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 162654 - gpu: Add support for GLX_EXT_texture_from_pixmap extension.fischman@chromium.org2012-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Review URL: https://chromiumcodereview.appspot.com/10543125 TBR=reveman@chromium.org Review URL: https://codereview.chromium.org/11188053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162656 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add support for GLX_EXT_texture_from_pixmap extension.reveman@chromium.org2012-10-181-0/+1
| | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Review URL: https://chromiumcodereview.appspot.com/10543125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162654 0039d316-1c4b-4281-b951-d872f2087c98
* Add support to test harness EGL for OpenGL ES 1.1 tests on Regalgman@chromium.org2012-09-063-8/+66
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/10911086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155064 0039d316-1c4b-4281-b951-d872f2087c98
* make egl_native.cc compile on OSXgman@chromium.org2012-08-041-2/+2
| | | | | | | | | | | | No idea why this doesn't work sometimes. It works for me but not for others. Maybe which verison of XCode? BUG=83382 Review URL: https://chromiumcodereview.appspot.com/10826152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150029 0039d316-1c4b-4281-b951-d872f2087c98
* Add a few stubs so we can link the latest OpenGL ES 2.0 conformance testsgman@chromium.org2012-07-311-0/+17
| | | | | | | | | BUG=83382 Review URL: https://chromiumcodereview.appspot.com/10834073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149090 0039d316-1c4b-4281-b951-d872f2087c98
* Add global tracking of GPU memory allocations. Have each ContextGroup push ↵ccameron@chromium.org2012-07-281-1/+3
| | | | | | | | | | | memory tracking information to the GpuMemoryManager. With this we can determine if we transiently oversubscribe. BUG=135525 TEST= Review URL: https://chromiumcodereview.appspot.com/10796096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148880 0039d316-1c4b-4281-b951-d872f2087c98
* Make windowless version of OpenGL ES 2.0 conformance testsgman@chromium.org2012-07-205-10/+112
| | | | | | | | | | | | These can be used on mac and bots eventually TEST=ran'em BUG=none Review URL: https://chromiumcodereview.appspot.com/10810029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147599 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147328 - Current status of patch:gman@chromium.org2012-07-191-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In-memory cache - maximum in memory limit (currently 6mb) - lru eviction - Cache includes saving the attribute + uniform mappings Wiring: - Added bindings for glProgramBinary and glGetProgramBinary - Plumbed the shader cache from gl_channel_manager to program_manager Refactoring: - moved the meat of DoCompile to the ProgramManager New: - added field to ShaderInfo to store if we have a possible pending cache compile - exposed attrib_map and uniform_map in ShaderInfo for the cache - program_cache base class with in-memory status storage - Simple memory_program_cache implementation, stores programs with lru eviction - Added caching logic to DoCompileShader in gles2_cmd_decoder and Link in program_manager Design doc: https://docs.google.com/document/d/1Vceem-nF4TCICoeGSh7OMXxfGuJEJYblGXRgN9V9hcE/edit BUG=88572 Review URL: https://chromiumcodereview.appspot.com/10534173 TBR=dmurph@chromium.org Review URL: https://chromiumcodereview.appspot.com/10795037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147497 0039d316-1c4b-4281-b951-d872f2087c98
* Current status of patch:dmurph@chromium.org2012-07-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In-memory cache - maximum in memory limit (currently 6mb) - lru eviction - Cache includes saving the attribute + uniform mappings Wiring: - Added bindings for glProgramBinary and glGetProgramBinary - Plumbed the shader cache from gl_channel_manager to program_manager Refactoring: - moved the meat of DoCompile to the ProgramManager New: - added field to ShaderInfo to store if we have a possible pending cache compile - exposed attrib_map and uniform_map in ShaderInfo for the cache - program_cache base class with in-memory status storage - Simple memory_program_cache implementation, stores programs with lru eviction - Added caching logic to DoCompileShader in gles2_cmd_decoder and Link in program_manager Design doc: https://docs.google.com/document/d/1Vceem-nF4TCICoeGSh7OMXxfGuJEJYblGXRgN9V9hcE/edit BUG=88572 Review URL: https://chromiumcodereview.appspot.com/10534173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147328 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gles2 conformance testsgman@chromium.org2012-06-123-5/+14
| | | | | | | | | | | | No idea why these stopped working TEST=they compile and run BUG=none Review URL: https://chromiumcodereview.appspot.com/10532111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141778 0039d316-1c4b-4281-b951-d872f2087c98
* Make context groups share a TextureBufferManagergman@chromium.org2012-06-012-1/+9
| | | | | | | | | | TEST=unit tests, and ran WebGL Conformance tests BUG=129803 Review URL: https://chromiumcodereview.appspot.com/10441140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139981 0039d316-1c4b-4281-b951-d872f2087c98
* Allow GLES2CmdDecoder to change the GLSurface associated with the default FBO.apatrick@chromium.org2012-05-171-1/+3
| | | | | | | | | This is part 1. It can't actually be used yet because there are assumptions that the surface never changed. It is intended to allow each renderer process to create only one command buffer for use by the compositor while being able to switch the surface between different windows, for examnple if a single renderer process handles multiple tabs of the same site. Review URL: https://chromiumcodereview.appspot.com/10388131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137693 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move gl/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-123-7/+7
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98
* Allow textures to be moved from one GL context group to another.apatrick@chromium.org2012-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The function glProduceTexture(target, mailbox) removes a texture from a context group and puts it in a "mailbox" that is accessible to all context groups on the same channel. Then glConsumeTexture(target, mailbox) adds the texture to a context group, possibly a different one, if the caller knows the name of the mailbox. From the point of view of the caller, the texture objects themselves do not move, just the texels. In terms of the underlying GL, the TextureInfo service IDs are reassigned as necessary. A texture in a mailbox is destroyed when the context group that put it there is destroyed. Expected usage is: // Context 1 glBindTexture(GL_TEXTURE_2D, foo); glProduceTexture(GL_TEXTURE_2D, secret_name); glFlush(); // Context 2 glBindTexture(GL_TEXTURE_2D, bar); glConsumeTexture(GL_TEXTURE_2D, secret_name); Review URL: http://codereview.chromium.org/10106015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134791 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Change shared context to be offscreen for armpiman@chromium.org2012-04-251-0/+1
| | | | | | | | | | | | | | | | | | | ARM drivers don't like to have 2 EGLSurface on the same Window. So we need to make the UI shared context offscren. This also requires the image transport surface to be an "offscreen" GLSurface (a pbuffer), however the GLES2Decoder needs to be "onscreen" (i.e. it calls SwapBuffers on the surface instead managing the offscreen buffers itself). So this decouples the 2 notions of "offscreen". BUG=chrome-os-partner:8284 TEST=gpu_unittests. Aura chrome --ui-use-gpu-process with poster circle and webgl on tegra, lumpy, desktop GL. Desktop chrome with poster circle and webgl. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131177 Review URL: http://codereview.chromium.org/10007034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133975 0039d316-1c4b-4281-b951-d872f2087c98
* Let target egl_main_native build without error.thakis@chromium.org2012-04-131-0/+1
| | | | | | | | | BUG=none TEST=Build 'egl_main_native'. No "file not found" error for third_party/gles2_conform. Review URL: http://codereview.chromium.org/10072005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132251 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131177 - aura: Change shared context to be offscreen for armmazda@chromium.org2012-04-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This change causes Chrome OS to get stuck in the login screen on Lumpy and Stumpy, so it is reverted for now. BUG=chrome-os-partner:8831 TEST=Manually checked that I can log in successfully ARM drivers don't like to have 2 EGLSurface on the same Window. So we need to make the UI shared context offscren. This also requires the image transport surface to be an "offscreen" GLSurface (a pbuffer), however the GLES2Decoder needs to be "onscreen" (i.e. it calls SwapBuffers on the surface instead managing the offscreen buffers itself). So this decouples the 2 notions of "offscreen". BUG=chrome-os-partner:8284 TEST=gpu_unittests. Aura chrome --ui-use-gpu-process with poster circle and webgl on tegra, lumpy, desktop GL. Desktop chrome with poster circle and webgl. Review URL: http://codereview.chromium.org/10007034 TBR=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10031036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131559 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Change shared context to be offscreen for armpiman@chromium.org2012-04-061-0/+1
| | | | | | | | | | | | | | | | | ARM drivers don't like to have 2 EGLSurface on the same Window. So we need to make the UI shared context offscren. This also requires the image transport surface to be an "offscreen" GLSurface (a pbuffer), however the GLES2Decoder needs to be "onscreen" (i.e. it calls SwapBuffers on the surface instead managing the offscreen buffers itself). So this decouples the 2 notions of "offscreen". BUG=chrome-os-partner:8284 TEST=gpu_unittests. Aura chrome --ui-use-gpu-process with poster circle and webgl on tegra, lumpy, desktop GL. Desktop chrome with poster circle and webgl. Review URL: http://codereview.chromium.org/10007034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131177 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTKoshima@chromium.org2012-04-051-2/+2
| | | | | | | | | | | Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
* Add ShareGroup to GLES2Implemenationgman@chromium.org2012-03-291-0/+1
| | | | | | | | | | | | | | | | | | The idea is if you don't pass a ShareGroup it will make one. Otherwise you can do new_gles2_impl = new GLES2Implemetation( ..., some_other_gles2_impl_in_same_process->share_group(), ...); TEST=unit test BUG=120297 TBR=nfullgar@google.com,brettw@chromium.org Review URL: http://codereview.chromium.org/9837124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129555 0039d316-1c4b-4281-b951-d872f2087c98
* clang: Fix two -Wbool-conversion warningsthakis@chromium.org2012-03-161-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9700063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127128 0039d316-1c4b-4281-b951-d872f2087c98
* Move constructor and destructor of GLES2CmdHelper out of linethakis@chromium.org2012-03-131-0/+1
| | | | | | | | | | | | | | | | This makes the cc file a bit less pointless and also removes a (harmless) "no symbols defined in static library" build warning in mac. gles2_conform_support/egl/display.h uses GLES2CmdHelper, so add a dependency from egl_native to gles2_cmd_helper to fix a dependency issue exposed by this change. BUG=none TEST=temporary ocd relief Review URL: http://codereview.chromium.org/9662026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126304 0039d316-1c4b-4281-b951-d872f2087c98
* GPU: Build most of the gpu as a single DLL.rvargas@google.com2012-03-051-0/+2
| | | | | | | | BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9581018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124983 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 124702 - GPU: Buld most of the gpu as a single DLL.rvargas@google.com2012-03-021-2/+0
| | | | | | | | | | | BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9514020 TBR=rvargas@google.com Review URL: https://chromiumcodereview.appspot.com/9582024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124715 0039d316-1c4b-4281-b951-d872f2087c98