| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Makes copying layers clone external textures. BUG=146428 TEST=none R=piman@chromium.org Review URL: https://codereview.chromium.org/10910242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156571 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
OMX: Increase the number of picture buffers. BUG=none TEST=Runs on Daisy. Review URL: https://chromiumcodereview.appspot.com/10958060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158463 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Land content/common/gpu/testdata/test-25fps.vp8 which went missing from r147944. (apparently CQ doesn't know how to land binary files) TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10810072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148122 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove all the chrome exceptions in content's DEPS that were there for browser_tests, now that content_browsertests is ready. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10831073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148983 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added gman as OWNER of a few GPU directories and piman as OWNER of a couple others. BUG=none TEST=none TBR=apatrick Review URL: https://chromiumcodereview.appspot.com/10383138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136625 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Extract Scoped{FrameBuffer,Texture}Binder and clean up TFP in VAVDA. Clean up TFP in VAVDA: - properly restore currently bound texture after binding our own - use the extracted Binders for the above - use glXDestroyPixmap instead of glXDestroyPixmapGLX - do not bind texture twice Also modify TextureImageTransportSurface to use the extracted Binders. BUG= TEST=manual runs of VAVDA Review URL: https://chromiumcodereview.appspot.com/10827052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148827 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Extract Scoped{FrameBuffer,Texture}Binder and clean up TFP in VAVDA. Clean up TFP in VAVDA: - properly restore currently bound texture after binding our own - use the extracted Binders for the above - use glXDestroyPixmap instead of glXDestroyPixmapGLX - do not bind texture twice Also modify TextureImageTransportSurface to use the extracted Binders. BUG= TEST=manual runs of VAVDA Review URL: https://chromiumcodereview.appspot.com/10827052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148827 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Report texture upload time in renderingStats. BUG=133658 TEST=TEST=Launch Chrome with --enable-gpu-benchmarking, open a tab to a composited page, and type chrome.gpuBenchmarking.renderingStats(). textureUploadCount, and totalTextureUploadTimeInSeconds should be present. Review URL: https://chromiumcodereview.appspot.com/10868048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155099 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstream the code to pass StreamTextureManagerAndroid from GpuChannel to GLES2DecoderImpl The StreamTextureManagerAndroid object is responsible for creating the surface texture object on android. It is created in GpuChannel, and passed to GLES2DecoderImpl so that all the related commands can work. BUG= Review URL: https://chromiumcodereview.appspot.com/10978004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158467 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
gpu in-memory program cache implementation with a memory limit + lru eviction. Wiring: - Added bindings for glProgramBinary, glGetProgramBinary, glProgramParameteri - Plumbed the shader cache from gl_channel_manager to program_manager - Program cache creation after first context is created Refactoring: - moved DoCompile to ProgramManager New: - added functionality 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 and Link in ProgramMAnager - MemoryProgramCache, the in-memory cache implementation - ProgramCacheLruHelper, an O(1) lru implementation Misc: - A couple style fixes in modified files Design doc: https://docs.google.com/document/d/1Vceem-nF4TCICoeGSh7OMXxfGuJEJYblGXRgN9V9hcE/edit BUG=88572 Review URL: https://chromiumcodereview.appspot.com/10797055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147932 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change GPUInfo to handle multiple GPUs. At the moment we always select one GPU as primary and the others as secondary. In preliminary GPU info collection (without creating a GL context and collect GL VENDOR/RENDERER strings), we actually don't know which GPU is in use. The current logic is that if one GPU is Intel, we assume the other is primary. I agree a better logic is needed. However, at the moment, logging/crash reports all requires ONE GPU vendor_id/device_id, so even though we don't know which GPU is active, we still need to randomly select one. This needs more thinking and design, so I think it's reasonable to leave it to a possible future CL. Also, the logic on collecting GPU info through libpci is changed to collect multiple GPUs. If one is Intel and one is NVIDIA, we assume it's optimus and we disable GPU features. This logic is hardwired in Chrome in this CL. The plan is to push the logic to blacklist, but I'll leave it to a seperate CL. BUG=126307,75220 TEST=about:gpu page on a Linux system with optimus GPU R=kbr TBR=jam Review URL: https://chromiumcodereview.appspot.com/10389051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136429 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Provide stub implementations of GetStubStats and related functions in GpuMemoryManager. BUG=131650 TEST=GpuMemoryManagerTest.GetStubStatsForLastManageTests content unittest Review URL: https://chromiumcodereview.appspot.com/10801014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147475 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Simplify tracing of gpu memory BUG=128502 Review URL: https://chromiumcodereview.appspot.com/10915293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Give Chrome OS more GPU memory. In particular, allow a maximum usage of 1GB, and remove the per-tab limit. BUG=147356 Review URL: https://chromiumcodereview.appspot.com/10910180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155963 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Reduce per-tab memory to 128M maximum, reduce default maximum across all tabs to 256M. The more appropriate fix is that we should be more aggressively discarding offscreen tiles, but this will temporarily fix some OOM issues that we're encountering on low-FB parts. BUG=141377 Review URL: https://chromiumcodereview.appspot.com/10827342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151778 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add GPU memory tab to the task manager. Each renderer process will have all of the resources that the GPU process has allocated on its behalf (including WebGL resources, compositor resources, and the backbuffer) included in its printed total. The GPU process will have the all resources currently allocated by the GPU process in its column. This will be approximately the sum of all other rows. The row for the GPU process is printed in ()s to draw attention to the fact that its size includes duplicates from other processes' sizes. I happy this UI scheme (having played with a few), but I'd wider feedback. Note that we do not account for swapchains or for backbuffers allocated by the browser process, so those allocations are not counted in the total. BUG=140157 Review URL: https://chromiumcodereview.appspot.com/10854076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152233 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Show gpu process sandbox status in the about:gpu page. BUG=144663 R=nduca@chromium.org,jln@chromium.org,piman@chromium.org,estade@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156146 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move gpu_rendering_stats to content/common/gpu R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155492 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move gpu_rendering_stats to content/common/gpu R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155492 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add GL surface creation for Android. This creates either a texture transport surface (for compositor use) or a native window surface. Also add a way to look up a surface handle that cannot be serialized over IPC. We simply get it from the tracker as we are running the GPU thread in the browser process. BUG=136923 Review URL: https://chromiumcodereview.appspot.com/10795058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148715 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add GL surface creation for Android. This creates either a texture transport surface (for compositor use) or a native window surface. Also add a way to look up a surface handle that cannot be serialized over IPC. We simply get it from the tracker as we are running the GPU thread in the browser process. BUG=136923 Review URL: https://chromiumcodereview.appspot.com/10795058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148715 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
RefCounted types should not have public destructors, delegate cleanup For Delegate/Observer-type classes that specify an interface but do not have any particular lifetime requirements, make their destructors protected. This is to allow their interfaces to be implemented safely by RefCounted types. With public destructors, it's possible to do "scoped_ptr<Delegate> foo", and then assign a RefCountedDelegateImpl, which would lead to a double free. As none of these Delegates actually need public destructors (ownership of the Delegate* is not transferred during a function call / class constructor), mark the destructors protected so that it becomes a compile warning to try to delete them via the Delegate*. BUG=123295 TEST=it compiles Review URL: https://chromiumcodereview.appspot.com/10383262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144086 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Don't release/make-current the non-top level texture Fixes resizing content areas on aura windows. R=piman@chromium.org Review URL: https://codereview.chromium.org/10910263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156689 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Delay GpuCommandBufferStub::AddDestructionObserver until we need it. In certain failure cases at initialization time (caused by a race) we used to call AddDestructionObserver before we would make the surface current, causing us to destroy the surface before OnWillDestroyStub had a chance to be called, so we wouldn't RemoveDestructionObserver and we'd call into a dead pointer. This fixes it. By the time MakeCurrent is called, we know we have a ref to the surface and it won't destroy it until GpuCommandBufferStub::Destroy, after OnWillDestroyStub is called. BUG=140502 TEST=attach debugger to renderer, add a breakpoint to CommandBufferProxyImpl::Initialize, right-click and "view page source" (breakpoint should hit), kill new tab, and only then continue breakpoint. Observe no GPU process crash. Review URL: https://chromiumcodereview.appspot.com/10831169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150227 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add GL surface creation for Android. This creates either a texture transport surface (for compositor use) or a native window surface. Also add a way to look up a surface handle that cannot be serialized over IPC. We simply get it from the tracker as we are running the GPU thread in the browser process. BUG=136923 Review URL: https://chromiumcodereview.appspot.com/10795058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148715 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Aura: Less image transport IPCs and less code. Removing some dead code now that we're always using TextureImageTransportSurface. As a result, we no longer need an ACK when creating a new surface. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10696221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146704 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix IOSurfaceReuse test under Mac ASAN bots The ASAN Mac bots were flakifying the correlation between window resize and IOSurface resize. Dunno why. Changed the test so that it only verifies a create relative to a specific resize call. Setting TBR because this test seems to fail in other cases with the CQ. BUG=148633 TBR=zmo Review URL: https://chromiumcodereview.appspot.com/10908218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156444 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed DCHECK. This DCHECK fails often during debugging. BUG=147329 Review URL: https://chromiumcodereview.appspot.com/10908177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155956 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[Android] Upstream all the IPC communications/handlings for stream texture We have already upstreamed the StreamTextureListener and StreamTextureBridge class at the browser side. Also the renderer side StreamTexureFactory has been upstreamed for media player. This change upstreams all the missing IPCs/handlers between these classes. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10695181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146508 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[Android] Upstream all the IPC communications/handlings for stream texture We have already upstreamed the StreamTextureListener and StreamTextureBridge class at the browser side. Also the renderer side StreamTexureFactory has been upstreamed for media player. This change upstreams all the missing IPCs/handlers between these classes. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10695181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146508 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
RefCounted types should not have public destructors 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 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. Also renamed GpuRenderThread to GpuChannelManager since that is what it really does. The only remaining dependency from content/common/gpu to content/gpu is gpu_watchdog_thread.h. Once that dependency has been reversed it should be possible to move most or all of the code in content/gpu to chrome/gpu. TEST=build, WebGL works, run by trybots. BUG=none Review URL: http://codereview.chromium.org/6793054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80883 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 14 年前 | ||
| 13 年前 |