Home
last modified time | relevance | path

Searched refs:fBuffer (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/
DGrBufferAllocPool.cpp57 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; in ~GrBufferAllocPool()
80 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; in reset()
108 if (block.fBuffer->isLocked()) { in unlock()
109 block.fBuffer->unlock(); in unlock()
111 size_t flushSize = block.fBuffer->sizeInBytes() - block.fBytesFree; in unlock()
112 flushCpuData(fBlocks.back().fBuffer, flushSize); in unlock()
123 if (fBlocks.back().fBuffer->isLocked()) { in validate()
124 GrGeometryBuffer* buf = fBlocks.back().fBuffer; in validate()
130 GrAssert(fBlocks.empty() || !fBlocks.back().fBuffer->isLocked()); in validate()
134 GrAssert(!fBlocks[i].fBuffer->isLocked()); in validate()
[all …]
DGrBufferAllocPool.h158 GrGeometryBuffer* fBuffer; member
/external/skia/src/images/
DSkJpegUtility.cpp15 src->next_input_byte = (const JOCTET*)src->fBuffer; in sk_init_source()
32 src->next_input_byte = (const JOCTET*)src->fBuffer; in sk_seek_input_data()
42 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer()
50 src->next_input_byte = (const JOCTET*)src->fBuffer; in sk_fill_input_buffer()
70 src->next_input_byte = (const JOCTET*)src->fBuffer; in sk_skip_input_data()
88 src->next_input_byte = (const JOCTET*)src->fBuffer; in sk_resync_to_restart()
159 dest->next_output_byte = dest->fBuffer; in sk_init_destination()
167 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer()
173 dest->next_output_byte = dest->fBuffer; in sk_empty_output_buffer()
183 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination()
/external/skia/src/effects/
DSkBitmapCache.cpp16 void* fBuffer; member
24 fBuffer = sk_malloc_throw(size); in Entry()
26 memcpy(fBuffer, buffer, size); in Entry()
29 ~Entry() { sk_free(fBuffer); } in ~Entry()
32 return (fSize == size) && !memcmp(fBuffer, buffer, size); in equals()
/external/skia/src/core/
DSkSpriteBlitter_ARGB32.cpp74 fBuffer = NULL; in Sprite_D32_XferFilter()
89 delete[] fBuffer; in ~Sprite_D32_XferFilter()
101 delete[] fBuffer; in setup()
102 fBuffer = new SkPMColor[width]; in setup()
110 SkPMColor* fBuffer; member in Sprite_D32_XferFilter
139 colorFilter->filterSpan(src, width, fBuffer); in blitRect()
140 tmp = fBuffer; in blitRect()
179 SkPMColor* SK_RESTRICT buffer = fBuffer; in blitRect()
DSkBlitter_RGB16.cpp119 SkPMColor* fBuffer; member in SkRGB16_Shader_Blitter
153 SkPMColor* fBuffer; member in SkRGB16_Shader_Xfermode_Blitter
708 uint16_t* span16 = (uint16_t*)fBuffer; in blitH()
741 uint16_t* span16 = (uint16_t*)fBuffer; in blitRect()
763 SkPMColor* SK_RESTRICT span = fBuffer; in blitAntiH()
820 fBuffer = (SkPMColor*)sk_malloc_throw(device.width() * sizeof(SkPMColor)); in SkRGB16_Shader_Blitter()
842 sk_free(fBuffer); in ~SkRGB16_Shader_Blitter()
848 fShader->shadeSpan(x, y, fBuffer, width); in blitH()
850 fOpaqueProc(fDevice.getAddr16(x, y), fBuffer, width, 0xFF, x, y); in blitH()
856 SkPMColor* buffer = fBuffer; in blitRect()
[all …]
DSkBlitter_A8.cpp239 fBuffer = (SkPMColor*)sk_malloc_throw(sizeof(SkPMColor) * (width + (SkAlign4(width) >> 2))); in SkA8_Shader_Blitter()
240 fAAExpand = (uint8_t*)(fBuffer + width); in SkA8_Shader_Blitter()
245 sk_free(fBuffer); in ~SkA8_Shader_Blitter()
257 SkPMColor* span = fBuffer; in blitH()
288 SkPMColor* span = fBuffer; in blitAntiH()
333 SkPMColor* span = fBuffer; in blitMask()
DSkStream.cpp380 fBuffer = (char*)sk_malloc_throw(fBufferSize); in init()
385 fBuffer = (char*)buffer; in init()
394 sk_free(fBuffer); in ~SkBufferStream()
447 memcpy(buffer, fBuffer + fBufferOffset, s); in read()
464 s = fProxy->read(fBuffer, fBufferSize); in read()
472 memcpy(buffer, fBuffer, size); in read()
539 : fBuffer((char*)buffer), fMaxLength(size), fBytesWritten(0) in SkMemoryWStream()
548 memcpy(fBuffer + fBytesWritten, buffer, size); in write()
DSkBlitter_4444.cpp361 SkPMColor* fBuffer; member in SkARGB4444_Shader_Blitter
368 fBuffer = (SkPMColor*)sk_malloc_throw(width * sizeof(SkPMColor) + width); in SkARGB4444_Shader_Blitter()
369 fAAExpand = (uint8_t*)(fBuffer + width); in SkARGB4444_Shader_Blitter()
388 sk_free(fBuffer); in ~SkARGB4444_Shader_Blitter()
395 SkPMColor* span = fBuffer; in blitH()
407 SkPMColor* SK_RESTRICT span = fBuffer; in blitAntiH()
DSkBlitter_ARGB32.cpp263 fBuffer = (SkPMColor*)sk_malloc_throw(device.width() * (sizeof(SkPMColor))); in SkARGB32_Shader_Blitter()
280 sk_free(fBuffer); in ~SkARGB32_Shader_Blitter()
291 SkPMColor* span = fBuffer; in blitH()
303 SkPMColor* span = fBuffer; in blitAntiH()
409 SkPMColor* span = fBuffer; in blitMask()
DSkCoreBlitters.h72 SkPMColor* fBuffer; variable
137 SkPMColor* fBuffer; variable
/external/icu4c/io/
Dufile.c80 result->str.fBuffer = result->fUCBuffer; in finit_owner()
170 result->str.fBuffer = stringBuf; in u_fstropen()
225 file->str.fPos = file->str.fBuffer; in u_frewind()
295 if ((file->str.fPos == file->str.fBuffer) && (file->str.fLimit == file->str.fBuffer)) { in u_fsetcodepage()
Dufile.h50 UChar *fBuffer; /* Place to write the string */ member
Dsscanf.c111 inStr.str.fBuffer = (UChar *)buffer; in u_vsscanf_u()
Dustdio.c477 str->fPos = str->fBuffer; in ufile_fill_uchar_buffer()
668 if (str->fPos == str->fBuffer in u_fungetc()
669 || (U_IS_LEAD(ch) && (str->fPos - 1) == str->fBuffer)) in u_fungetc()
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp128 void* fBuffer; member
157 fImpl->fBuffer = sk_malloc_throw(len); in onInit()
159 size_t len2 = fStream->read(fImpl->fBuffer, len); in onInit()
165 sk_free(fImpl->fBuffer); in onExit()
198 status = XML_Parse(p, (const char*)fImpl->fBuffer, fImpl->fBufferLen, true); in onNextToken()
/external/webkit/Source/WebCore/platform/graphics/android/
DSharedBufferStream.cpp41 fBuffer = buffer; in SharedBufferStream()
50 JavaSharedClient::EnqueueFunctionPtr(CallDeref, fBuffer); in ~SharedBufferStream()
DSharedBufferStream.h51 SharedBuffer* fBuffer; variable
/external/skia/include/images/
DSkJpegUtility.h48 char fBuffer[kBufferSize]; member
63 uint8_t fBuffer[kBufferSize]; member
/external/skia/include/core/
DSkStream.h247 char* fBuffer; variable
278 char* fBuffer;