Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1049)

Issue 20436002: get genmipmap function in the struct (Closed)

Created:
7 years, 5 months ago by humper
Modified:
7 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

get genmipmap function in the struct BUG= Committed: http://code.google.com/p/skia/source/detail?r=10393

Patch Set 1 #

Total comments: 1

Patch Set 2 : Guard NULL genMipmap check with #ifdef to ease chrome rol #

Patch Set 3 : Dirty bits set appropriately for texture targets so we only generate mipmaps when the actual textur… #

Total comments: 2

Patch Set 4 : initialize the mipmap dirty flag to true #

Total comments: 1

Patch Set 5 : fix rebase conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -5 lines) Patch
M include/gpu/GrTexture.h View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M include/gpu/gl/GrGLFunctions.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLCreateNullInterface.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLInterface.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 3 chunks +28 lines, -4 lines 0 comments Download
M src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/debug/GrGLCreateDebugInterface.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
humper
7 years, 5 months ago (2013-07-25 19:11:57 UTC) #1
bsalomon
https://codereview.chromium.org/20436002/diff/1/src/gpu/gl/GrGLInterface.cpp File src/gpu/gl/GrGLInterface.cpp (right): https://codereview.chromium.org/20436002/diff/1/src/gpu/gl/GrGLInterface.cpp#newcode81 src/gpu/gl/GrGLInterface.cpp:81: NULL == fGenerateMipmap || I think Chrome needs to ...
7 years, 5 months ago (2013-07-25 19:16:49 UTC) #2
humper
7 years, 5 months ago (2013-07-25 19:40:56 UTC) #3
humper
7 years, 5 months ago (2013-07-25 21:06:29 UTC) #4
reed1
https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h File include/gpu/GrTexture.h (right): https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h#newcode47 include/gpu/GrTexture.h:47: void dirtyMipMaps(bool mipMapsDirty) { Do these need to be ...
7 years, 5 months ago (2013-07-25 21:24:36 UTC) #5
humper
On 2013/07/25 21:24:36, reed1 wrote: > https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h > File include/gpu/GrTexture.h (right): > > https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h#newcode47 > ...
7 years, 5 months ago (2013-07-25 21:31:18 UTC) #6
reed1
On 2013/07/25 21:31:18, humper wrote: > On 2013/07/25 21:24:36, reed1 wrote: > > https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h > ...
7 years, 5 months ago (2013-07-25 21:33:55 UTC) #7
bsalomon
https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h File include/gpu/GrTexture.h (right): https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h#newcode167 include/gpu/GrTexture.h:167: bool fMipMapsDirty; need to init this in the cons ...
7 years, 5 months ago (2013-07-25 21:36:58 UTC) #8
bsalomon
On 2013/07/25 21:33:55, reed1 wrote: > On 2013/07/25 21:31:18, humper wrote: > > On 2013/07/25 ...
7 years, 5 months ago (2013-07-25 21:45:29 UTC) #9
humper
On 2013/07/25 21:36:58, bsalomon wrote: > https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h > File include/gpu/GrTexture.h (right): > > https://codereview.chromium.org/20436002/diff/9001/include/gpu/GrTexture.h#newcode167 > ...
7 years, 5 months ago (2013-07-25 21:49:41 UTC) #10
humper
7 years, 5 months ago (2013-07-25 21:52:04 UTC) #11
bsalomon
On 2013/07/25 21:52:04, humper wrote: lgtm
7 years, 5 months ago (2013-07-25 22:01:01 UTC) #12
bsalomon
https://codereview.chromium.org/20436002/diff/23001/include/gpu/GrTexture.h File include/gpu/GrTexture.h (right): https://codereview.chromium.org/20436002/diff/23001/include/gpu/GrTexture.h#newcode147 include/gpu/GrTexture.h:147: , fRenderTarget(NULL), fMipMapsDirty(true) { style nit : INHERITED(gpu, isWrapped, ...
7 years, 5 months ago (2013-07-25 22:01:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/humper@google.com/20436002/30001
7 years, 5 months ago (2013-07-26 16:28:58 UTC) #14
commit-bot: I haz the power
7 years, 5 months ago (2013-07-26 16:36:07 UTC) #15
Message was sent while issue was closed.
Change committed as 10393

Powered by Google App Engine
This is Rietveld 408576698