diff options
author | 2009-08-11 20:50:32 -0700 | |
---|---|---|
committer | 2009-08-11 20:50:32 -0700 | |
commit | efefd5efb9e20fbcd94c3f4766ca2a64e511da77 (patch) | |
tree | 64b527b57b6e206497402e053e0b35a869a57915 /opengl/libagl/egl.cpp | |
parent | d7fe92b85812c53079b813543d722922e4ce7a4a (diff) | |
parent | 64e89a8aff9a45a491f1d7064a655b9021fe644a (diff) |
Merge change 20892
* changes:
Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
Diffstat (limited to 'opengl/libagl/egl.cpp')
-rw-r--r-- | opengl/libagl/egl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 0762ebf605fc..cf66be33729f 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -384,10 +384,6 @@ egl_window_surface_v2_t::~egl_window_surface_v2_t() { EGLBoolean egl_window_surface_v2_t::connect() { - // we're intending to do software rendering - native_window_set_usage(nativeWindow, - GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); - // dequeue a buffer if (nativeWindow->dequeueBuffer(nativeWindow, &buffer) != NO_ERROR) { return setError(EGL_BAD_ALLOC, EGL_FALSE); |