summaryrefslogtreecommitdiffstats
path: root/gpu
Commit message (Collapse)AuthorAgeFilesLines
* Wire the AMD switchable videcard detectioncpu@chromium.org2012-07-181-0/+1
| | | | | | | | | So we don't bucket all AMD cards as crappy. BUG=117371 Review URL: https://chromiumcodereview.appspot.com/10790060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147334 0039d316-1c4b-4281-b951-d872f2087c98
* Current status of patch:dmurph@chromium.org2012-07-1833-95/+2156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 vendor detection code and add gl_PointCoord workaround for Intel GPUs.kbr@chromium.org2012-07-173-36/+66
| | | | | | | | | | BUG=137584 TEST=unit tests; ran WebGL gl-pointcoord.html conformance test on all GPUs on Mac Review URL: https://chromiumcodereview.appspot.com/10789028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146950 0039d316-1c4b-4281-b951-d872f2087c98
* Allow 1xn and 2xn compressed textures.jbauman@chromium.org2012-07-142-26/+18
| | | | | | | | | | | | | This is needed to allow texture streaming of all miplevels. This affects only pepper, as WebGL does its own validation. BUG=136929 TEST= Review URL: https://chromiumcodereview.appspot.com/10735066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146711 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClientbacker@chromium.org2012-07-131-5/+0
| | | | | | | | | | | | | | | | With --ui-enable-threaded-compositing, every Layer::SetExternalTexture() was causing a heavy CCThreadProxy::acquireLayerTextures(). This synchronization is unnecessary on the common case of buffer flips, because RWHVA handles the necessary synchronization via OnCompositingWillStart callbacks. To reduce the synchronization burden, we handle - wait for a commit on resize fast ACKS - handle the common case of buffer flips via WebExternalTextureLayerClient::prepareTexture() - and explicitly call WebExternalTextureLayer::willModifyTexture() when we need the extra synchronization on tear down. BUG=136012 TEST=none Review URL: https://chromiumcodereview.appspot.com/10689108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146621 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-1112-12/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Fix glGetTexParameter so it works for TEXTURE_CUBE_MAPgman@chromium.org2012-07-113-18/+3
| | | | | | | | | | TEST=passes new webgl conformance test BUG=136538 Review URL: https://chromiumcodereview.appspot.com/10735038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146010 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructorsrsleevi@chromium.org2012-07-112-30/+38
| | | | | | | | | | BUG=123295 TEST=existing unittests Review URL: https://chromiumcodereview.appspot.com/10694111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146001 0039d316-1c4b-4281-b951-d872f2087c98
* re-enable depth texture gl testgman@chromium.org2012-07-101-3/+3
| | | | | | | | | | | | Ran in on Windows. It worked here. Not sure why it failed on bots a week ago. BUG=135229 TEST=it IS a test Review URL: https://chromiumcodereview.appspot.com/10748014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145916 0039d316-1c4b-4281-b951-d872f2087c98
* Enable debugging code for non-official Android builds.newt@chromium.org2012-07-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This enables DCHECK, NOTREACHED, and other debugging code on Android non-official release builds. Since all Android builds are done in release mode, we don't set NDEBUG according to whether the build is in release or debug mode. Rather we set NDEBUG for official builds only. This requires a change to skia.gyp to define SK_RELEASE exactly the same when building skia and its direct dependencies: SK_RELEASE should be defined in skia.gyp only when use_system_skia is set to 1 because system skia is always in release mode. When building with chromium version of skia (which is what we do now) this should not be defined and left to the skia headers to figure out whether to include debug code or not (they define SK_RELEASE only if NDEBUG was defined). BUG=http://b/6712716 Review URL: https://chromiumcodereview.appspot.com/10695047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145789 0039d316-1c4b-4281-b951-d872f2087c98
* Add GL_CHROMIUM_get_error_querygman@chromium.org2012-07-0918-60/+314
| | | | | | | | | | | | Makes it possible to asynchronously query GL errors. TEST=unit tests BUG=133630 Review URL: https://chromiumcodereview.appspot.com/10577037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145739 0039d316-1c4b-4281-b951-d872f2087c98
* Adding necessary plumbing for bindUniformLocationCHROMIUM extension.alexst@chromium.org2012-07-021-0/+118
| | | | | | | | | | BUG=133438 TEST=unit tests Review URL: https://chromiumcodereview.appspot.com/10708002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145180 0039d316-1c4b-4281-b951-d872f2087c98
* Add workaround ATI/AMD bug with gl_PointCoordgman@chromium.org2012-06-304-0/+159
| | | | | | | | | | TEST=gl test BUG=135220 Review URL: https://chromiumcodereview.appspot.com/10692047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145091 0039d316-1c4b-4281-b951-d872f2087c98
* Unreviewed pixel wrangling. Temporarily disable DepthTextureTest.RenderTo ↵shawnsingh@chromium.org2012-06-301-1/+3
| | | | | | | | | | | | because it is failing on some gpu bots. BUG=135229 TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145041 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate disable gpu workarounds code.gman@chromium.org2012-06-294-22/+30
| | | | | | | | | TEST=none BUG=none Review URL: https://chromiumcodereview.appspot.com/10696054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145024 0039d316-1c4b-4281-b951-d872f2087c98
* Adds switches for enabling the gpu program cache and setting the size of the ↵dmurph@chromium.org2012-06-292-0/+10
| | | | | | | | cache, in kb. Review URL: https://chromiumcodereview.appspot.com/10697029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144922 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ANGLE 1046:1168. apatrick@chromium.org2012-06-281-1/+0
| | | | | | | | | | | | | Suppressed regressing WebGL conformance tests. Removed check for alpha==1 for a depth texture because I think GL_ANGLE_depth_texture is specified such that this is not expected. The roll causes the image transport to be flipped. Compensated in AcceleratedSurface. BUG=134743 Review URL: https://chromiumcodereview.appspot.com/10702010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144776 0039d316-1c4b-4281-b951-d872f2087c98
* Defer descheduling of GPU commands until draw or swapjbates@chromium.org2012-06-289-27/+47
| | | | | | | | | | | | This CL adds support to Windows and Mac. Linux doesn't gain anything, because the GPU process is blocked on the actual SwapBuffers call (whereas Windows and Mac asynchronously notify the browser to execute the Swap). The surface gets a chance to defer either Draws or Swaps. The surface can unschedule the GpuScheduler on the first attempt at a draw, for example, and reschedule it later when the draw is safe to execute (ie: when the pending SwapBuffers is acked by the browser). Platforms with triple-buffered contexts can defer all the way until a Swap, while most platforms will use the draws to defer. Review URL: https://chromiumcodereview.appspot.com/10389202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144648 0039d316-1c4b-4281-b951-d872f2087c98
* Change GLES2DecoderImpl::UpdateBackbufferMemoryAccounting so that it is not ↵jbates@chromium.org2012-06-281-12/+16
| | | | | | | | | | | called when tracing is disabled. BUG=127711 Review URL: https://chromiumcodereview.appspot.com/10698021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144615 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 144358 - Roll ANGLE 1046:1164.jochen@chromium.org2012-06-271-0/+1
| | | | | | | | | | | | | | | | | Suppressed regressing WebGL conformance tests. Removed check for alpha==1 for a depth texture because I think GL_ANGLE_depth_texture is specified such that this is not expected. The roll causes the image transport to be flipped. Compensated in AcceleratedSurface. BUG=134743 Review URL: https://chromiumcodereview.appspot.com/10668003 TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10699003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144425 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ANGLE 1046:1164.apatrick@chromium.org2012-06-271-1/+0
| | | | | | | | | | | | | | Suppressed regressing WebGL conformance tests. Removed check for alpha==1 for a depth texture because I think GL_ANGLE_depth_texture is specified such that this is not expected. The roll causes the image transport to be flipped. Compensated in AcceleratedSurface. BUG=134743 Review URL: https://chromiumcodereview.appspot.com/10668003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144358 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Fix partial swaps in the UIbacker@chromium.org2012-06-262-20/+10
| | | | | | | | | | | | Extensions were being cached per context group. Recently we started creating an offscreen context before any onscreen contexts, which meant that our onscreen specific extensions were never being reported. This CL keeps the cacheing for the context specific extensions and adds in the surface specific extensions. TEST=use chrome://tracing to verify that HandlePostSubBuffer is being called in the GPU process on a CrOS device BUG=none Review URL: https://chromiumcodereview.appspot.com/10673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144271 0039d316-1c4b-4281-b951-d872f2087c98
* Define GL_GLEXT_PROTOTYPESjbauman@chromium.org2012-06-261-0/+3
| | | | | | | | | | | This is needed to get some of the new extension functions to link properly. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10597006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144235 0039d316-1c4b-4281-b951-d872f2087c98
* Add glBindUniformLocationCHROMIUMgman@chromium.org2012-06-2631-782/+1038
| | | | | | | | | TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10635011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144070 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the maximum texture size on Mac/AMD to 4096.bsalomon@google.com2012-06-251-1/+8
| | | | | | | | BUG=133936 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10629014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143904 0039d316-1c4b-4281-b951-d872f2087c98
* Make GL_CHROMIUM_consistent_uniform_locations slighty more robustgman@chromium.org2012-06-2011-23/+129
| | | | | | | | | | | | | | Added a program argument so that at least in debug we can verify locations are correct. It also means we could fallback to actually calling GetUniformLocation if need be. TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10581029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143126 0039d316-1c4b-4281-b951-d872f2087c98
* Set default GL stategman@chromium.org2012-06-192-0/+150
| | | | | | | | | | | TEST=unit tests BUG=130617 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142931 Review URL: https://chromiumcodereview.appspot.com/10573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143003 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of an unpremultiplied-alpha setting for the ↵twiz@chromium.org2012-06-199-11/+153
| | | | | | | | | | | | | | | | GL_CHROMIUM_copy_texture command buffer GL extension. The extension needs to support the ability to unpremultiply the source of the copy because of the canvas2d-webgl texture use case. Canvas is stored in premultiplied form, yet WebGL expects texture contents to be in unpremultiplied form. Change also includes conversion of argument types to overriders of WebGraphicsContext3D::copyTextureCHROMIUM(...). This change is necessary as a result of a wk-change: https://bugs.webkit.org/show_bug.cgi?id=86275 BUG=101051 TEST=none Review URL: https://chromiumcodereview.appspot.com/10535174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142962 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142931 - Set default GL statezmo@chromium.org2012-06-192-150/+0
| | | | | | | | | | | | | | This breaks almost all the webgl conformance tests and gl_tests on all gpu bots. TEST=unit tests BUG=130617 Review URL: https://chromiumcodereview.appspot.com/10573004 TBR=gman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10581015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142946 0039d316-1c4b-4281-b951-d872f2087c98
* Set default GL stategman@chromium.org2012-06-192-0/+150
| | | | | | | | | TEST=unit tests BUG=130617 Review URL: https://chromiumcodereview.appspot.com/10573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142931 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GL_CHROMIUM_consistent_uniform_locationsgman@chromium.org2012-06-1921-252/+698
| | | | | | | | | BUG=132844 TEST=unit tests Review URL: https://chromiumcodereview.appspot.com/10568003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142879 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: add SignalSyncPoint to complement WaitSyncPointpiman@chromium.org2012-06-191-0/+5
| | | | | | | | | | BUG=112299 TEST=None Review URL: https://chromiumcodereview.appspot.com/10541185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142869 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 2 crashers in GLES2Implementation:fischman@chromium.org2012-06-152-3/+9
| | | | | | | | | | | | | - Finish() uses GPU_CLIENT_SINGLE_THREAD_CHECK() but is called by other methods that call this macro, triggering GPU_CHECK_EQ(0, 1) crashes. - DeleteQueriesEXTHelper was checking that pending queries had *no* results available before removing them instead of checking they *had* results available. Review URL: https://chromiumcodereview.appspot.com/10536191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142357 0039d316-1c4b-4281-b951-d872f2087c98
* Expose video memory usage estimation (textures, renderbuffers, buffers) in ↵zmo@chromium.org2012-06-145-0/+25
| | | | | | | | | | | | | | command buffer. This will be used by GpuMemoryManager BUG=129739 TEST=bots R=gman Review URL: https://chromiumcodereview.appspot.com/10548034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142061 0039d316-1c4b-4281-b951-d872f2087c98
* Cache shader translators.backer@chromium.org2012-06-137-70/+279
| | | | | | | | | | | | Each shader translator takes about 700 KB of memory in the GPU proces in Release. There are typically between 2-4 of these per tab with --force-compositing-mode. This CL introduces a cache, so that tabs share shader translators whenever possible. BUG=132426 TEST=none Review URL: https://chromiumcodereview.appspot.com/10535128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142002 0039d316-1c4b-4281-b951-d872f2087c98
* hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-133-4/+6
| | | | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141302 Review URL: https://chromiumcodereview.appspot.com/10411042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141977 0039d316-1c4b-4281-b951-d872f2087c98
* Make TextureManager correctly delete default textures.gman@chromium.org2012-06-134-17/+70
| | | | | | | | | | | | | The default textures were not tracked correctly. This fixes that issue TEST=unit tests and GLES2 conformance tests no longer crash BUG=none Review URL: https://chromiumcodereview.appspot.com/10549002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141815 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
* Revert 141302 - hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-083-6/+4
| | | | | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Review URL: https://chromiumcodereview.appspot.com/10411042 TBR=sail@chromium.org Review URL: https://chromiumcodereview.appspot.com/10534077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141305 0039d316-1c4b-4281-b951-d872f2087c98
* hook up new MacVideoDecodeAcceleratorsail@chromium.org2012-06-083-4/+6
| | | | | | | | | | | | | This CL hooks up the new MacVideoDecodeAccelerator so that it can be instantiated by the HTML5 and pepper code. Currently only the pepper code uses it. I also updated the pepper video_decode example app to be able to draw the GL_TEXTURE_RECTANGLE_ARB textures that the Mac decoder generates. BUG=127414 TEST= Review URL: https://chromiumcodereview.appspot.com/10411042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141302 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce compressed texture restrictionsgman@chromium.org2012-06-0811-638/+1010
| | | | | | | | | | TEST=unit tests BUG=131743 Review URL: https://chromiumcodereview.appspot.com/10535073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141292 0039d316-1c4b-4281-b951-d872f2087c98
* Plum through ANGLE_depth_texturegman@chromium.org2012-06-0821-27/+951
| | | | | | | | | TEST=unit tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10441087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141117 0039d316-1c4b-4281-b951-d872f2087c98
* Preempt renderers by browser UI in GpuScheduler.backer@chromium.org2012-06-063-2/+42
| | | | | | | | | | | Adds a message filter in GpuChannel to detect if the UI has commands to execute. This is polled in GpuScheduler so that renderers will defer to the UI. BUG=none TEST=smoothly drag a window of https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/demos/google/san-angeles/index.html on alex Review URL: https://chromiumcodereview.appspot.com/10186002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140866 0039d316-1c4b-4281-b951-d872f2087c98
* GPU: Adding sync points for cross-channel synchronizationpiman@chromium.org2012-06-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Theory of operation: command buffer 1 calls InsertSyncPoint, it returns an ID, command buffer 2 calls WaitSyncPoint on that ID (even if on another channel). The wait is pipelined. InsertSyncPoint is handled on the IO thread in the GPU process, so it's presumably fast, but its effect is ordered wrt the other messages. Some benefits of the approach: - once InsertSyncPoint returns the ID, the sync point is already enqueued to be eventually retired, so it makes it very hard to cause deadlocks by incorrect operation on the client side. - the wait will return if the command buffer that inserted the sync point gets destroyed. This primitive should be enough for guaranteeing browser->renderer ordering. Additional changes are needed to safely handle renderer->browser ordering (especially in case of buggy/malicious renderer). BUG=112299 TEST=manual (With other patches) Review URL: https://chromiumcodereview.appspot.com/10510013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140653 0039d316-1c4b-4281-b951-d872f2087c98
* Make context groups share a TextureBufferManagergman@chromium.org2012-06-0114-31/+108
| | | | | | | | | | 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
* Disable GL_CHROMIUM_gpu_memory_manager extension on ↵mmocny@chromium.org2012-05-302-2/+6
| | | | | | | | | | | | | | | | | webgraphicscontext3d_in_process_command_buffer. webgraphicscontext3d_in_process_command_buffer has noops for the gpu_memory_manager features, and with the renderer relying on them to provide non-zero memory allocations, we need to disable the extension so that renderer can fallback to something else. BUG=129266 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10454084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139680 0039d316-1c4b-4281-b951-d872f2087c98
* Put GL-command tracing behind a flag because it's too heavy normally.jbates@chromium.org2012-05-305-2/+22
| | | | | | | | | | | | We always want to trace some of the heavier GL commands, so those have been re-added from https://chromiumcodereview.appspot.com/10443048/. Turns out that with --trace-gl on, the trace buffer typically fills up after ~3 seconds, so the default behavior should probably be to not trace these. R=apatrick Review URL: https://chromiumcodereview.appspot.com/10442090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139664 0039d316-1c4b-4281-b951-d872f2087c98
* Add APK targets for gpu_unittests.nileshagrawal@chromium.org2012-05-301-2/+30
| | | | | | | | | | | | | | | Removing dependency on testing/gmock.gyp:gmock_main as we have our own main in command_buffer/common/unittest_main.cc BUG=125059 Follow-up to: http://codereview.chromium.org/10399126/ TEST= Review URL: https://chromiumcodereview.appspot.com/10459017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139485 0039d316-1c4b-4281-b951-d872f2087c98
* Separate management of shared memory from CmdBufService to separate classgman@chromium.org2012-05-268-231/+378
| | | | | | | | | | | | | | | This is a step on the way to making this per ContextGroup instead of per context TEST=unit tests BUG=129803 R=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10448030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139196 0039d316-1c4b-4281-b951-d872f2087c98
* Add more GPU process trace events.apatrick@chromium.org2012-05-262-28/+29
| | | | | | | | Every command is now traced. I removed some trace events from GLES2CmdDecoder that became redundant but left those that provide additional information such as size and left those that are required by tests. Review URL: https://chromiumcodereview.appspot.com/10443048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139182 0039d316-1c4b-4281-b951-d872f2087c98