mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Merge remote-tracking branch 'origin/release/1.9.x'
This commit is contained in:
commit
82b7728683
@ -33,7 +33,7 @@ class FileSpec:
|
|||||||
if st is None:
|
if st is None:
|
||||||
st = os.stat(pathname.toOsSpecific())
|
st = os.stat(pathname.toOsSpecific())
|
||||||
self.size = st.st_size
|
self.size = st.st_size
|
||||||
self.timestamp = st.st_mtime
|
self.timestamp = int(st.st_mtime)
|
||||||
|
|
||||||
self.readHash(pathname)
|
self.readHash(pathname)
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ class FileSpec:
|
|||||||
self.__correctHash(packageDir, pathname, st, notify)
|
self.__correctHash(packageDir, pathname, st, notify)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if st.st_mtime == self.timestamp:
|
if int(st.st_mtime) == self.timestamp:
|
||||||
# If the size is right and the timestamp is right, the
|
# If the size is right and the timestamp is right, the
|
||||||
# file passes.
|
# file passes.
|
||||||
if notify:
|
if notify:
|
||||||
@ -198,7 +198,7 @@ class FileSpec:
|
|||||||
# The hash is OK. If the timestamp is wrong, change it back
|
# The hash is OK. If the timestamp is wrong, change it back
|
||||||
# to what we expect it to be, so we can quick-verify it
|
# to what we expect it to be, so we can quick-verify it
|
||||||
# successfully next time.
|
# successfully next time.
|
||||||
if st.st_mtime != self.timestamp:
|
if int(st.st_mtime) != self.timestamp:
|
||||||
self.__updateTimestamp(pathname, st)
|
self.__updateTimestamp(pathname, st)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
@ -219,7 +219,7 @@ class FileSpec:
|
|||||||
if notify:
|
if notify:
|
||||||
notify.info("Correcting timestamp of %s to %d (%s)" % (
|
notify.info("Correcting timestamp of %s to %d (%s)" % (
|
||||||
self.filename, st.st_mtime, time.asctime(time.localtime(st.st_mtime))))
|
self.filename, st.st_mtime, time.asctime(time.localtime(st.st_mtime))))
|
||||||
self.timestamp = st.st_mtime
|
self.timestamp = int(st.st_mtime)
|
||||||
|
|
||||||
def checkHash(self, packageDir, pathname, st):
|
def checkHash(self, packageDir, pathname, st):
|
||||||
""" Returns true if the file has the expected md5 hash, false
|
""" Returns true if the file has the expected md5 hash, false
|
||||||
|
@ -4493,8 +4493,6 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
|
|||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
#define GL_ARB_vertex_buffer_object 1
|
#define GL_ARB_vertex_buffer_object 1
|
||||||
typedef ptrdiff_t GLsizeiptrARB;
|
|
||||||
typedef ptrdiff_t GLintptrARB;
|
|
||||||
#define GL_BUFFER_SIZE_ARB 0x8764
|
#define GL_BUFFER_SIZE_ARB 0x8764
|
||||||
#define GL_BUFFER_USAGE_ARB 0x8765
|
#define GL_BUFFER_USAGE_ARB 0x8765
|
||||||
#define GL_ARRAY_BUFFER_ARB 0x8892
|
#define GL_ARRAY_BUFFER_ARB 0x8892
|
||||||
@ -4530,9 +4528,9 @@ typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
|
|||||||
typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
|
typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
|
||||||
typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
|
typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
|
||||||
typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
|
typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
|
||||||
typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
|
typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
|
||||||
typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
|
typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
|
||||||
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
|
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
|
||||||
typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
|
typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
|
||||||
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
|
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
|
||||||
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
|
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
|
||||||
@ -4542,9 +4540,9 @@ GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
|
|||||||
GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
|
GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
|
||||||
GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
|
GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
|
||||||
GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
|
GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
|
||||||
GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
|
GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
|
||||||
GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
|
GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
|
||||||
GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
|
GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
|
||||||
GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
|
GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
|
||||||
GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
|
GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
|
||||||
GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
|
GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
|
||||||
@ -10881,7 +10879,7 @@ GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint
|
|||||||
#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
|
#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
|
||||||
#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
|
#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
|
||||||
typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
|
typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
|
||||||
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
|
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptr offset);
|
||||||
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
|
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
|
||||||
typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
|
typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
|
||||||
typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
|
typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
|
||||||
@ -10894,7 +10892,7 @@ typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_
|
|||||||
typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
|
typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
|
GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
|
||||||
GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
|
GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptr offset);
|
||||||
GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
|
GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
|
||||||
GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
|
GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
|
||||||
GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
|
GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user