summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/GLCanvasImpl.java
Commit message (Collapse)AuthorAgeFilesLines
* Add GLES20 canvas implementation.George Mount2012-12-051-28/+23
| | | | Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
* Separate GL calls into GLCanvas in preparation for adding GLES2.George Mount2012-11-201-10/+131
| | | | Change-Id: I2756c14294a36af7905766ee650fa08fb95e9477
* Revert "Revert "Upload screennails in tiles to prevent jank""Owen Lin2012-10-111-21/+61
| | | | | | | This reverts commit ad7cf187bf0c11b05aa3eab7085148e0353f2af5. bug: 6399444 Change-Id: I94b286ab3e0db21c582cbfa9183489613da30edb
* Revert "Upload screennails in tiles to prevent jank"Bart Sears2012-10-061-61/+21
| | | | | | | | | | This CL is reported to cause images to not be displayed correctly when opened via the view intent. Bug: 7299123 This reverts commit e29fc4a51b99f12f7fae13fae272858df2e1af36 Change-Id: I5052548a826c275cb4559eeb4721c19f06861b3d
* Upload screennails in tiles to prevent jankOwen Lin2012-10-051-21/+61
| | | | | | bug: 6399444 Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
* Ongoing reskin of Gallery appBobby Georgescu2012-08-241-4/+7
| | | | | | | | | | Bug: 7050303 Moved the majority of color settings from hardcoded to colors.xml in order to allow rapid iteration with UX input. Started changing some colors and layouts to reflect latest UX mocks. Change-Id: I300338e9f75c71f3ed3f36140d16e893387f3184
* First gallery reskin iteration.Bobby Georgescu2012-08-091-1/+8
| | | | Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
* Code clean up.Ahbong Chang2012-07-301-0/+26
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Fix Gallery glitch due to ColorTexture.Owen Lin2012-06-191-1/+1
| | | | | | | | | Change the initial value of mTextureTarget to GL_TEXTURE_2D, since it is default enabled. bug:6668616 Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519
* Add a new state uploading to UploadedTexture.Owen Lin2012-05-221-2/+2
| | | | | | | | | | | | | This state means the texture is being uploaded in background and should not be drawn now to prevent janking. Sometimes, we may lose GLContext and we will need to reupload textures again. In this case, we would like to upload these texture in foreground instead of using TextureUploader. (for simplicity since this won't happen too often). bug: 6519344 Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03
* Add support to draw on texture.Owen Lin2012-05-021-11/+96
| | | | Change-Id: I95dd5d29352692b702503969e1ebe07bc91a8a73
* Remove scissor tests.Chih-Chung Chang2012-04-251-3/+0
| | | | Change-Id: I9f2c462a251e518ce5954dde0eb6e509734254c4
* Fix flashing in "Make available offline".Owen Lin2012-04-051-17/+13
| | | | Change-Id: I84f0896c6038eb21d32e0d5fe0cafec5d339e6ec
* Delete buffers and textures in GL.Owen Lin2012-04-021-2/+2
| | | | Change-Id: I7cd6647c7da56040c040f43859ce8e440db7b498
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-021-14/+33
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Reorganize import for all files.Owen Lin2012-03-141-3/+4
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Remove unused code.Chih-Chung Chang2012-02-231-179/+5
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Reduce memory allocation and make small improvements.Chih-Chung Chang2012-02-221-13/+13
| | | | Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
* Cache animation time value to reduce work and synchronize animation.Chih-Chung Chang2012-02-171-11/+0
| | | | Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-161-29/+39
| | | | | | | | (1) make a faster version of translate(x, y). (2) make mapPoints() faster. (3) avoid calling canvas.rotate() when it is not needed. Change-Id: I364e2aa3fc9ee81c43f42f3af8b2d30a1241b482
* Fix 5254974: Add EdgeEffect for PhotoView.Chih-Chung Chang2011-10-131-1/+1
| | | | Change-Id: Ib9ea8fff14a932e8ec25c3f272fe0539776bb062
* Fix 5223982: Adding one pixel transparent border around the texture.Chih-Chung Chang2011-09-231-3/+11
| | | | | | This avoids the jigged edge around the thumbnails when they are rotated. Change-Id: Ib2c5a75d1aa69a2f024e003a45111a8af4537f67
* Initial code for Gallery2.Owen Lin2011-08-181-0/+913
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c