| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This makes it possible to use GLImage instances as overlay planes.
BUG=
Review URL: https://codereview.chromium.org/415283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds Destroy function for ImageManager and invoke it from
command decoder destroy path with GL context info.
This is to ensure that when we destroy the image,
textures to which the image is bound to,
is deleted only if we have a GL context.
BUG=375507
Review URL: https://codereview.chromium.org/301793003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286811 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GpuMemoryBuffer type.
This adds a new GpuMemoryBuffer type that can be used to create
a GpuMemoryBuffer from an existing X11 pixmap.
This removes Create/DeleteImage IPC and reduces complexity
significantly as it allows the ImageManager to be moved to
the decoder and simply track images.
A new platform dependent GpuMemoryBufferFactory interface
is introduced to allow this new type of buffer to be created
on the GPU service side. To avoid the need for any global
variables, this factory instance is also responsible for
creating GLImage instances.
The old factory interface used by android_webview is renamed
InProcessGpuMemoryBufferFactory until it can be removed in
favor of this new interface.
BUG=368716
TEST=gpu_unittests, gl_tests --gtest_filter=GpuMemoryBufferTest.Lifecycle
Review URL: https://codereview.chromium.org/331723003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284097 0039d316-1c4b-4281-b951-d872f2087c98
|
|
EGL_NATIVE_BUFFER_ANDROID.
No changes in behavior except a DCHECK will fail in BindTexImage
instead of returning false when egl_image_ is EGL_NO_IMAGE_KHR.
This is more appropritate as only a bug in the implementation of
GLImageEGL can cause this to happen.
BUG=356871
TBR=sky
Review URL: https://codereview.chromium.org/212933009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260194 0039d316-1c4b-4281-b951-d872f2087c98
|