* commit '192563407964926537d688d4098054c3834341c0': Fixes for 64bit in libhwui
This commit is contained in:
@ -1444,7 +1444,7 @@ public:
|
|||||||
DeferredDisplayList::kOpBatch_Text :
|
DeferredDisplayList::kOpBatch_Text :
|
||||||
DeferredDisplayList::kOpBatch_ColorText;
|
DeferredDisplayList::kOpBatch_ColorText;
|
||||||
|
|
||||||
deferInfo.mergeId = (mergeid_t)mPaint->getColor();
|
deferInfo.mergeId = reinterpret_cast<mergeid_t>(mPaint->getColor());
|
||||||
|
|
||||||
// don't merge decorated text - the decorations won't draw in order
|
// don't merge decorated text - the decorations won't draw in order
|
||||||
bool noDecorations = !(mPaint->getFlags() & (SkPaint::kUnderlineText_Flag |
|
bool noDecorations = !(mPaint->getFlags() & (SkPaint::kUnderlineText_Flag |
|
||||||
|
@ -151,7 +151,7 @@ void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t hei
|
|||||||
mCaches.bindPixelBuffer(mBuffer);
|
mCaches.bindPixelBuffer(mBuffer);
|
||||||
unmap();
|
unmap();
|
||||||
glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, mFormat,
|
glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, mFormat,
|
||||||
GL_UNSIGNED_BYTE, (void*) offset);
|
GL_UNSIGNED_BYTE, reinterpret_cast<void*>(offset));
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user