Lines Matching defs:memory
78 obj->memory = screen->memobj_create_from_handle(screen,
108 obj->memory = screen->memobj_create_from_handle(screen,
114 * Delete a memory object.
122 if (memObj->memory)
123 screen->memobj_destroy(screen, memObj->memory);
212 /* allocate memory object */
306 lookup_memory_object_err(struct gl_context *ctx, unsigned memory,
309 if (memory == 0) {
310 _mesa_error(ctx, GL_INVALID_VALUE, "%s(memory=0)", func);
314 struct gl_memory_object *memObj = _mesa_lookup_memory_object(ctx, memory);
319 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(no associated memory)",
333 GLsizei depth, GLuint memory, GLuint64 offset,
365 memObj = lookup_memory_object_err(ctx, memory, func);
378 GLuint memory, GLuint64 offset, const char* func)
394 memObj = lookup_memory_object_err(ctx, memory, func);
409 GLsizei depth, GLuint memory, GLuint64 offset,
441 memObj = lookup_memory_object_err(ctx, memory, func);
454 GLuint memory, GLuint64 offset, const char* func)
470 memObj = lookup_memory_object_err(ctx, memory, func);
485 GLuint memory,
489 memory, offset, "glTexStorageMem2DEXT");
499 GLuint memory,
503 fixedSampleLocations, memory, offset,
514 GLuint memory,
518 memory, offset, "glTexStorageMem3DEXT");
529 GLuint memory,
533 depth, fixedSampleLocations, memory, offset,
543 GLuint memory,
547 memory, offset, "glTexureStorageMem2DEXT");
557 GLuint memory,
561 1, fixedSampleLocations, memory, offset,
572 GLuint memory,
576 depth, memory, offset, "glTextureStorageMem3DEXT");
587 GLuint memory,
591 depth, fixedSampleLocations, memory, offset,
600 GLuint memory,
603 texstorage_memory(1, target, levels, internalFormat, width, 1, 1, memory,
612 GLuint memory,
616 memory, offset, "glTextureStorageMem1DEXT");
677 * According to the EXT_external_objects spec, the memory operations must
679 * other party is done modifying the memory.
683 * Following completion of the semaphore wait operation, memory will also be
1044 _mesa_ImportMemoryFdEXT(GLuint memory,
1063 struct gl_memory_object *memObj = _mesa_lookup_memory_object(ctx, memory);
1072 _mesa_ImportMemoryWin32HandleEXT(GLuint memory,
1094 struct gl_memory_object *memObj = _mesa_lookup_memory_object(ctx, memory);
1103 _mesa_ImportMemoryWin32NameEXT(GLuint memory,
1125 struct gl_memory_object *memObj = _mesa_lookup_memory_object(ctx, memory);