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 | 771565f47fc44608444c00aa8fa3bda769ceaece (patch) | |
| tree | 21f490bcde4e02604df7c8eacbf5bdacd0277eef /rsProgramStore.cpp | |
| parent | ccc010bb7c0f89e162bf60033968a20be90a903a (diff) | |
| download | android_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.tar.gz android_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.tar.bz2 android_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.zip | |
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 'rsProgramStore.cpp')
| -rw-r--r-- | rsProgramStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsProgramStore.cpp b/rsProgramStore.cpp index 2e5114f1..ff70509a 100644 --- a/rsProgramStore.cpp +++ b/rsProgramStore.cpp @@ -247,7 +247,7 @@ ProgramStoreState::~ProgramStoreState() } -void ProgramStoreState::init(Context *rsc, int32_t w, int32_t h) +void ProgramStoreState::init(Context *rsc) { ProgramStore *pfs = new ProgramStore(rsc); mDefault.set(pfs); |
