diff options
| author | Jason Sams <rjsams@android.com> | 2010-05-14 15:30:29 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-05-14 15:30:29 -0700 |
| commit | f603d212552485c634e25f3556f847dc2b022bd5 (patch) | |
| tree | a2112e01bd2f7d72465717a153216a6d8b6e63f4 /libs/rs/rsScript.cpp | |
| parent | 54db59c3594e887a412a24713fc3daa1c2404593 (diff) | |
| download | frameworks_base-f603d212552485c634e25f3556f847dc2b022bd5.zip frameworks_base-f603d212552485c634e25f3556f847dc2b022bd5.tar.gz frameworks_base-f603d212552485c634e25f3556f847dc2b022bd5.tar.bz2 | |
Change RS to use the passed surface size rather than EGL size.
Its possible that during a resize the EGL information could be stale so
caching this is bad. The surface size should always be correct.
Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685
Conflicts:
libs/rs/rsProgramStore.cpp
libs/rs/rsProgramStore.h
Diffstat (limited to 'libs/rs/rsScript.cpp')
| -rw-r--r-- | libs/rs/rsScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index 1c63c11..1dd9554 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -145,7 +145,7 @@ void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *dat } s->setupScript(); - LOGE("rsi_ScriptInvokeV, len=%i", len); + //LOGE("rsi_ScriptInvokeV, len=%i", len); const uint32_t * dPtr = (const uint32_t *)data; switch(len) { case 0: |
