/external/mesa3d/src/mesa/main/ |
pbo.c | 34 #include "bufferobj.h" 80 if (!_mesa_is_bufferobj(pack->BufferObj)) { 85 size = pack->BufferObj->Size; 146 if (_mesa_is_bufferobj(unpack->BufferObj)) { 149 unpack->BufferObj->Size, 151 unpack->BufferObj); 187 if (_mesa_is_bufferobj(unpack->BufferObj)) { 198 if (!_mesa_is_bufferobj(unpack->BufferObj)) { 203 if (_mesa_bufferobj_mapped(unpack->BufferObj)) { 222 if (_mesa_is_bufferobj(unpack->BufferObj)) { [all...] |
texgetimage.c | 33 #include "bufferobj.h" 551 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 559 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, 560 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); 588 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 589 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj); 610 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 613 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, 614 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); 655 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { [all...] |
pixel.c | 32 #include "bufferobj.h" 158 &ctx->DefaultPacking.BufferObj, 159 pack->BufferObj); 166 &ctx->DefaultPacking.BufferObj, 170 if (_mesa_is_bufferobj(pack->BufferObj)) { 212 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 254 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 310 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 361 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { 412 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { [all...] |
descrip.mms | 31 bufferobj.c \ 106 bufferobj.obj,\ 192 bufferobj.obj : bufferobj.c
|
pixelstore.c | 32 #include "bufferobj.h" 274 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, 287 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, 307 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj,
|
drawpix.c | 27 #include "bufferobj.h" 149 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 157 if (_mesa_bufferobj_mapped(ctx->Unpack.BufferObj)) { 330 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { 339 if (_mesa_bufferobj_mapped(ctx->Unpack.BufferObj)) {
|
api_arrayelt.c | 39 #include "bufferobj.h" [all...] |
varray.h | 49 if (array->BufferObj->Name) { 51 GLsizeiptrARB bufSize = (GLsizeiptrARB) array->BufferObj->Size;
|
/external/mesa3d/src/mesa/vbo/ |
vbo_save.c | 30 #include "main/bufferobj.h" 74 array->BufferObj = NULL; 75 _mesa_reference_buffer_object(ctx, &arrays->BufferObj, 76 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); 86 array->BufferObj = NULL; 87 _mesa_reference_buffer_object(ctx, &array->BufferObj, 88 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); 109 &save->vertex_store->bufferobj, NULL); 116 _mesa_reference_buffer_object(ctx, &save->arrays[i].BufferObj, NULL);
|
vbo_exec_draw.c | 29 #include "main/bufferobj.h" 230 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { 232 assert(exec->vtx.bufferobj->Pointer); /* buf should be mapped */ 234 arrays[attr].Ptr = (GLubyte *)exec->vtx.bufferobj->Offset + offset; 250 &arrays[attr].BufferObj, 251 exec->vtx.bufferobj); 269 if (_mesa_is_bufferobj(exec->vtx.bufferobj)) { 273 GLintptr offset = exec->vtx.buffer_used - exec->vtx.bufferobj->Offset; 278 exec->vtx.bufferobj); 287 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj); [all...] |
vbo_context.c | 31 #include "main/bufferobj.h" 71 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 98 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 145 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 220 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL);
|
vbo_save_draw.c | 30 #include "main/bufferobj.h" 75 data, node->vertex_store->bufferobj ); 213 &arrays[attr].BufferObj, 214 node->vertex_store->bufferobj); 217 assert(arrays[attr].BufferObj->Name); 235 list->vertex_store->bufferobj->Size, 237 list->vertex_store->bufferobj); 247 ctx->Driver.UnmapBuffer(ctx, list->vertex_store->bufferobj);
|
vbo_exec_api.c | 34 #include "main/bufferobj.h" [all...] |
/external/mesa3d/docs/ |
sourcedocs.html | 27 such as <a href="http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/main/bufferobj.c" target="_parent">bufferobj.c</a>.
|
/external/skia/src/gpu/gl/ |
GrGLCreateNullInterface.cpp | 21 class BufferObj { 25 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) { 27 ~BufferObj() { delete[] fDataPtr; } 72 BufferObj* lookUp(GrGLuint id) { 73 BufferObj* buffer = fBuffers[id]; 78 BufferObj* create() { 80 BufferObj* buffer; 85 buffer = new BufferObj(id); 92 buffer = new BufferObj(id); 99 void free(BufferObj* buffer) [all...] |
SkNullGLContext.cpp | 20 class BufferObj { 24 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} 25 ~BufferObj() { delete[] fDataPtr; } 70 BufferObj* lookUp(GrGLuint id) { 71 BufferObj* buffer = fBuffers[id]; 76 BufferObj* create() { 78 BufferObj* buffer; 83 buffer = new BufferObj(id); 90 buffer = new BufferObj(id); 97 void free(BufferObj* buffer) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_pixel_read.c | 29 #include "main/bufferobj.h" 134 if (_mesa_is_bufferobj(pack->BufferObj) && aligned_rowstride != dst_rowstride) 140 if (!_mesa_is_bufferobj(pack->BufferObj)) 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; 179 if (!_mesa_is_bufferobj(pack->BufferObj)) 191 if (!_mesa_is_bufferobj(pack->BufferObj))
|
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 249 static jcharArray allocCharArrayBuffer(JNIEnv* env, jobject bufferObj, size_t size) { 250 jcharArray dataObj = jcharArray(env->GetObjectField(bufferObj, 266 env->SetObjectField(bufferObj, gCharArrayBufferClassInfo.data, dataObj); 272 static void fillCharArrayBufferUTF(JNIEnv* env, jobject bufferObj, 278 jcharArray dataObj = allocCharArrayBuffer(env, bufferObj, size); 286 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, size); 290 static void clearCharArrayBuffer(JNIEnv* env, jobject bufferObj) { 291 jcharArray dataObj = allocCharArrayBuffer(env, bufferObj, 0); 293 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, 0); 298 jint row, jint column, jobject bufferObj) { [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_bitmap.c | 36 #include "main/bufferobj.h" 78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, 80 unpack->BufferObj); 208 if (_mesa_is_bufferobj(unpack->BufferObj)) { 294 if (_mesa_is_bufferobj(unpack->BufferObj)) { 296 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj);
|
intel_pixel_read.c | 34 #include "main/bufferobj.h" 78 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); 91 if (!_mesa_is_bufferobj(pack->BufferObj)) {
|
/external/mesa3d/src/mesa/tnl/ |
t_draw.c | 29 #include "main/bufferobj.h" 280 if (inputs[i]->BufferObj->Name) { 281 if (!inputs[i]->BufferObj->Pointer) { 282 bo[*nr_bo] = inputs[i]->BufferObj; 284 ctx->Driver.MapBufferRange(ctx, 0, inputs[i]->BufferObj->Size, 286 inputs[i]->BufferObj); 288 assert(inputs[i]->BufferObj->Pointer); 291 ptr = ADD_POINTERS(inputs[i]->BufferObj->Pointer,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_draw_upload.c | 31 #include "main/bufferobj.h" 409 if (_mesa_is_bufferobj(glarray->BufferObj)) { 411 intel_buffer_object(glarray->BufferObj); 416 if (glarray->BufferObj == other->BufferObj && 797 struct gl_buffer_object *bufferobj; local 806 bufferobj = index_buffer->obj; 810 if (!_mesa_is_bufferobj(bufferobj)) { 812 /* Get new bufferobj, offset: 828 bufferobj); [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_dd.c | 32 #include "main/bufferobj.h" 357 if (_mesa_is_bufferobj(unpack->BufferObj)) { 367 unpack->BufferObj->Size, 369 unpack->BufferObj); 419 if (_mesa_is_bufferobj(unpack->BufferObj)) { 420 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj); 491 if (_mesa_is_bufferobj(unpack->BufferObj)) { 501 unpack->BufferObj->Size, 503 unpack->BufferObj); 552 if (unpack->BufferObj->Name) [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 31 #include "main/bufferobj.h" 47 if (render->mode == VBO && !_mesa_is_bufferobj(a->BufferObj)) 72 imm ? array->BufferObj : NULL, 137 array->Type, array->BufferObj, array->Ptr, 212 if (!_mesa_is_bufferobj(a->BufferObj)) 303 struct gl_buffer_object *obj = array->BufferObj;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom.c | 137 vertDataEdgeFlags = arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj && 138 arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj->Name;
|