This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The GL_TRANSFORM_FEEDBACK_BUFFER buffer binding point may be | |
passed to glBindBuffer, but will not directly affect transform | |
feedback state. Instead, the indexed GL_TRANSFORM_FEEDBACK_BUFFER | |
bindings must be used through a call to glBindBufferBase or | |
glBindBufferRange. This will affect the generic | |
GL_TRANSFORM_FEEDBACK_BUFFER binding. | |
Likewise, the GL_UNIFORM_BUFFER buffer binding point may be used, | |
but does not directly affect uniform buffer | |
state. glBindBufferBase or glBindBufferRange must be used to bind |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 150 | |
out vec4 gl_FragColor | |
#ifdef GL_ES | |
precision mediump float; | |
#define COLOR_PRECISION lowp | |
#else | |
#define COLOR_PRECISION | |
#endif | |
uniform COLOR_PRECISION vec4 uRenderColor; | |
uniform sampler2D uTexture; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------------------------------------------- | |
// PUBLIC | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Truly superior pilots are those who use their superior judgment to avoid those situations where they might have to use their superior skills. | |
— cliché |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (texture() && texture()->SomeMethod()) { | |
texture()->SomeOtherMethod()->FooBar(); | |
} | |
vs | |
Texture* tex = texture(); | |
if (tex && tex->SomeMethod()) { | |
tex->SomeOtherMethod()->FooBar(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D3DCompiler_43.dll!CBaseProgram::DeleteArgsAbove(unsigned int) Unknown | |
D3DCompiler_43.dll!CCompiler::Reset(unsigned int,unsigned int,class CArgument * const *,class CTrackVarMapChanges *) Unknown | |
D3DCompiler_43.dll!CCompiler::ApplySFPSRange(class CInstruction *,unsigned int,class CArgument * const *,bool) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitInstAll(struct ArSourceLocation const *,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,unsigned __int64,enum ArRangeFlags,enum ArBasicKind) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitBinaryInst(struct ArSourceLocation const *,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,enum ArRangeFlags) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitDot(struct ArSourceLocation const *,unsigned int,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,enum ArRangeFlags) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitIntrinsic(class CNode *,class CArgument * *,bool) Unknown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
djg in ~/Mozilla/hg/mozilla-central | |
$ export HGMERGE=p4merge | |
djg in ~/Mozilla/hg/mozilla-central | |
$ mhg qpush | |
applying bug-942506-refactor-ApplyFilterToBoundTexture | |
patching file gfx/gl/GLContext.cpp | |
Hunk #1 FAILED at 1325 | |
1 out of 1 hunks FAILED -- saving rejects to file gfx/gl/GLContext.cpp.rej | |
patching file gfx/gl/GLContextProviderGLX.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function uncompressETC2Block(destBuffer, destX, destY, destWidth, src) { | |
'use strict'; | |
var xx, yy, basecols; | |
function extend_4to8bits(r, g, b) { | |
return [ | |
(r & 0xf0) | ((r >> 4) & 0x0f), | |
(g & 0xf0) | ((g >> 4) & 0x0f), | |
(b & 0xf0) | ((b >> 4) & 0x0f), | |
255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function base_colors(src, mode) { | |
var col_1, col_2; | |
function compare(c1, c2) { | |
return (c1[0] * 16384 + c1[1] * 256 + c1[2]) >= | |
(c2[0] * 16384 + c2[1] * 256 + c2[2]); | |
} | |
if (mode === 'I') { | |
col_1 = extend_4to8bits(src[7], src[6], src[5]), | |
col_2 = extend_4to8bits(src[7] << 4, src[6] << 4, src[5] << 4) | |
return [ col_1, col_2 ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP3b for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Labels are 4 chars. Labels are stores in a symbol table stored in | |
# BSS section. The labels form a list of 32-bit label name and address | |
# pairs. | |
# | |
# Errors are signaled by return code: | |
# 1: Syntax Error |